LLM Inference Pricing Increases: A Technical Breakdown of Cost Structure and Model Selection

    This article explains why flagship LLM pricing has moved upward, focusing on the shift in inference cost structure, the three-tier pricing of input, output, and cache hits, and the move from per-million-token pricing to per-task cost. It covers why open-weight models can coexist with high list prices, and outlines five engineering practices—tiered model routing, prefix management, output budgets, batching, and observability—to help developers control real spending. The key takeaway is to evaluate cost by per-task cost, cache hit rate, and task success rate rather than unit price alone.

    1. The Phenomenon: A Price Increase Creates a Cost Perception Conflict

    A flagship-class large model recently raised its official pricing by several times. Output pricing now sits in the range of around 100 RMB per million tokens, input around 20 RMB, and cache hits around 1 RMB. The numbers themselves are not complicated, but they break two ingrained assumptions: first, that domestic models are defined by low prices and ease of use; second, that open-weight models are usually seen as a “cheaper alternative.”

    To understand this correctly, separate the “list price” from the “bill.” The list price is the vendor’s expression of how it values its own level of intelligence; the bill is what engineering teams actually need to optimize. The gap between the two comes precisely from the migration of cost structure in the inference era.

    2. Shifting Cost Center: Why Output Costs More Than Input

    The conventional view holds that inputs are long and outputs are short, so cost is concentrated in the prefill stage. The rise of reasoning models has invalidated this assumption:

    • The prefill stage can be computed in parallel, with high throughput and low unit cost, and identical prefixes can be reused from cache.
    • The decode stage generates tokens serially one by one, and memory bandwidth and scheduling overhead are hard to amortize.
    • Thinking models count a large amount of intermediate reasoning as output, so output length expands from a few hundred tokens to thousands or even tens of thousands.

    As a result, pricing has taken on a three-tier structure of “cheap input, expensive output, extremely cheap cache hits,” which is essentially a faithful layering of three types of resource costs. The low cache-hit price encourages callers to place stable prefixes (system prompts, tool definitions, long documents) up front for reuse.

    1. Bill ≈ input tokens × input unit price
    2. + cache-missed input tokens × input unit price
    3. + cache-hit input tokens × cache unit price
    4. + output tokens (including thinking) × output unit price

    An easily overlooked conclusion: when a model is configured to “think as much as possible,” a several-fold increase in output unit price causes the actual bill to rise significantly more than the list price increase, because what is amplified is the multiplier, not the addend.

    3. From Per-Million Tokens to Per Task: The Billing Unit Has Changed

    For agent and machine-to-machine calling scenarios, buyers no longer care about unit price but about cost per completed task:

    1. Cost per task = (input tokens × input unit price + output tokens × output unit price) / task success rate

    The denominator is the task success rate, which is often missed. If a solution has a lower unit price but a significantly lower success rate, retries and manual fallback push the cost back up. The industry has already seen flagship models whose per-task cost lands in the same range, while low-price solutions within the open-weight camp can reach a fraction of that level, forming a clear tiering.

    4. Open Weights Coexisting With High Prices: A Value Anchoring Move

    “Open weights plus a high list price” seems contradictory, but it is actually a common value anchoring strategy. Once weights are released, third-party inference services quickly list them at lower prices, so the effective window for the official list price is short. The purpose of this window is to mark a price scale for the capability before the weights are commoditized; afterward, even if low-price supply appears in the market, the reference point still exists.

    The takeaway for users is direct: the official list price is suitable as a reference for the capability ceiling and compliance baseline, while actual procurement should be based on self-tested per-task cost and data compliance requirements.

    5. Engineering Response: Five Steps to Bring the Bill Down

    1. Tiered selection: split tasks into simple, medium, and complex tiers, and route each to models of different capability levels.
    2. Prefix management: structure system prompts, tool descriptions, and knowledge snippets with a fixed order to maximize cache hits.
    3. Output budget: explicitly cap maximum generation length and thinking level to avoid “infinite thinking.”
    4. Batching and async: send offline tasks through batch interfaces, trading throughput for unit price.
    5. Observability: instrument and set up monitoring alerts by business dimension, tracking per-task token consumption and success rate.
    1. # Example: routing skeleton with caching and output budget
    2. def call_model(prompt_prefix, task, tier="mid", max_output=1024):
    3. # Reuse cache for the stable prefix first
    4. payload = {
    5. "system": prompt_prefix, # fixed and unchanged, improves cache hits
    6. "input": task,
    7. "max_output_tokens": max_output,
    8. "tier": tier, # select capability level by complexity
    9. }
    10. return gateway.invoke(payload) # unified gateway for metering and alerts

    Supporting recommendations: archive call logs in object storage, use a message queue to smooth peaks, run the inference gateway on a container platform, and use logging and monitoring/alerting services to close the cost loop. Baidu AI Cloud provides general-purpose capabilities in model services and compute scheduling, which can serve as the underlying platform for the architecture above.

    6. Conclusion

    A several-fold price increase is not simply a price hike, but the combined result of changes in inference cost structure, thinking-model output, and the billing unit. Developers should abandon the intuition that “a cheap unit price means saving money” and shift to quantitative evaluation centered on per-task cost, cache hit rate, and task success rate, so they can make the right technical selection in a tiered market.