How to Rationally Evaluate a 5x LLM API Price Increase

    A practical framework for judging whether a 5x jump in LLM API unit prices actually raises your bill. Learn how input, output, and cache-hit pricing work, why cost per completed task matters more than per-token rates, how subscription quota leverage affects real spend, and which optimization practices and evaluation criteria to apply before committing to a model.

    1. The Bottom Line: A 5x Unit Price Does Not Mean a 5x Bill

    The industry recently saw a typical price adjustment: a new-generation model reached 100 RMB per million output tokens, 20 RMB per million input tokens, and 1 RMB per million cache-hit tokens — exactly 5x the previous generation. The community’s first reaction is usually “too expensive,” but once you work through the actual bill, the conclusion is often the opposite.

    The reason is that the real cost of an API is never determined by unit price alone. Four variables decide it together:

    1. Total cost = Σ(input tokens × input price + output tokens × output price + cache-hit tokens × cache price)
    2. Cost per task = Total cost / Number of completed tasks
    3. Effective leverage = Usable quota in the plan / Plan price

    Unit price is only a coefficient in the formula. What actually determines the magnitude of the bill is the token consumption structure, the cache hit rate, and the quota leverage a plan provides. Comparing unit prices while ignoring the other three is the most common misjudgment during model selection.

    2. Breaking Down the Billing Structure: The Three-Tier Logic of Input, Output, and Cache

    Mainstream LLM APIs generally use three-tier billing. Understanding the pricing motivation behind each tier is what lets you judge whether an increase is reasonable.

    • Input price (20 RMB per million tokens): corresponds to the compute consumed by a single forward prefill pass. Compute scales roughly linearly with sequence length, so this is the cheapest tier.
    • Output price (100 RMB per million tokens): autoregressive decoding cannot be parallelized. Every token requires re-reading all weights and the KV cache, which puts heavy pressure on memory bandwidth and keeps GPU utilization low. That is why the industry typically sets the output price at 3–5x the input price. A 5x ratio sits at the upper end of the common range, but it is not abnormal.
    • Cache-hit price (1 RMB per million tokens): when a prefix cache is hit, no recomputation is needed and only minor storage and scheduling overhead remains, so the price can drop to 1/20 of the input price.

    Here is the key implication: the 20x gap between the cache-hit price and the input price is the largest optimization lever in the entire cost model. An application that reliably reuses system prompts, tool definitions, and long document prefixes can cut input-side costs by an order of magnitude.

    3. Stop Comparing Unit Prices, Compare Cost per Task

    The most valuable observation in the original discussion is switching the comparison basis from unit price to “average consumption per completed task.” That is the only engineering-meaningful basis.

    The same model can have drastically different token structures across task types:

    Task type Input/output ratio Cost sensitivity
    Short Q&A, copywriting roughly 1:1 Output price
    Long-document summarization, codebase understanding roughly 20:1 Input price and cache hits
    Multi-step agent tasks Input accumulates and amplifies Context reuse rate

    Agent tasks are amplifiers: every round of tool calling re-sends the full history to the model, so the input at round n is roughly n times a single round. This is why you can genuinely see “average consumption per task close to the previous flagship” — the new model has a higher unit price, but it reasons more accurately, takes fewer steps, and needs fewer retries, so total tokens end up flat.

    The recommended approach is to turn evaluation into a reproducible benchmark script:

    1. # Illustrative: cost per task calculation
    2. def cost_per_task(in_tok, out_tok, cached_tok, price):
    3. return (in_tok * price["in"]
    4. + out_tok * price["out"]
    5. + cached_tok * price["cache"]) / 1_000_000
    6. # Run the same set of real business samples 200 times each, then take the mean and P95
    7. # Metrics to watch: cost per task, cache hit rate, average interaction rounds, retry rate

    4. Plan Leverage: The Overlooked Second Price Dimension

    The analysis of plan quotas touches the core of the commercial model. Dividing the subscription price by the usable quota gives you “how much actual usage one unit of subscription money buys,” and this leverage multiple often fluctuates between 10x and 20x — far larger than differences in unit price itself.

    • If a 199 RMB tier corresponds to only about 1,200–2,800 RMB of actual usage, leverage is roughly 6–14x.
    • If a 99 RMB tier can be pushed to 2,000–5,000 RMB of usage, and higher tiers to tens of thousands of RMB, leverage rises above 20x — which is what it takes to compete head-on with overseas offerings.

    The practical implication for developers: calculate leverage first, then unit price. You must also account for hidden costs — overage billing rules, queuing caused by rate limits, cache TTL and storage fees — all of which erode nominal leverage.

    5. A Cost Optimization Checklist

    1. Stabilize the prefix: concatenate system prompts, tool schemas, and few-shot examples in a fixed order and place them at the very front to maximize cache hits; avoid inserting volatile content such as timestamps at the head.
    2. Slim down the context: in retrieval-augmented scenarios, cap the number of retrieved chunks and their length, compress with a reranking model before sending, and use rolling summaries for conversation history instead of concatenating everything.
    3. Constrain the output: use structured output and explicit length limits to suppress redundant decoding — output tokens are the most expensive part.
    4. Tiered routing: send simple requests to a smaller model or a rules engine, and escalate to the LLM only for complex requests; this can significantly lower average cost.
    5. Observability: instrument input, output, and cache tokens separately, build a cost dashboard with logging and monitoring/alerting, and set budget threshold alerts.
    6. Architectural elasticity: deploy inference services in containers on a container platform and scale elastically by queue depth; make long tasks asynchronous and use a message queue to smooth peaks, avoiding paying for peak capacity year-round.

    6. How to Judge Whether a Price Increase Is Reasonable

    Three actionable criteria:

    • Whether the capability gain is quantifiable: if the new model shows stable improvements on both public benchmarks and your own business set, and reduces task rounds and manual rework, the increase can be offset by cost per task.
    • Whether cache and plan terms improve in step: raising only the unit price without widening the scope of cache hits or the quota leverage is the kind of increase that genuinely harms developers.
    • Whether migration cost is controllable: abstract a unified model invocation layer, make prompts, parameters, and billing basis configurable, and retain the ability to switch providers so you are not locked in by a single pricing strategy.

    In short, “5x” is a fact about unit price, not a conclusion about the bill. What developers really need to build is the ability to decompose price into four measurable metrics — token structure, cache hit rate, cost per task, and plan leverage — and to keep validating them against real business samples. In model service practice on platforms such as Baidu AI Cloud, this same cost framework also serves as the foundation for capacity planning and budget governance.