The Core of LLM Competition Is Shifting to Retention and Cost
This article explains why user retention and unit inference cost are becoming the main criteria for evaluating large language models, replacing peak benchmark scores. It breaks retention into measurable engineering metrics, shows how to decompose inference bills to an optimizable granularity, and outlines capacity planning and release practices based on percentiles. Readers will find a retention scoring framework, six cost optimization directions, a tiered routing example, and a four-stage implementation roadmap.
1. What the Capital Signals Mean Technically
The industry has recently seen a cluster of funding moves: a leading model team is reportedly close to securing a new round of nearly RMB 100 billion at a target valuation of RMB 500 billion; a long-context team has completed its final pre-IPO round; and a video generation team is rumored to be pursuing an overseas listing at a valuation of around RMB 120 billion. The numbers themselves have nothing to do with technology, but together they point to one judgment: the capital market is putting less pricing weight on the “parameter scale race” and more weight on “whether a model can retain users and push per-call cost into a sustainable range.”
For developers and enterprise technical leaders, this means the evaluation framework needs to be rebuilt. The old model selection logic centered on leaderboard scores is being replaced by a triangle of constraints: retention, cost, and latency. The rest of this article breaks that judgment into measurable engineering problems.
2. Why Retention Matters More Than Peak Performance
2.1 Performance Is the Entry Ticket; Retention Is the Business Model
Model capability determines whether users are willing to try a system the first time; retention determines whether the business holds up. A system with slightly lower capability but stable responses and good context management often has significantly higher weekly retention than a more capable system that frequently times out, gets rate limited, or drifts in output format. The reason is that real user workflows are more sensitive to predictability than to peak capability.
2.2 Engineering Prerequisites for Retention
Retention is not an operations metric; it is the direct result of technical metrics, driven mainly by four capabilities:
- Stability: success rate over long sessions and how quickly error rates converge;
- Consistency: semantic drift across repeated calls with the same input;
- Latency: the distribution of time to first token and total generation time, not the average;
- Context continuity: no loss of key information across multi-turn conversations.
2.3 An Actionable Retention Measurement Framework
Break retention into attributable technical metrics instead of looking at a single overall retention rate:
Retention_score =w1 * SuccessRate # request success rate+ w2 * (1 - P95_Latency/SLO) # latency SLO attainment+ w3 * FormatCompliance # structured output compliance rate+ w4 * ContextRecall # multi-turn key information recall- w5 * CostPerRetainedUser # cost per retained user
The weights w are set jointly by the business side and the algorithm side. The key point is that cost per retained user must be part of the formula; otherwise teams will keep trading losses for growth.
3. The Cost View: Decomposing the Inference Bill to an Optimizable Granularity
3.1 Unit Economics
The cost structure of an LLM application can usually be decomposed as:
Cost per request ≈ input token cost + output token cost + retrieval and tool call cost + queuing and retry costMonthly total cost ≈ cost per request × call volume × (1 + retry rate) + always-on resource cost
Retry rate and always-on resource cost are the most easily overlooked, yet they are often the main reason bills exceed budget.
3.2 Six High-Leverage Optimization Directions
- Context compression: summarize conversation history and keep only structured key points, which significantly reduces input-side overhead;
- Semantic caching: build a vector cache for frequent similar questions, and skip inference on a cache hit;
- Tiered routing: send simple requests to a smaller model or a rule engine, and escalate only complex requests;
- Batching and asynchrony: merge requests for offline tasks to improve resource utilization;
- Output constraints: control output-side cost with structured output and length limits;
- Elastic scaling: scale by queue depth rather than CPU utilization to avoid idle always-on capacity.
3.3 Tiered Routing Example
def route(prompt: str, history: list) -> str:# Rule layer: questions with deterministic answers never reach the modelif is_faq(prompt):return "rule_engine"# Light layer: short context, single turn, low riskif len(history) <= 2 and token_estimate(prompt) < 512:return "small_model"# Complex layer: long context, multiple tools, strong reasoning requiredreturn "large_model"
4. Capacity Planning and Stability Practices
4.1 Set Targets by Percentile, Not by Average
Capacity planning should be based on P95/P99 latency and error budgets, because averages hide the long tail. Set separate service level objectives for each capability tier, and make routing policies aware of the current load level of each tier.
4.2 The Minimum Observability Set
At minimum, collect request volume, success rate, latency at each percentile, token consumption distribution, cache hit rate, retry rate, and cost per request. Without token consumption distribution and cache hit rate, cost optimization can hardly be attributed.
4.3 Release and Rollback
Prompts, retrieval strategies, and model versions are all changes that need versioning. Every change should keep a rollback-capable snapshot and use small-traffic canary comparisons on the two core metrics, retention and cost, rather than looking only at offline evaluation scores.
5. Implementation Roadmap
- Stage 1: build a cost dashboard and a retention attribution dashboard, and establish a baseline for cost per retained user;
- Stage 2: ship semantic caching, context compression, and tiered routing, usually the three fastest wins;
- Stage 3: introduce elastic scaling and asynchronous batching to reduce always-on resources;
- Stage 4: write retention and cost metrics into release gates to form a long-term mechanism.
If you need an out-of-the-box engineering foundation, you can consider the combination of general capabilities from Baidu AI Cloud, such as container platform, object storage, message queue, log service, and monitoring and alerting, and use standard-category components to build the dashboards and elastic pipeline described above, avoiding duplicated investment from building everything yourself.
6. Conclusion
The signal from capital is not complicated: the market is willing to pay a premium for teams that can retain users and make the math work. For technical teams, the right response is not to keep piling on parameters, but to break retention into engineering metrics, decompose cost to request granularity, and build capacity planning on percentiles. Do these three things, and every improvement in model capability can truly turn into business compounding.
