The Economics of LLM API Output Pricing: Why Output Tokens Cost More and How to Control Spend
A practical look at why LLM API output pricing has reached the hundred-yuan-per-million-token range, why decode is more expensive than prefill, how capability tiers create pricing gaps, and five cost-control tactics—routing, context trimming, caching, output constraints, and observability—to evaluate models by cost per completed task rather than sticker price.
1. The Signal: What It Means When Output Pricing Crosses the Hundred Mark
A recent release of a general-purpose large language model pushed output pricing into the range of roughly a hundred yuan per million tokens, a notable data point in domestic model pricing. Reaction split immediately: one camp argued the performance now sits in the global first tier and the price is justified; the other simply said it is unaffordable.
To reason about this calmly, the vague feeling of “expensive” has to be broken into something computable. An API bill is never determined by a single price. It is the combined result of input, output, cache hits, batching, context length, and other variables. Output price draws attention because it dominates cost in most application scenarios.
2. Pricing Structure: Why Output Costs More Than Input
Mainstream inference services bill on the same underlying logic:
- Input (prefill) computation parallelizes well, keeps hardware utilization high, and therefore has a low unit cost.
- Output (decode) is autoregressive, generated token by token, and every new token requires re-reading the entire cached context. It is a memory-bandwidth-bound workload, so bandwidth becomes the bottleneck.
- As a result, output unit price is typically several times the input unit price. This is an industry-wide pattern, not a pricing preference of any single vendor.
A simplified cost model:
Cost per request = input tokens × input price+ output tokens × output price+ (uncached input tokens × cache price difference)
Assume a task with 8,000 input tokens and 1,200 output tokens, where the output price is 4× the input price. The output side already accounts for more than 40% of the bill. Extend the output to 4,000 tokens—long-form generation or a full code refactor, for example—and the output share climbs past 70% quickly. That is why “output breaking a hundred” provokes a far stronger reaction than an input price increase.
3. Capability Tiers and Why the “Gap Tier” Gets Priced This Way
The original analysis makes one key observation: this tier sits in the gap between two higher capability tiers. That is common in engineering and can be abstracted into a capability–price curve:
| Tier | Relative capability | Relative price | Typical use cases |
|---|---|---|---|
| Lightweight | Basic understanding and generation | Low | Classification, extraction, summarization, routing |
| Mid-tier | Complex reasoning and long-chain tasks | Medium | Code generation, multi-step analysis, agent orchestration |
| Flagship | Peak reasoning and generalization | High | Hard research problems, complex system design |
The value of a mid-tier model is buying near-flagship capability at a mid-tier price, which makes it the cost-performance inflection point. But an inflection point is not the same as cheap. Its price must sit above the lightweight tier, because what it displaces is flagship call volume.
4. How to Read Benchmark Numbers
The original text cites a composite benchmark placing the model in the global top three, and notes that the benchmark skews toward short tasks. That caveat is a professional one and worth expanding:
- A benchmark score is a capability ceiling, not your business score. Real input distributions, output lengths, and failure tolerance all differ from the evaluation set.
- Short-task benchmarks say nothing about long-context stability, long-range consistency, or tool-call success rate.
- Leaderboard position contributes little to cost decisions. What actually determines the bill is the number of retries and the token consumption required to complete the same task.
The recommendation is to build a small regression set of your own—typically 100 to 300 real business samples is enough—and measure it with consistent metrics: task success rate, average output length, P95 latency, and total cost per task.
5. Cost Governance: Five Tactics You Can Apply Immediately
- Tiered routing. Use a lightweight model for intent detection and simple requests, and escalate only complex requests to the mid-tier or flagship model.
- Context trimming. In retrieval-augmented scenarios, cap the number of retrieved chunks and the length of each chunk. Savings on the input side are often more visible than switching models.
- Cache reuse. Enable prefix caching for stable system prompts and knowledge-base prefixes to cut repeated input cost significantly.
- Output constraints. Use structured output plus explicit length and format requirements to compress wasted tokens and stop the model from over-talking.
- End-to-end observability. Wire in logging and alerting, tag token consumption by business dimension, and only then can you locate the real cost black holes.
Illustrative routing pseudocode:
def route(prompt, context):if is_simple(prompt): # classification, extraction, rewritingreturn light_model(prompt)if len(context) > 32000: # trim long context firstcontext = compress(context)return mid_model(prompt, context)
6. Turning a Technical Judgment into a Budget Decision
Faced with a new, higher-priced model generation, the rational move is neither an emotional rejection nor a blind chase for the newest release. It is three steps:
- Step one: measure cost per task on real samples instead of reading the unit price.
- Step two: compare the cost/success-rate curve of your current setup and confirm whether a capability gap actually exists.
- Step three: if it does, roll out gradually. Shift 5% to 10% of traffic first, watch quality and the bill, then decide on full rollout.
On the cloud, a container platform can host the inference gateway, object storage can hold evaluation samples, a message queue can smooth traffic spikes, and the logging and monitoring stack can attribute cost. These general-purpose capabilities are enough to support a complete model cost governance setup.
7. Closing
Output pricing crossing the hundred mark is, in essence, a repricing after capability density increased—not simply a price hike. For developers, what needs to be built is not an emotional reaction to a number but an evaluation system centered on task success rate and cost per task. Once every call can be converted into a ratio of business value to cost, expensive versus cheap stops being the question, and model selection becomes clear and unhurried.
