LLM API Price Hikes Explained: Technical Reasons and Cost Optimization Strategies
A leading LLM provider recently raised API prices significantly—output tokens jumped from ~27 to 100 RMB per million, while cache-hit pricing rose only modestly. This article breaks down the technical and business logic behind the new pricing structure, explains why output tokens cost the most, and offers practical engineering strategies—prompt caching, output compression, model routing, and cost observability—to control spending at scale.
How to Think About the Major Price Increase in Next-Generation LLM Services
A leading LLM provider recently released a new generation of its model service, and the API pricing has risen noticeably compared to the previous generation: output prices went from roughly 27 RMB to 100 RMB per million tokens, uncached input prices rose from 6.5 to 20 RMB, and cache-hit input prices moved from 1.1 to 2 RMB. The news sparked wide discussion in the developer community. Setting aside emotional reactions, this article breaks down the price change from both technical and business perspectives, and offers practical, engineering-level strategies for controlling costs.
1. Look at the Data First: The Increase Is Not Uniform
Placing the two pricing tiers side by side reveals an easily overlooked fact: the three billing categories did not increase by the same margin.
- Output price: ~27 → 100 RMB per million tokens, a nearly 4x increase—the steepest of all;
- Uncached input price: 6.5 → 20 RMB, roughly 3x;
- Cache-hit input price: 1.1 → 2 RMB, under 2x—the mildest increase.
More interestingly, the relative ratios between tiers have changed. In the previous generation, the uncached input price was about 6x the cache-hit price; in the new generation, that gap widened to 10x. The ratio of output price to cache-hit price jumped from roughly 25x to 50x. In other words, the pricing structure itself sends a clear signal: the provider is using price as a lever to strongly encourage cache usage, while charging a much higher premium on output tokens.
2. Why the Output Tier Increased the Most
From a technical cost-structure standpoint, this direction has internal logic. LLM inference is typically divided into two phases: prefill and decode.
- Input side (prefill): computation is highly parallel. GPUs can process hundreds or thousands of input tokens in a single forward pass, so unit cost is relatively low. With prefix cache hits, most intermediate attention results can be reused directly, reducing cost further.
- Output side (decode): generation is autoregressive. Every token produced requires a full forward pass that cannot be parallelized, and the process is heavily constrained by memory bandwidth. As a result, the marginal cost of an output token is inherently far higher than that of an input token.
New-generation models have generally strengthened reasoning capabilities, long context, and tool-calling pipelines, which increases model scale or inference-time computation (for example, longer internal reasoning chains). These incremental costs land primarily in the decode phase. The steep output price increase fundamentally reflects that inference-time compute is replacing parameter count as the new cost driver.
3. The Widening Cache Ratio: A Strong Architectural Signal
With the uncached-to-cached input ratio expanding from 6x to 10x, and the output-to-cached ratio reaching 50x, whether a request hits the cache now has a dramatically amplified impact on the final bill.
For developers, this effectively forces two architectural changes:
- Maximize prefix reuse. Place stable content—system prompts, tool definitions, few-shot examples—at the very beginning of the prompt, and put variable user input at the end to ensure a high prefix cache hit rate. Caching mechanisms are typically prefix-based: any small change to the prefix invalidates everything after it.
- Control output length. With output tokens priced 50x above cached input, verbose output becomes the biggest line item on the bill. Use explicit format constraints, structured output, and segmented generation to eliminate unnecessary output tokens.
An illustrative prompt organization:
[Stable prefix: role definition + tool specs + output rules] ← Keep unchanged to hit cache[Conversation history summary] ← Compress periodically to avoid repeat billing[Current user input] ← Place at the end, minimize variable portion
4. Engineering-Side Cost Modeling and Governance Recommendations
In response to the price increase, teams should act systematically in the following areas:
1. Re-calculate unit business costs. Take a typical request as an example: assume 20,000 input tokens (80% cache hit) and 2,000 output tokens. Under the new pricing, input costs roughly 20000×20%×20 + 20000×80%×2 (RMB per million), and output costs roughly 2000×100 (RMB per million), totaling about 0.31 RMB per request. Output accounts for about two-thirds of that. Clearly, optimizing output length yields far more savings than optimizing input.
2. Build token-level observability. Log input, output, and cached token counts for every request in the call chain, aggregate by business scenario, and identify the highest-consuming call sites. Combined with general-purpose logging services and monitoring/alerting capabilities, you can set threshold alerts for abnormal consumption.
3. Adopt a tiered model strategy. Not every task needs the flagship model. Lightweight tasks such as intent classification, format conversion, and simple Q&A can be routed to cheaper smaller models, reserving the high-end model for complex reasoning. In typical scenarios this can reduce overall spending by more than 30%.
4. Evaluate total cost of ownership, not per-token price. If the new model significantly improves task success rates and first-pass accuracy—reducing retries and manual intervention—then a higher unit price does not necessarily mean higher total cost. Use “cost per successfully completed task” as the core metric for A/B evaluation.
5. Conclusion
On the surface, this adjustment is a “price hike,” but in substance it marks a shift in industry pricing logic: from competing on per-token price toward pricing based on the true cost of inference-time compute, using extreme ratio structures to push users toward cache and output optimization. For developers, complaining about prices has limited value. The more pragmatic approach is to re-examine your prompt architecture, model routing strategy, and cost measurement practices. As LLM applications enter large-scale deployment, cost engineering itself is becoming a core competency.
