LLM API Pricing Quintuples: From Per-Token to Per-Task Cost Evaluation
A new flagship model from a leading LLM vendor has raised API prices roughly fivefold versus the previous generation. This article separates two pricing lenses—per-token and per-task—explains the technical drivers behind the increase, and offers a practical framework for estimating real task-level cost, including a cost formula and engineering practices such as routing, caching, output control, and budget guardrails.
Recently, a new-generation flagship model from a leading LLM vendor raised its API pricing roughly fivefold compared with the previous generation: output at about RMB 100 per million tokens, input at about RMB 20, and cache hits at about RMB 1. The developer community reacted strongly. However, the debate over whether this is “expensive” often conflates two very different pricing perspectives. As someone who has long worked on model cost engineering, I will break the problem down and provide an actionable evaluation method.
1. Two Pricing Lenses: Token and Task
To judge whether a model is expensive, you first need to clarify which lens you are using.
Lens one: per-token pricing. This is the intuitive number on the API bill. At RMB 100 per million output tokens, the price is indeed several times higher than the previous generation, and compared with some open-weight models known for extreme cost efficiency, the output unit price may differ by more than ten times. Looking only at the bill, the price increase is a fact.
Lens two: per-task pricing. What really affects business cost is not the unit price but how much it costs in total to complete a task. A more capable model can often complete a task with fewer turns, fewer retries, and fewer tokens. Measured data shows that a new-generation flagship model costs about $0.94 on average to complete a typical complex task, putting it in the same range as a frontier proprietary model from an international vendor (about $1.04), and even only about half the cost of a more expensive flagship model. In other words, in a per-task world, this model is not particularly expensive.
The contradiction is that if the comparison is narrowed to the open-weight camp, the conclusion reverses completely. For the same task, some cost-effective open-source models need only about $0.32, and extremely cost-compressed solutions may cost only a few cents. When output list prices differ by more than sixteen times, task-level efficiency advantages are unlikely to offset an order-of-magnitude gap in unit price.
2. Why Prices Rose: Changes in Inference Cost Structure
A fivefold price increase is not purely a marketing strategy; there are real technical drivers behind it.
1. The rise of test-time compute. New-generation models generally adopt a long-chain reasoning paradigm of “think first, answer later.” Before producing the final answer, the model generates a large number of internal reasoning tokens. The total number of tokens consumed per response may be several times or even ten times that of the previous generation. By raising unit prices, vendors make this real increase in compute cost visible.
2. Layered pricing for long context and caching. Input at RMB 20 and cache hits at RMB 1—a twentyfold difference—strongly guides developers toward prefix caching, context reuse, and similar techniques. Cache-hit input is almost “free,” which shows that the vendor’s pricing goal is not to collect more input fees but to push callers to optimize prompt structure and reduce repeated computation.
3. The return of the capability premium. When model capability reaches the stage of “being able to independently complete complex engineering tasks,” the pricing anchor shifts from “the marginal cost of text generation” to “the value of replacing human labor or replacing multi-step workflows.” This is a pricing logic that moves from selling resources to selling outcomes.
3. How Developers Should Evaluate Real Cost
Faced with a complex pricing structure, it is advisable to build a task-level cost evaluation framework rather than staring at the unit price table.
Step one: define a standard task set. Sample 10–20 representative tasks from production workloads (for example, a code review, a report generation, or a round of multi-step customer service dialogue), and record average input tokens, output tokens, reasoning turns, and success rate.
Step two: calculate task-level cost. The formula is simple:
Task cost = (input tokens × input price + cache-hit tokens × cache price+ output tokens × output price) / first-attempt success rate
Note the division by success rate—a cheap model that needs three retries to get something right actually costs three times its unit price, plus latency and user churn.
Step three: include hidden costs. These include the cost of human fallback review, the latency cost of failed retries, and the R&D cost of context engineering (repeated prompt tuning). Strong models often save a great deal on these hidden items.
4. Engineering Practices for Cost Reduction
Whichever tier of model you choose, the following practices can significantly reduce the bill:
- Routing tiering: Use a lightweight classifier to route requests—simple tasks go to low-cost models, and only truly complex tasks call the flagship model. In practice, 70–80% of traffic can usually be absorbed by cheap models.
- Maximize cache hits: Place fixed system prompts and tool definitions at the very front of the context, keep the prefix stable, and push the cache hit rate as close to 100% as possible. Input cost then drops by an order of magnitude.
- Control output length: Specify output format and length constraints in the prompt to avoid redundant reasoning and filler; for structured scenarios, use JSON Schema to constrain output.
- Budget guardrails: Set token caps and cost circuit breakers for each task, and use logging and monitoring alerts to continuously track changes in the per-task cost distribution and detect anomalous calls in time.
5. Conclusion
“Prices quintupled” is an emotional factual statement, while “is it expensive?” is an engineering question that must be answered under specific tasks, specific success rates, and specific cost structures. Per token, the new-generation flagship model is indeed expensive compared with the open-weight camp; per task, it is in the same cost tier as top international models. The rational approach is not to take sides but to build your own task-level cost measurement system and use routing, caching, and guardrails to spend every cent on the steps that truly need strong model capability. The rules of model pricing are shifting from “selling words” to “selling results,” and developers’ cost thinking should upgrade accordingly.
