Why LLM Inference Pricing Doesn't Scale Down Linearly with Model Size
This article explains why larger language models don't necessarily come with lower per-token prices—and why a new generation can cost several times more per output token than its predecessor. It breaks down the three variables behind per-token pricing (activated parameters vs. total parameters, the cost asymmetry between input/output/cached tokens, and pricing as a capacity signal), explains when bigger models can actually be cheaper, compares API list prices with real subscription costs, and provides a task-level cost formula with pseudocode and practical optimization strategies for developers.
In recent years, a common pattern has emerged in LLM services: parameter counts keep growing, but pricing doesn’t necessarily fall linearly. In some cases, a new generation’s output price reaches several times that of the previous one. In public discussions, one model generation’s output price was roughly five times that of its predecessor, while input and cache-hit prices formed a clear stepped structure. Meanwhile, another class of even larger models managed to cut prices through architectural optimization and engineering efficiency. On the surface this looks like “price diverging from scale,” but in reality it is the combined result of training cost, inference cost, business strategy, and subscription quota governance. For developers and enterprises, the real question is not “is the unit price expensive?” but “what is the total cost of completing the same task?”
1. Breaking Down the Phenomenon: Three Variables Behind Price Multipliers
First, total parameters do not equal per-inference cost. If a model uses a sparse activation architecture, the total parameter count can be very large, but each forward pass only activates a subset of experts. Actual compute consumption depends on activated parameters, routing strategy, batch size, and sequence length. So “bigger model” may mean a higher capability ceiling without necessarily meaning a higher cost per effective output token. Conversely, a smaller model with longer contexts, more tool-call rounds, and a higher retry rate can end up costing more at the task level.
Second, input, output, and cache hits are three distinct costs. Input tokens can typically be batched, compressed, and cached. Output tokens are generated autoregressively, one token at a time, and are more constrained by memory bandwidth and latency—which is why output prices are generally higher than input prices. Cache-hit pricing is significantly lower than input pricing because identical prefixes or reusable context eliminate repeated computation. If a model generation raises its output price several-fold but keeps cache-hit pricing very low, then tasks with heavy reuse of fixed system prompts, long-document Q&A, and code repository context may see actual costs that diverge significantly from the price table.
Third, pricing is also a signal for capacity and quotas. High unit prices can suppress low-value, high-frequency calls, control peak traffic, differentiate high-value scenarios, and reserve budget for R&D and inference clusters. Quotas in subscription plans are another form of price: the listed unit price is a suggested retail price, while actual usable volume is affected by concurrency limits, periodic resets, quota pool splits, and failed retries. Some platforms periodically reset subscription quotas; if a team treats this temporary supply as long-term capacity, its cost model becomes distorted.
2. Why “Bigger” Can Sometimes Be “Cheaper”
There is no contradiction in a larger model becoming cheaper, provided the cost per effective token drops. Common sources of such reductions include: more efficient sparse routing that reduces wasted computation; operator fusion, quantization, and memory optimization that improve throughput; continuous batching and paged KV caching that raise GPU utilization; prefix caching and semantic caching that eliminate repeated input processing; economies of scale that amortize fixed inference cluster costs; and, at the commercialization stage, trading price for market share. Conversely, if a new generation improves capability significantly but inference engineering doesn’t keep pace, unit costs rise and pricing naturally can’t come down.
Therefore, comparing two model generations requires looking at neither parameters nor unit prices in isolation, but at cost per completed task. A model with a higher output price may still have a lower task cost if it completes a complex task in a single generation, reducing trial-and-error loops and manual rework. A cheaper model may cost more overall if it needs longer prompts, more tool-call rounds, and higher retry rates.
3. Is a 5x Output Price Justified? Cost and Value Dimensions
From the cost dimension, there are technical reasons output tokens are more expensive: token-by-token decoding is latency-sensitive, batching headroom is limited, and long outputs occupy more memory and scheduling resources; under high concurrency, the output side is more likely to become the bottleneck. Low cache-hit pricing follows a “reuse for discount” logic. When cache-hit rates are high, input-side costs drop significantly, but the output side remains the dominant cost item. For tasks with short outputs—summarization, translation, structured extraction—the output price has limited impact. For output-intensive tasks such as long-form generation, code completion, and multi-turn dialogue, the output price is amplified.
From the value dimension, pricing also serves screening and quota functions. High-value, complex tasks are willing to pay for higher success rates; low-value batch tasks migrate to smaller models or offline batch processing. A well-designed pricing system should let developers actively optimize costs through caching, batching, and tiered routing—rather than passively accepting the price table.
4. API List Prices vs. Real Subscription Costs
API unit prices are often treated as “suggested retail prices,” while a subscriber’s actual experience depends on quotas, rate limits, reset policies, and failed retries. Even if two services differ noticeably in unit price, if one offers more generous quotas, more frequent resets, and higher concurrency, their actual per-task costs converge quickly. Whether quota pools are billed separately also matters: if chat, coding, and batch processing share or split quota pools, budget planning changes accordingly. Developers should convert “available quota” into “number of completable tasks” instead of comparing only per-million-token list prices.
5. How Developers Should Calculate Total Cost of Ownership
A task-level cost formula is recommended:
Total cost = uncached input tokens × input price + cached tokens × cache price + output tokens × output price + retry/failure cost + manual verification cost.
Pseudocode:
def task_cost(input_tokens, output_tokens, p_in, p_out, p_cache, cache_hit_rate, retries=1.0):cached = input_tokens * cache_hit_rateuncached = input_tokens - cachedtoken_cost = uncached * p_in + cached * p_cache + output_tokens * p_outreturn token_cost * retries / 1_000_000
Assume an input price of 20, an output price of 100, and a cache-hit price of 1 (all per million tokens). For a task with 1,000 input tokens, 500 output tokens, a 50% cache-hit rate, and no retries, the cost is roughly (500 × 20 + 500 × 1 + 500 × 100) / 1,000,000 = 0.0605. With a retry factor of 1.2, it becomes about 0.0726. This shows that the output side carries the most weight, while cache optimization mainly reduces input-side cost. Teams should monitor token distribution, cache-hit rate, per-task cost, P95 latency, failure rate, and quota consumption, and build a cost dashboard using logging services and monitoring alerts on Baidu AI Cloud.
6. Practical Recommendations
First, tiered routing: use small models for classification, extraction, and rewriting, and large models for complex reasoning and final generation. Second, cache design: maximize reuse of stable system prompts, long-document prefixes, and code repository context. Third, prompt compression and structured output to reduce wasted tokens. Fourth, subscription quota governance: distinguish quota pools, reserve headroom for peaks, and avoid relying on temporary resets. Fifth, evaluate models by task success rate rather than unit price.
The conclusion: LLM pricing is shifting from a “parameter race” to an “effective cost race.” Scale expansion only translates into a sustainable price advantage when matched with inference engineering, caching systems, and quota governance. Developers should build task-level cost models and avoid being misled by unit-price multipliers or short-term quota resets.
