LLM API Pricing: Why Some Chinese Models Charge More for Output Tokens
Higher output-token prices do not necessarily mean higher costs per completed task. This article examines the cost structure and positioning of premium LLMs, explains how prompt caching affects actual API spending, and outlines a task-level approach to comparing models using success rates, retries, tool calls, and human intervention.
When choosing a large language model service for a business or personal project, many users start by comparing API output prices. If one model charges three or four times more per million output tokens than a general-purpose alternative, the immediate reaction is often: “Too expensive—not worth it.”
But judging a model solely by its token price is like deciding whether to buy a truck based only on its fuel consumption per mile. It leaves out much of what determines its value.
To understand why some Chinese LLMs command higher output prices—and whether those prices are justified—we need to examine infrastructure costs, product positioning, and the actual cost of completing a task.
1. Cost Structure: Long Context Has Real Infrastructure Costs
Models that support very long context windows, such as one million tokens, can place significantly greater demands on GPU memory and inference scheduling.
In Transformer-based inference, longer contexts generally require larger key-value (KV) caches. This increases memory consumption, can reduce the number of requests that can be batched together, and raises the marginal cost of serving a request.
However, ongoing architectural and serving optimizations help contain these costs. Key approaches include:
- Sparse and linear attention: Reduce attention’s computational complexity to limit the growth in processing costs for long sequences.
- KV cache compression: Use techniques such as quantization, sharing, and removal of low-contribution cache entries to reduce memory requirements.
- Prefix reuse in inference scheduling: Identify recurring system prompts and shared prefixes to avoid repeating computation.
Longer context therefore does not translate into a simple, fixed increase in cost. Improvements in efficiency can offset part of the underlying resource demand.
Another substantial cost comes from developing strong reasoning capabilities, particularly in mathematics and coding. High-quality post-training, including large-scale reinforcement learning and reasoning-trace data, can require considerable compute. These development costs can also influence pricing.
2. Product Positioning: Compare Models Built for Similar Workloads
A model’s price needs to be evaluated against the problems it was designed to solve.
A model with a trillion-scale parameter count, an extremely long context window, and a focus on complex programming and knowledge work belongs to a different product category from a general-purpose model intended primarily for everyday conversation.
The former targets workloads with high task complexity, sensitivity to context length, and demanding completion requirements, including:
- Understanding, refactoring, and completing code across large repositories.
- Long-running agent tasks that require consistent state and intent across dozens or even hundreds of tool calls.
- Analysis of multiple documents and reasoning-intensive knowledge work.
For these workloads, the central question is whether the model completes the task—not how cheaply it generates each sentence.
Price comparisons are therefore most useful between models with similar positioning. Comparing prices across categories without accounting for their intended workloads can be misleading.
3. Prompt Caching: A Major Factor in Actual API Costs
Many model API services use separate rates for cached input, uncached input, and output tokens. A typical structure looks like this:
Cached input tokens: Discounted rate, sometimes around one-tenth of the standard input rateUncached input tokens: Standard input rateOutput tokens: Higher rate
Coding and agent workloads often contain substantial repeated prefixes: the same system instructions, the same code context, and recurring conversation history.
Providers have reported cache hit rates above 90% for such workloads. These figures are workload-dependent, so the relevant rate for a purchasing decision is the one measured in your own application.
Consider a simplified example with one million input tokens and a 95% cache hit rate. The prices below are illustrative and denominated in Chinese yuan (CNY); “M” means one million tokens.
Cached input: 0.95M × CNY 0.30/M = CNY 0.285Uncached input: 0.05M × CNY 3.00/M = CNY 0.150Total input cost = CNY 0.435, rather than CNY 3.00
The effective input cost is much lower than the standard input rate initially suggests.
Caching does not reduce the stated output-token price. It does, however, change the total cost of a request, which is why output prices alone cannot establish whether a model is expensive overall.
For workloads with substantial prefix reuse, leaving cache hit rates out of the calculation can seriously distort the comparison.
4. The More Useful Metric: Cost per Successful Task
For enterprise procurement, the practical question is:
How much does it cost to complete a useful task successfully?
A task-level cost calculation should account for:
- Effective input cost: Input spending after applying the measured cache hit rate.
- Actual output cost: The output-token rate multiplied by the number of tokens generated.
- Retry cost: Additional spending when failed tasks require new attempts.
- Tool-call cost: Accumulated consumption across multi-step agent workflows.
- Human intervention cost: The labor required to review, correct, or repair model output.
- Success-adjusted cost: Total expenditure divided by the number of successful tasks.
For a consistently measured evaluation set, the final metric can be expressed as:
Cost per successful task =Total cost across evaluated tasks / Number of successful tasks
Equivalently, dividing the average cost per evaluated task by the success rate gives the same result. Retry and intervention costs need to be included consistently in that average.
Suppose Model A has token rates three times those of Model B. On complex software engineering tasks, however, Model A achieves a substantially higher first-pass success rate and requires far fewer retries and less human rework.
Under those conditions, Model A may cost less per successful task while also shortening delivery time.
Conversely, if a model costs three times as much but improves the success rate by only 5%, the premium may not be worthwhile. The decision depends on the full task-level calculation, not the price difference alone.
5. Practical Steps for Selecting a Model
Classify your workload first
For short conversations and straightforward question answering, prioritize lower-cost general-purpose models.
For long-context processing, complex reasoning, and agent workflows, evaluate higher-specification models against the requirements of the task.
Run a small-scale workload evaluation
Test a few hundred tasks using real business data. Measure:
- Cache hit rate.
- First-pass success rate.
- Average token consumption.
Use these results to calculate task-level costs before making a purchasing decision.
Structure prompts for prefix reuse
Place stable content, such as system instructions and reference documents, at the beginning of prompts. Keeping shared content in the prefix helps maximize the benefits of caching.
Monitor costs continuously
Record cache-hit information and request costs throughout the API call chain. Track spending over time rather than treating model selection as a one-time pricing exercise.
Conclusion
Whether an LLM is expensive depends on what it is being compared with, whom it serves, and which problems it solves.
Output-token pricing is only one variable. Cache hit rates, task success rates, retries, tool calls, and human correction costs can all materially change the economics.
The strongest basis for model selection is therefore not the lowest price per million tokens, but the lowest justified cost per successfully completed task.
