LLM API Pricing Increases: A Technical Breakdown of Cost Structure and Token Economics

    This article explains why a recent LLM API price increase is better understood as a shift in pricing structure rather than a simple rate hike. It breaks down three-tier token billing (input, output, and cache hits), shows how reasoning models move the cost center from input to output, and discusses the shift in billing units from per-million tokens to per-task cost. It also covers the combined effect of open weights and high list prices, and ends with a practical cost-governance checklist covering cached prefixes, reasoning budgets, task-level accounting, tiered routing, and observability.

    1. The Trigger: A Price Change That Sparked a Cost-Structure Debate

    A recent release of an open-weight LLM raised its API list price to several times that of the previous generation: output reached roughly 100 RMB per million tokens, input 20 RMB, and cache hits 1 RMB. In the domestic Chinese market this looked abrupt, since the prevailing strategy over the past two years had been continuous price cuts, trading low prices for call volume. Judging whether the adjustment is reasonable requires more than looking at the numbers; it requires looking at the billing structure, the migration of the cost center, and the change in billing unit.

    One common misunderstanding needs clearing up first: list price is not the same as realized revenue. Promotional discounts are a business action, while the list price is the provider’s valuation of its own capability. When a major overseas model’s promotional period ends and it returns to standard pricing, the relationship between actual spending on the two reverses—the effective unit price during the promotion may be lower than the new list price. Any price comparison must therefore be normalized to “standard price vs. standard price” or “realized price vs. realized price”; otherwise the conclusion is invalid.

    2. Deconstructing the Billing Structure: What Three-Tier Pricing Means Technically

    Mainstream LLM APIs typically use three-tier billing: input tokens, output tokens, and cache-hit tokens. The price differences are not arbitrary; they map to the real consumption characteristics of three types of resources in an inference cluster.

    • Input side: requires full prefill computation; compute consumption scales roughly linearly with input length, but can be amortized through batching.
    • Output side: autoregressive decoding generates token by token, cannot be effectively amortized by batching, and the KV cache keeps occupying GPU memory as the sequence grows.
    • Cache-hit side: the prefix portion reuses a matched KV cache, skipping repeated prefill and leaving only minor verification and concatenation overhead, so it can be priced well below the input side.

    Understanding this explains why “output costs more than input” is a common feature of the reasoning-model era rather than a pricing mistake.

    1. Cost per request ≈ input_tokens × P_in
    2. + output_tokens × P_out
    3. + (1 - hit_rate) × input_tokens × (P_in - P_cache)

    In this formula, a higher hit rate pushes actual spending toward the cache price. That is why, in scenarios with long system prompts, fixed tool descriptions, and stable few-shot templates, the cache-hit price often matters more than the list price itself.

    3. The Cost Center Slides from Input to Output

    In traditional conversational calls, input is often much longer than output, so cost is dominated by the input side. Reasoning models change that ratio: the model generates a large amount of intermediate thinking before producing an answer, and all of it is billed as output.

    This leads to two direct consequences:

    1. The bill grows faster than the list price. If the list price rises several-fold and thinking length increases at the same time, the actual bill increase is amplified.
    2. The reasoning tier becomes a cost switch. If a model offers only one tier at maximum reasoning intensity, callers lose the ability to “dial down on demand,” and cost elasticity gets worse.

    So evaluating a reasoning model’s price requires looking at three things at once: the output unit price, whether thinking content is billed, and whether reasoning intensity is adjustable. Missing any one of them leaves the cost model incomplete.

    4. The Billing Unit Migrates: From per Million Tokens to per Task

    As the consuming entity shifts from “humans chatting” to “agents executing automatically,” the billing unit migrates too. Humans paying per token are price-sensitive; machines paying per task only care whether the task is completed. The industry has already seen “average cost per task” used as a horizontal comparison metric: for the same batch of tasks, per-task costs across different models may fall in the same order of magnitude, or differ by one to two orders of magnitude.

    This explains why high-priced models still have customers: in machine-to-machine scenarios where task success rate is the core metric, per-task cost is closer to the real budget than unit price. Conversely, within the open-weight camp, per-task cost for similar tasks can be as low as one-tenth or even a few hundredths of that, so price stratification is very pronounced.

    5. The Combined Effect of Open Weights and a High List Price

    “Open weights + high list price” is an uncommon combination whose techno-economic logic deserves separate explanation:

    • Once weights are open, third-party inference providers offer low-cost service on the same weights, so the official list price’s effective window is short.
    • During that window, the official high price serves a “value anchoring” function, carving a price mark for the model’s capability first.
    • After the window closes, many low-cost, homogeneous services appear in the market, and the official list price’s continued symbolic meaning outweighs its transactional meaning.

    Practical advice for users: treat the official list price as a reference for capability stratification, treat third-party realized prices as the budget basis, and keep the inference backend replaceable in the architecture to avoid being locked in by a single supplier.

    6. A Practical Checklist for Cost Governance

    Whichever price tier you choose, the cost-governance measures are universal:

    1. Structured cached prefixes: put stable system instructions, tool definitions, and domain knowledge at the very front of the request to maximize cache hits.
    2. Control the reasoning budget: prefer models or parameters that support adjustable reasoning intensity, and allocate it by task difficulty.
    3. Task-level accounting: evaluate with the dual metrics of “cost per task” and “task success rate” rather than unit price alone.
    4. Tiered routing: send simple tasks to low-cost models and complex tasks to high-capability models.
    5. Observability: use general capabilities such as logging services and monitoring/alerting from Baidu AI Cloud to build dashboards and alerts for token consumption, cache hit rate, and cost per task.
    1. # Example: task-level cost accounting and tiered routing
    2. def route_and_account(task, models):
    3. tier = classify(task) # simple / complex
    4. model = models["cheap"] if tier == "simple" else models["strong"]
    5. result = model.run(task)
    6. cost = (result.in_tokens * model.p_in
    7. + result.out_tokens * model.p_out
    8. + result.cached_tokens * model.p_cache)
    9. metrics.emit(task_id=task.id, tier=tier, cost=cost,
    10. success=result.success)
    11. return result

    7. Conclusion

    The essence of this price adjustment is not a simple “price hike” but a simultaneous change of coordinate systems for the billing unit, the cost center, and the value anchor. For developers, the right response is not to argue over whether the list price is high or low, but to build a task-level cost model and use cache hit rate, reasoning budgets, and tiered routing to push actual spending into a range that matches business value.