LLM API Pricing: From Token-Based to Task-Based Billing
This article explains how to evaluate LLM API pricing as vendors move from token-based list prices toward task-level cost estimates. It examines a flagship model's higher output pricing, the three implications of list pricing, output-side and reasoning-token cost structure, cache-hit effects, and a practical per-task cost estimation approach for Agent workloads.
If you are trying to understand how to account for LLM API pricing, how to choose between token-based and task-based billing, and what to watch for in reasoning-model costs, this article provides a practical framework you can apply directly.
The Phenomenon: Output Prices at 5x the Previous Generation
According to publicly available API price information, the output price of a new flagship model from a Chinese LLM provider is about 5x that of the previous generation. The listed prices are CNY 100 per million output tokens, CNY 20 per million input tokens, and CNY 1 per million tokens for cache hits. These figures should be checked against the vendor’s official price list. Before budgeting, readers should verify the current-day price and confirm whether the listed price includes promotional discounts.
Over the past two years, the Chinese LLM market has generally moved toward lower prices, with most vendors competing for developers through low prices and ease of use. Against this backdrop, this model’s higher list price runs counter to the industry trend. Comparisons with international model prices also require caution. Promotional prices change over time, and each vendor has different promotional rules. This article does not make cross-market judgments about specific international model promotional prices.
Three Implications of the Pricing
First, the list price reflects the vendor’s assessment of the model’s capabilities. Promotions can cause actual transaction prices to fluctuate, while the official list price is closer to the vendor’s positioning of its own model. Setting a high list price means the vendor does not intend to use price wars as its main competitive tool. Whether that assessment holds still depends on how the model performs in independent evaluations.
Second, a high price may anchor value for open weights. The model is planned to be available for weight download. Generally, after weights are made public, third-party inference providers will offer the same model at prices below the official price. At that point, the official API’s transaction advantage may weaken, but the official list price will still leave a reference number. When developers see a significantly lower price on a third-party platform, they will naturally compare it with the official list price. The specific release timing is subject to the official announcement.
The combination of open source and high pricing is relatively uncommon among publicly available mainstream LLMs. Whether it is the first case depends on the scope of the count, and this article cannot independently confirm it. The confidence behind the pricing may come from public benchmark performance; specific judgments should refer to the benchmark name, score, and test date.
Third, the high price filters the target customers. A price of CNY 100 per million output tokens is clearly high for ordinary human-machine conversation. The more likely target is Agent and machine-to-machine invocation scenarios. These scenarios focus more on whether a single task can be completed, rather than only on whether a single response is cheap.
Cost Structure: Why the Output Side Matters More
In traditional generation tasks, answers are usually longer than questions, and the main billing share often falls on the output side. Long-context scenarios are different. If a large amount of text must be re-input with every request, the input-side share will rise accordingly. Input costs cannot be ignored in long-document analysis and multi-turn conversations.
Reasoning models change how the output side is billed. Most reasoning model APIs count tokens generated by the thinking process as output billing; the specific rules are subject to the vendor documentation. The more fully the model thinks, the higher the bill.
If a model performs deep thinking by default, the growth in thinking tokens will stack on top of the output unit price, so the actual bill increase may exceed the list price increase. The specific magnitude of this combined effect depends on the task type and thinking length, and must be measured with real requests.
The cache-hit price of CNY 1 per million tokens is a companion design for this type of model. In scenarios where the same long text is read repeatedly, cache hits can significantly reduce input-side costs. How much cost they offset depends on the actual hit rate.
Billing Unit: From Per-Million Tokens to Per Task
The way developers ask questions is changing. In the past, they often asked how much one million tokens cost; now they more often ask how much it costs on average to complete a task. This is especially true in Agent scenarios. A task may include multiple rounds of calls, tool returns, and retries, and looking only at the token unit price cannot reflect total cost.
A practical estimation method is to split a task into several rounds of interaction, calculate the input, cache, output, and thinking costs for each round, sum them, and divide by the success rate. The code below gives this approximate calculation. It assumes that usage per round is averaged, failed tasks are rerun entirely, and parallel calls are not considered.
def task_cost(steps, in_tokens, out_tokens, think_tokens,in_price, out_price, cache_price=0.0,cache_hit_rate=0.0, success_rate=1.0):"""Price unit: CNY per million tokenssteps: average number of interaction roundsin_tokens: average input tokens per roundout_tokens: average answer tokens per roundthink_tokens: average thinking tokens per round (counted as output by most reasoning models)cache_hit_rate: share of input that hits cache, from 0 to 1success_rate: task success rate, from 0 to 1; failed tasks must be rerun..."""...
