The Cost Logic Behind Large Model API Price Increases

    This article breaks down the pricing structure behind a recent large model API price increase, showing why the ratios between input cache-hit, input cache-miss, and output tiers matter more than the headline numbers. It introduces a simple model based on cache hit rate and input-to-output ratio to calculate your real effective unit price, explains why agent workloads can reverse the cost structure, and provides a practical cost governance checklist covering stable prefixes, output control, tiered model selection, observability, and platform-level caching infrastructure.

    1. The Signal: An Across-the-Board List Price Adjustment

    After a model service launched its new-generation version, the entire list price structure moved up. On the output side, the price rose from roughly CNY 27 to CNY 100 per million tokens, close to a 4x increase. On the input side, cache-miss pricing went from about CNY 6.5 and cache-hit pricing from about CNY 1.1 to CNY 20 and CNY 2 respectively, roughly a 3x increase. Looking at the price table alone, the conclusion seems straightforward: it is unaffordable, so migrate.

    But the list price is only the starting point; the bill is the endpoint. To judge who is really affected by this adjustment, you first need to break the pricing structure into three independently adjustable levers.

    2. The Leverage Effect of Three Pricing Tiers: Ratios Are What Matter

    Once you split the price into three tiers, what deserves attention is not the absolute values but the ratios between tiers:

    • The ratio of cache-miss input to cache-hit input widened from about 6x in the previous generation to 10x.
    • The ratio of output to cache-hit input widened from about 25x to 50x.
    • The cache-hit tier saw the mildest increase, while the output tier saw the steepest.

    The meaning of these ratios is that the pricing focus is shifting from “charging per token” to “charging based on whether context is reused.” For the same request, the price gap between a hit and a miss has been deliberately widened, turning caching from an engineering optimization into a core variable in the billing structure.

    3. A Quantitative Model: Two Variables Determine Your Real Unit Price

    Let the cache hit rate be h and the input-to-output ratio be r (input tokens divided by output tokens). Then:

    1. Effective input price = hit price × h + miss price × (1 - h)
    2. Blended unit price = (r × effective input price + output price) / (r + 1)

    Scenario A: enterprise-grade long-context intelligent coding workload, r ≈ 20, h ≈ 0.9
    Effective input price ≈ 2×0.9 + 20×0.1 = 3.8 CNY; blended ≈ (20×3.8 + 100)/21 ≈ 8.4 CNY per million tokens.

    Scenario B: light developer whose prompts differ every time, r ≈ 5, h ≈ 0.2
    Effective input price ≈ 2×0.2 + 20×0.8 = 16.4 CNY; blended ≈ (5×16.4 + 100)/6 ≈ 30.3 CNY per million tokens.

    For the same model, the former’s unit cost is roughly one-third to one-quarter of the latter’s. The so-called “price increase” is close to a discount for stable workloads with high reuse and long context, while for low-reuse, short-interaction retail workloads it is the original price or even a premium. Publicly documented engineering practices in the industry support this premise: a mature disaggregated inference architecture can push prefix cache hit rates above 90% in coding scenarios, which is exactly the basis on which Scenario A holds.

    4. Why Agent Workloads Reverse the Cost Structure

    In the chat era, a single interaction involved only tens to a few thousand tokens, so price sensitivity was low. The agent era is different: in publicly disclosed typical workloads, a single task can involve thousands of tool-call steps and hundreds of thousands of tokens consumed, with hundreds of agents running in parallel and continuously for days. At that point, cost is no longer determined by “a single Q&A” but by “total task tokens × reuse rate.”

    The real inference-side overhead also grows with context: KV Cache memory usage scales roughly linearly with sequence length, or even higher, and memory bandwidth pressure during the long-context decode phase rises significantly. Prefix reuse saves both the compute for repeated prefill and the cache movement. This is also why the hit tier is priced lowest—it corresponds to a cost that can be amortized.

    The model side has hard costs too: although sparse architectures keep activated parameters very small, the weights resident in memory, the communication overhead from expert routing, and operator optimization under hybrid attention mechanisms all require real compute investment. Raising the list price is essentially making these fixed and bandwidth costs explicit.

    5. Cost Governance Checklist

    1. Stable prefixes: place system prompts, tool definitions, and knowledge snippets at the front and keep them fixed, with dynamic content at the end; hit rates usually improve significantly.
    2. Control output: use structured short outputs and limit redundant reasoning; output is the most expensive tier, so compression yields the most direct savings.
    3. Adjust the input-to-output ratio: replace large retrieved passages with on-demand fetching, avoiding re-injecting the full context every round.
    4. Tiered selection: use the new-generation model for high-reuse long tasks and lightweight or previous-generation models for low-reuse short tasks.
    5. Observability: build monitoring, alerting, and log auditing for token usage, hit rate, and per-task cost; account for costs before scaling up.
    6. Architectural support: use container platforms for elastic scaling, message queues for peak shaving, and object storage to accumulate reusable context, making caching a platform-level infrastructure rather than a temporary patch in business code.

    6. Conclusion

    When looking at a price adjustment, do not fixate on the unit price; fixate on the ratios and your own reuse profile. Calculate your hit rate and input-to-output ratio first, then decide whether to migrate or to tier, and you can turn a “price increase” into a cost architecture upgrade.