From Token Prices to Task Cost: Understanding Inference Model Pricing
A new generation of open-weight LLM has published official pricing roughly 5x higher than its predecessor—20 yuan per million input tokens, 100 yuan per million output tokens, and 1 yuan per million cache hits. This article explains why per-token price is a misleading way to compare models and shows how to reframe the question as cost per task. It breaks down the three pricing tiers (input, output, and cache hits), explains how reasoning "thinking" tokens shift the cost center toward output, and shows why large unit-price gaps compress at the task level. It then covers the layering of official list price and market transaction price, the practical impact across three common scenarios (chat, agents, and long context), and engineering practices for task-level cost accounting—caching, output limits, cascade routing, and observability—along with a decision checklist for when a high price is worth paying.
1. The Signal Behind a Counter-Trend Price Increase
A new generation of open-weight large models has published official pricing: 20 yuan per million input tokens, 100 yuan per million output tokens, and 1 yuan per million cache-hit tokens. Compared with the previous generation, the overall price level is roughly 5x higher. In the Chinese LLM market, where low prices and strong cost-performance have long been the primary competitive levers, this price stands out—sitting on the same level as the standard list prices of many comparable overseas models, and at times even above their limited-time promotional prices.
Setting emotion aside, these numbers carry at least three signals:
- A change in the benchmark: Vendors no longer measure themselves against the price of domestic competitors, but benchmark directly against top-tier international reasoning models.
- A change in cost structure: The output-to-input ratio reaches 5:1, and the cache-hit price is just 5% of the input price. This means “reading a lot” is no longer the most expensive part—“thinking a lot” is.
- A change in pricing approach: The list price begins to serve a “value-anchoring” function, rather than merely covering costs and competing.
To judge what this price means for developers, you first need to break down the three tiers and reframe the question from “how much per million tokens” to “how much per task.”
2. Breaking Down the Three Tiers: Input, Output, and Cache Hits
2.1 Input: The Line Between Prefill and Cache Reuse
When a model processes a request, it first encodes all input tokens into an internal state—the key-value cache (KV Cache). This process is typically called prefill. Because prefill can compute all input tokens in parallel, it scales relatively easily across compute when resources are constrained. If an identical prefix has already been cached, subsequent requests can reuse it directly without recomputation.
This is also why the cache-hit price is typically far lower than the input price. A common approach charges only a small fraction of the original price for the hit portion (often 5%–25%, depending on the provider’s pricing); in this case it is 5%. The gap between the cache-hit price and the input price essentially measures how much the vendor discounts the act of “reuse.” It directly determines whether long system prompts, multi-turn conversations, and batch jobs can amortize costs.
2.2 Output: Token-by-Token Generation and the “Thinking Bill”
Generation during the output phase (decode) works very differently from input: for each new token, the model must run a full forward pass over all existing context. This computation cannot be parallelized across tokens and must be done serially.
This “serial, context-dependent” characteristic makes the per-token compute cost of output inherently higher than that of input. However, output pricing is the result of vendors weighing compute costs, product positioning, and value judgments—it is not a linear mapping of cost.
In the era of reasoning models, the output side adds one special component: the thinking process. Thinking tokens do not appear in the final answer users see, yet they are usually billed at the output price. If a service offers only the highest thinking level and all thinking is counted as output, the main variable on the bill shifts from “how long the answer is” to “how long the model thought.” The more thoroughly the model reasons, the more the caller pays.
2.3 Summary: What Determines the Output Share
The cost of a single call can be decomposed as:
Total cost = Uncached input × input price + Cached input × cache price + Output tokens (including thinking) × output price
The share of output in total cost depends mainly on three factors:
- Output-to-input token ratio: The most critical variable—the higher the reasoning intensity, the larger this ratio.
- Output-to-input price ratio: 5x in this case.
- Cache hit rate: This mainly affects spending on the input side.
For example (prices rounded for easy calculation, not real figures):
- With an input price of 5 yuan and an output price of 20 yuan, a request with 1,000 input tokens and 2,500 output tokens (including thinking) has output accounting for 76.9% of cost.
- For the same request size, if the output price rises to 5x the input price, the output share climbs further to 88.9%.
- If output is only 100 tokens, the output share drops to 28.6%.
Clearly, thinking intensity, the output price multiple, and the output token share together determine the output share—and cache optimization only acts on a smaller piece of it.
3. From Token Price to Task Cost: Shifting the Unit of Analysis
3.1 Why Unit Price Misleads Decisions
Comparing models by unit price implicitly assumes that different models use the same number of tokens. But in agent scenarios, this assumption often does not hold:
- Reasoning models automatically expand their chain of thought, and the number of output tokens is decided by the model, making it hard for the caller to predict precisely.
- A single task usually involves multiple stages—planning, tool calls, reading results, code execution, self-verification—corresponding to dozens or even hundreds of model calls.
- Every call carries historical context, and the context grows longer and longer.
Comparing only unit prices can easily misjudge a “low-unit-price but more-tokens-per-task, more-retries” option as the cheaper one.
3.2 The Calculation Standard for Task-Level Cost
A more sensible metric is “average cost per task”:
Average cost per task = (sum of input, cache-hit, and output charges from all calls in one task) ÷ number of tasks
To also measure “how much money buys a qualifying result,” you need to bring in completion rate:
Cost per successful task = Average cost per task ÷ Task completion rate
This metric folds “model capability” into the price. Task completion rate is defined as the proportion of tasks that meet acceptance criteria without human intervention, which can be measured via unit tests, rule checks, or manual sampling.
Using publicly aggregated benchmark data as a reference, the average cost of completing the same batch of tasks can differ by up to an order of magnitude across models:
| Model type | Cost per task (USD) | Converted to RMB (1 USD ≈ 7.1 yuan) |
|---|---|---|
| The new-generation open-weight reasoning model discussed here | ~0.94 | ~6.7 yuan |
| A leading overseas closed-source model | ~1.04 | ~7.4 yuan |
| A flagship closed-source model | ~1.9 | ~13.5 yuan |
| A balanced open-weight model | ~0.32 | ~2.3 yuan |
| A model focused on extreme cost-performance | ~0.04 | ~0.28 yuan |
This table shows at least two things:
- In a cross-vendor task-cost frame, the new model is not in the most expensive tier—it sits roughly in the same tier as leading overseas closed-source models, about half the cost of the flagship model. If its completion rate is no lower than the latter’s, the gap in “cost per successful task” would widen further.
- Within the open-weight camp, its position is entirely different. One model focused on extreme cost-performance permanently cut its main tier mid-year to 3 yuan input and 6 yuan output per million tokens—the latter’s output list price is still about 16x higher. By unit price alone, the gap looks enormous; but at the task level, it depends on real factors like completion rate, retry count, and context length.
3.3 Why the Gap Narrows at the Task Level
Unit-price gaps are largely compressed at the task level for four main reasons:
- Repeated calls: The more complex the task, the more rounds of calls, and fixed overhead (such as the system prompt) gets amortized repeatedly.
- Context accumulation: In multi-turn calls, historical messages keep piling up. With prefix caching, the per-unit cost of this input is already very low, so its impact on total cost diminishes.
- Rising output share: Reasoning models typically have a higher output share, and the more complex the task, the more dominant output becomes in total cost.
- Retry cost: Failed or substandard tasks must be re-run, sometimes escalating to a stronger model as a fallback.
The change in the number of calls after a task is only surface-level; a more fundamental change happens in call volume: when call count doubles, the part strictly dependent on model capability (such as verifying code execution results) must also run twice. So the higher the share of costs unrelated to call volume, the more obvious a solution’s cost advantage at the task level.
4. High List Price Coexisting with Open Weights: The Layering of Official List Price and Market Transaction Price
4.1 The Nature of the “Official List Price Validity Period”
According to the announced plan, the weights will be available for download in the near future. Once the weights are public, any third-party inference provider with compute resources can deploy them itself and offer service at a price below the official list price. In other words:
- Before the weights are open: Only the official channel exists in the market, and the list price is the actual price paid.
- After the weights are open: The market quickly forms a second price curve clearly below the official list price.
The official list price thus fulfills its core mission within this “scarcity window”: to carve out a benchmark number for the model’s value before the weights are commoditized. After that, official-channel call volume may not be the largest, but the market consensus on “what this model is worth” is largely formed under the influence of the official list price. When users see prices far below the official list price on third-party platforms, they are also more likely to feel they’ve “gotten a good deal.”
4.2 List Price, Promotional Price, and Transaction Price
From a pricing-theory perspective, there are actually three prices here:
- List price: The vendor’s public valuation of its own intelligence, and the value anchor for external communication.
- Promotional price: A phased concession to acquire customers and win developers’ mindshare.
- Transaction price: The level the market is ultimately willing to pay under the constraints of competition and alternatives.
What is unique about this pricing is that the vendor chose to benchmark against the standard list price of comparable overseas models, rather than their promotional prices. The subtext can be summed up as: promotions are business moves, but the list price represents the judgment of the model’s value.
4.3 Why “Open Source + High Price” Is Rare—and Why It Works
The combination of “open source + high price” is extremely rare in the history of global model development, for an understandable reason: open weights mean any vendor can deploy it themselves, and prices face natural downward pressure.
The reason it can hold is that the model’s own capability is enough to support this narrative. It offers two lessons:
- There is a window between value anchoring and commoditization—whether the official list price converts into brand premium depends on whether developer mindshare and ecosystem advantages can be established within that window.
- Open weights are changing the dimension of competition—vendors no longer compete solely on API price, but may differentiate on inference cost, deployment flexibility, data sovereignty, and ecosystem tools. But when making a technology selection, developers should not only look at the model’s capability; they must also factor the total cost of deployment and operations into the comparison.
5. Practical Impact for Developers: Three Typical Scenarios
Scenario 1: High-Frequency, Low-Difficulty Calls Such as Chat and Content Generation
This is the most directly affected scenario. Consider an illustrative example:
- Assume each user turn has 800 input tokens (of which 400 are a cacheable system prompt and conversation prefix), and the model outputs 300 tokens (including thinking);
- Prices are output 100 yuan, input 20 yuan, cache hit 1 yuan;
- If the cache is hit, the single-turn cost = 400÷1,000,000×20 + 400÷1,000,000×1 + 300÷1,000,000×100 = 0.0384 yuan;
- If the cache is fully invalidated, the single-turn cost rises to 0.046 yuan;
- For a product with 10,000 daily active users each having 10 conversations a day, the monthly inference cost is about 11,500 yuan (~13,800 yuan with cache misses). Each call looks like just a few cents, but scaled up it becomes an operating cost that must be taken seriously.
For this scenario, you can hand simple intent recognition, classification, and summarization to lightweight models or rules, and call the high-price model only when deep reasoning is truly needed.
Scenario 2: Agents and Machine Consumption of Tokens
This is the core customer this price targets. Machine consumption of tokens has three characteristics:
- Cost is quantifiable: Call costs can be directly converted into business processes (such as the cost of handling each ticket) and recovered via value-based pricing.
- Insensitive to unit price, sensitive to task cost: The buyer’s algorithm shifts from “how much per million tokens” to “how much per task.”
- Highly sensitive to completion rate and stability: One failure triggers a retry, and may even require escalation to a stronger model as a fallback.
According to public task-level benchmark data, the per-task cost in such scenarios is about 6.7 yuan. If the task value is far higher than this—such as code generation and repair, complex data analysis, or long-document review and summarization—this price is well within an acceptable range.
Scenario 3: Multi-Turn Long Context
The longer the context, the greater the benefit of prefix caching, but spending on the output side does not decrease as the context grows longer. In the phase that offers only the highest thinking level, thinking tokens rise with task complexity, and callers have limited means to control this cost. It is advisable to set an output-token cap and budget alerts for each task, to avoid a few complex tasks dragging up the overall average.
6. Engineering Practice: Moving from Unit-Price Accounting to Task-Cost Accounting
6.1 Establishing Task-Level Cost Measurement
The most direct step is to tag each task with a unique identifier at the application layer and write the token usage of every model call (input, cache hit, output) into a task-level cost record:
# Illustrative code: aggregate token usage by task# Usage field names vary across platforms; map fields during actual integrationtask_usage = {} # task_id -> {"input": int, "cached": int, "output": int}def on_llm_response(task_id: str, usage: dict):"""Record usage after each model call completes"""item = task_usage.setdefault(task_id, {"input": 0, "cached": 0, "output": 0})item["input"] += usage["prompt_tokens"]item["cached"] += usage.get("cached_tokens", 0)item["output"] += usage["completion_tokens"] # thinking tokens usually count as outputdef estimate_task_cost(task_id: str, price: dict) -> float:"""Estimate task cost by token unit price (in yuan)"""u = task_usage.get(task_id, {"input": 0, "cached": 0, "output": 0})uncached = max(u["input"] - u["cached"], 0)return (uncached * price["input"]+ u["cached"] * price["cached"]+ u["output"] * price["output"]) / 1_000_000
The field names here are only illustrative; different platforms may name token-usage fields differently, so mapping is needed during integration.
With this data, you can break “average model price” into attributable cost items:
- By task type: Average cost of Q&A, code, data analysis, and document processing respectively.
- By scenario: Separate online requests from offline batch jobs.
- By tenant/customer: Identify high-consumption customers and assess their gross margins.
- By model tier: Observe whether, after cascade routing, the call share of high-tier models is reasonably distributed according to task complexity.
6.2 Improving Cache Hit Rate
The cache-hit price is only 5% of the input price, making it the most cost-effective link in cost optimization. The key is to keep request prefixes as stable as possible:
- Fix the prefix: Put unchanging content—system prompts, tool definitions, few-shot examples—at the very front of the request, and dynamic content (user input, timestamps, random IDs) after it, to avoid prefix changes that invalidate the cache.
- Stable serialization: Keep the order of tool lists and examples stable, avoiding content jitter caused by dictionary iteration order, unordered set output, and the like.
- Reuse session context: In multi-turn conversations, reuse already-cached prefixes to reduce repeated computation.
- Match the cache lifecycle: Caches usually have an expiration time; make sure the task execution rhythm matches the cache’s validity period. For example, splitting a long task into many high-frequency calls can cause repeated “cold start” costs due to cache expiry.
- Real-time monitoring: Track changes in the cache hit rate through monitoring. A sudden drop in hit rate often signals engineering problems such as prompt template changes or inconsistent deployment versions.
6.3 Controlling Thinking Intensity and Output Length
- Tier by task difficulty: Handle deterministic tasks like classification, extraction, and formatting with lightweight models or rule engines; reserve reasoning models for tasks like planning, debugging, and complex reasoning.
- Set reasonable output caps: Put a cap on output tokens to prevent individual requests from reasoning too long and over-consuming budget.
- Make thinking verifiable: Prefer solutions that verify the quality of thinking at the task-acceptance stage, avoiding payment for ineffective reasoning chains.
- Batch processing and streaming output: Offline tasks can take advantage of the batch discounts some platforms offer for asynchronous bulk jobs; online interactions should keep streaming output to improve time-to-first-byte, though this does not reduce the billed token count.
6.4 Cascade Routing: Let the Expensive Model Handle Only Hard Tasks
A common pattern is “easy first, hard later”: first try with a lower-cost model, and escalate to a stronger reasoning model only when its confidence is insufficient or verification fails. The core of this cascade is the routing strategy; illustrative code:
# Illustrative code: decide whether to escalate to a high-tier model# based on confidence and verificationdef route_and_run(task: dict) -> dict:# 1) Try with the lightweight model firstcheap = call_model("light", task)if cheap.confidence >= 0.85 and verify(task, cheap):return cheap# 2) Insufficient confidence or failed verification—escalate to the reasoning modelstrong = call_model("reasoning", task)return strong if verify(task, strong) else escalate_to_human(task)
Note that the verification function itself counts toward cost. If every task first runs the lightweight model and then the reasoning model, total cost may not be lower than “calling the reasoning model directly.” The benefit of the cascade depends on routing accuracy; it should be validated with A/B testing and measured by the “cost per successful task” metric.
6.5 Establishing Cost Observability and Alerts
- Unit economics metrics: Beyond the total, focus on cost per task, cost per thousand requests, and cost per successful task.
- Budgets and quotas: Set tenant-level budget caps and rate limits at the application layer to prevent abnormal calls or malicious volume inflation from inflating the bill.
- Anomaly detection: Set alerts for sudden per-task cost spikes, sharp drops in cache hit rate, and rising average output tokens; these can be implemented with general cloud capabilities such as monitoring/alerting and logging services.
- Cost attribution: Feed cost data into an observability system, forming dashboards by model, task type, tenant, and other dimensions.
7. Selection Decision Checklist: When Is a High List Price Worth Paying?
| Decision dimension | Leans toward a high-price reasoning model | Leans toward a low-price/lightweight solution |
|---|---|---|
| Task value | Single-task value significantly exceeds inference cost | Low per-call value, high call volume |
| Task difficulty | Needs multi-step reasoning, tool calls, self-verification | Deterministic tasks like classification, extraction, formatting |
| Completion-rate requirement | High requirement for first-attempt success, high cost of failure | Lower completion rate acceptable, or human fallback |
| Context characteristics | Long context, stable prefix, cacheable | Short requests, frequently changing context |
| Data compliance | Requires data to stay within a specific environment, or prefers private deployment | Acceptable to let the provider process data |
On cloud platforms such as Baidu AI Cloud, enterprises can use a unified model service to access models of different tiers, and combine general capabilities such as monitoring/alerting and logging services for cost aggregation and usage analysis, so that “accounting by task” truly lands in daily operations.
8. Conclusion
The high list price of the new-generation reasoning model appears to be a “counter-trend price increase” on the surface, but it actually reveals three changes in the pricing logic of the reasoning-model era:
- Shift in the cost center: Output (including thinking) replaces input as the dominant line item on the bill.
- Shift in the unit of analysis: The comparison dimension moves from price per million tokens to cost per task and even cost per successful task.
- Pricing stratification: Open weights let the official list price serve a value-anchoring function, while the market transaction price is jointly determined by capability, competition, and deployment convenience.
For developers, a more important question than “is it expensive” is: am I spending tokens on tasks that truly generate value? By establishing task-level cost accounting, improving cache hit rates, implementing cascade routing, and refining observability, you can keep costs within a reasonable range under the new price structure.
