Token List Prices vs. Real-World LLM Costs: What the Sticker Price Doesn't Tell You
API price sheets make smaller models look dramatically cheaper, but that's only part of the story. This article examines the gap between per-token list prices and actual costs across subscription plans, prompt caching, and task success rates. It includes Python code for computing cache-aware per-call costs and cost-per-success, explains why subscription pricing can reverse the ranking, and offers a practical step-by-step framework for choosing models based on total cost rather than unit price.
1. List Prices: Smaller Providers Do Look Cheaper
In pay-as-you-go API pricing, the flagship models from Chinese providers typically cost only 30% to 60% of what leading overseas models charge. Some lightweight models are priced at less than 3% of mid-tier overseas models. Judging by the API price list alone, choosing a domestic model clearly lowers the cost per call.
This conclusion rests on one assumption: that total spend is simply the sum of per-call charges. Developers can estimate their bill by multiplying unit price by token count. But this calculation only covers part of the picture — it ignores subscription billing, caching, and the cost of failed attempts.
2. Subscriptions: The Conclusion Can Flip
Subscription plans work differently. Users pay a fixed monthly fee, and the included quota is set by the provider. To compare the two pricing models, you first need to convert the monthly fee into a “cost per 100 million tokens.”
One publicly available third-party benchmark offers a set of estimates. A leading overseas subscription plan costs about 1,360 RMB per month, and based on estimated usage can deliver roughly 10.9 billion tokens — about 12.5 RMB per 100 million tokens after conversion. In the same test, another overseas model averaged about 13.6 RMB per 100 million tokens.
The converted prices for several domestic plans varied widely, roughly between 17 and 100 RMB per 100 million tokens. Only the lightest model fell below the converted unit price of the overseas plans. In other words, in subscription scenarios, most domestic plans had a higher actual unit cost than the overseas ones.
Note that these numbers depend on “estimated usage.” The converted unit price changes with actual consumption. If you use far less than the quota cap, your unit cost rises; if you approach the cap, it falls. So these figures are useful for directional judgment, not for predicting an actual bill.
3. Why the Price Ranking Reverses
Pricing differences usually come from three factors.
First, capital and subsidies. Some overseas vendors are backed by massive funding, allowing them to attract heavy-usage developers with cheap subscriptions and build long-term usage habits. This strategy suppresses subscription prices in the short term.
Second, usage assumptions. Subscription pricing is often built on the expectation that most regular users will never exhaust their quota. Some analyses suggest typical users consume only a small fraction of the limit. If that holds, the average cost per plan is diluted.
Third, business focus. Domestic providers face higher compute procurement costs and faster payback pressure, so they tend to compete for enterprise API volume with low per-token prices. Some overseas vendors rely more on consumer and developer subscription business. Different pricing priorities mean the same product can have very different price relationships across channels.
For buyers, this means you must confirm the billing channel before comparing prices. The API price and the subscription price from the same provider may not even be in the same magnitude.
4. Caching: The Often-Ignored Cost Variable
Caching is a key factor in real-world cost. In multi-turn conversations and coding assistant scenarios, system prompts, conversation history, and project files get sent repeatedly. When the server hits its cache, this portion of the input is typically billed at a lower rate.
Benchmark data shows cache hit rates above 90% in some subscription scenarios, and close to 97% for some high-end models. In those cases, most input tokens are effectively billed at the cached rate, and any price comparison must account for the cache discount.
The following function shows how to compute the cost of a single call including caching. The prices in the example are for demonstrating the calculation only — they are not real quotes from any provider.
def attempt_cost(input_tokens: int,output_tokens: int,price_in: float, # RMB per million tokens, regular input priceprice_out: float, # RMB per million tokens, output pricecache_hit_ratio: float, # fraction of input hitting the cache, 0 to 1cache_discount: float, # billing coefficient for cached tokens, e.g. 0.1 means 10% of full price) -> float:cached = input_tokens * cache_hit_ratiofresh = input_tokens - cachedinput_cost = (fresh * price_in + cached * price_in * cache_discount) / 1e6output_cost = output_tokens * price_out / 1e6return input_cost + output_cost
Raising the cache hit rate from 0 to 0.9 can cut the input cost of the same call to a small fraction of the original. When selecting a model, compute with your own workload’s real cache hit rate rather than borrowing someone else’s numbers.
5. Beyond Unit Price: Success Rate Determines Total Cost
A cheap per-call price doesn’t mean a cheap task. Complex tasks — fixing a long-standing bug or refactoring a large codebase — often require multiple attempts. Failed attempts consume tokens too, and they add human review time.
In the same benchmark, twenty models executed the same financial-report statistics task, sixty runs each. Nine models ultimately achieved 100% accuracy, six of them from domestic providers. The cheapest model completed one attempt for only about 0.25 RMB, but reaching a correct result still required verifying the output.
So when comparing models, use “average cost per success,” not “cost per call.”
def cost_per_success(attempt_cost_value: float, success_rate: float) -> float:if success_rate <= 0:raise ValueError("success_rate must be greater than 0")return attempt_cost_value / success_rate
Suppose two models cost 0.236 RMB and 0.035 RMB per call respectively. The first has a 50% success rate, the second 20%. The average cost per success is then about 0.47 RMB for the first and 0.18 RMB for the second — the cheaper model still wins.
This also yields a break-even point. As long as the cheap model’s success rate stays above 0.035 divided by 0.236 — roughly 15% — its cost per success stays below the expensive model’s. Drop below that and the ranking flips. In practice, evaluate this break-even point alongside your real measured success rates.
6. How to Choose: A Step-by-Step Method
Recommended selection process:
- Segment tasks by type. Classify work into simple Q&A, routine code generation, complex bug fixes, and so on; track call counts and average token usage per category.
- Measure cache hit rates. Log what fraction of input tokens hit the cache on each call, and plug that into your cost formula instead of using vendor-marketed figures.
- Measure success rates. Run candidate models multiple times against a test set with known answers, and compute accuracy and retry counts.
- Compute cost per success. Divide per-call cost by success rate and compare across models.
- Compare billing modes. Convert subscription monthly fees into a per-100-million-token price and compare it against pay-as-you-go results. Heavy and light users may reach opposite conclusions.
- Set budget alerts. Pipe daily usage and spend into monitoring with alerts that trigger automatically past a threshold, so subscription quotas or pay-as-you-go bills don’t exceed expectations.
7. Practical Recommendations
Cost optimization shouldn’t fixate on unit price. For simple, high-frequency, fault-tolerant tasks, use a low-cost model and keep cache hit rates high. For complex, low-tolerance, one-shot tasks, prioritize models with high success rates — the savings from fewer retries often outweigh any unit price difference.
On the engineering side, log every model call to a logging service with at least these fields: input tokens, output tokens, cache-hit tokens, success flag, and retry count. With that data, you can periodically refresh your cost model with real numbers instead of relying on a one-time estimate.
Pricing structures shift with the market, and subscription policies and API rates can change. Treat your cost model as something to review regularly, not as a one-and-done calculation.
