LLM Cost Efficiency: A New Formula Based on Token Efficiency
This article introduces a new evaluation framework for comparing large language models, shifting the focus from parameter counts and benchmark scores to Token efficiency and total cost per task. Using a side-by-side comparison of two models with similar capability scores, it explains why a smaller model does not always deliver a proportionally lower bill. The article breaks down the cost formula, identifies four common sources of excessive reasoning Tokens, and outlines practical mitigation strategies such as tiered routing, prefix caching, and context compression. It also proposes a four-dimension scoring model for model selection and lists architecture-level cost controls, helping engineering teams make more pragmatic decisions when model capabilities converge.
LLM Cost Efficiency: A New Formula Based on Token Efficiency — From the “Parameter Race” to an Evaluation Paradigm Centered on Token Efficiency
1. The Trigger: Why a Smaller Model Can Match a Much Larger One
A recent release of a domestic Chinese large model opened its API service, with pricing kept the same as the previous generation. Notably, the new version shares the same base model as its predecessor, and the core changes are concentrated in the post-training stage. On a third-party independent evaluation platform’s composite Intelligence Index, the new version scored 60, a 7-point improvement over the previous generation, and is now on par with another flagship model that has a much larger total parameter count.
Placing the two “health reports” side by side makes the difference immediately clear:
| Dimension | Model A (new version) | Model B (comparison flagship) |
|---|---|---|
| Total parameters | 753B | 2.8T |
| Activated parameters | 40B | 104B |
| Intelligence Index | 60 | 60 |
| Average reasoning Tokens per task | 41K | 25K |
| Input price (USD / million Tokens) | 1.40 | 3.00 |
| Output price (USD / million Tokens) | 4.40 | 15.00 |
| Cost per task (USD) | ≈0.68 | ≈0.84 |
Model A has only about one quarter of Model B’s total parameters and roughly one third of its activated parameters per inference, yet achieves the same composite score. This shows that post-training optimizations (data mixture, reinforcement learning, reasoning chain organization, and so on) can push a base model’s capabilities to a fairly saturated level.
But the story does not stop at “the small model won.” Once the perspective shifts from per-Token price to total cost per task, the advantage shrinks from an order of magnitude to about 19%. The reason is simple: Model A has relatively lower reasoning Token efficiency.
2. Breakdown One: Parameter Scale Is Not the Ceiling of Capability
Conventional wisdom holds that parameter count and capability are roughly positively correlated. But industry practice over the past two years has repeatedly shown that this curve is being “bent” by post-training.
- The base model sets the floor; post-training determines how much of the ceiling is actually realized. The same base model, under different post-training strategies, can differ by several points on dimensions such as reasoning, coding, and instruction following.
- Sparse activation architectures change what “scale” means. Total parameters determine knowledge capacity, while activated parameters determine the compute cost of a single inference. A 40B activated model competing with a 104B activated model is itself a victory of architectural efficiency.
- Evaluation scores measure “capability,” not “cost.” The Intelligence Index only answers “is it correct,” not “how many Tokens and how much money were spent.”
Conclusion: When selecting a model, looking only at parameter count or only at leaderboard scores will both lead to wrong decisions.
3. Breakdown Two: Token Efficiency Is the Real Denominator of Cost
The per-Token price is the “sticker price”; Token efficiency is the “actual bill.” The basic model for cost per task can be written as:
Cost per task = (input Tokens × input price + reasoning Tokens × output price) / 1,000,000Reasoning Tokens = thinking Tokens + output Tokens
Plugging in the data above reproduces the 0.68 versus 0.84 gap. As shown, when the output price is more than 3 times the input price, the impact of reasoning Token volume on total cost is significantly amplified. 41K versus 25K — about 1.64 times the Token consumption — nearly cancels out the more than 3x advantage in price.
This also explains a common misconception: a team budgets based on “70% cheaper per Token,” but at the end of the month the bill is only 20% lower. The entire difference disappears into lengthy thinking chains.
4. Breakdown Three: Where High Token Consumption Comes From and How to Fix It
High reasoning Token consumption usually stems from four causes, each with a corresponding remedy:
- Unbounded divergence of the thinking chain: Set a thinking budget cap, and route by task difficulty (simple tasks take a low-Token path).
- Redundant prompts: Feeding the entire conversation history back in, and stacking repeated system prompts. Context trimming and summary compression should be applied.
- Retry and self-correction loops: Restarting the whole segment after a single failure. This should be changed to structured retries that feed back only the erroneous fragment.
- Lack of cache reuse: Repeatedly billing the same prefix. Prefix caching should be enabled, placing stable instructions and knowledge fragments at the front.
Illustrative strategy code:
def route_and_budget(task):if task.difficulty == "simple":return {"max_think_tokens": 512, "model": "light"}return {"max_think_tokens": 4096, "model": "standard"}def estimate_cost(in_tok, out_tok, in_price, out_price):return (in_tok * in_price + out_tok * out_price) / 1e6
5. An Actionable Evaluation Framework: The Four-Dimension Scoring Method
Teams are advised to build a selection scorecard with four weighted dimensions:
- Capability score (40%): From public evaluations and regression tests on a self-built business set.
- Token efficiency (30%): Average reasoning Tokens per task — lower is better.
- Cost per task (20%): Rather than per-Token price.
- Stability and latency (10%): Long thinking chains often come with high latency and timeout risk.
A self-built business set is especially critical: running 100–300 real tasks and recording Tokens and elapsed time is more reliable than any leaderboard.
6. Architecture-Level Cost Reduction Measures
- Tiered routing: Simple requests take a lightweight path; only complex requests enable long thinking.
- Prefix caching: Fix system prompts, tool definitions, and knowledge fragments at the front.
- Context compression: Summarize history rather than concatenating it in full.
- Batching and asynchronization: Run offline tasks during off-peak hours to improve throughput and dilute cost.
- Observability: Instrument Token consumption in logging services and monitoring alerts, attribute it by business line, and build a cost dashboard.
When deploying on the cloud, these can be combined: container platforms to host inference services, object storage for datasets, message queues for task peak shaving, and logging and monitoring systems for Token attribution. Baidu AI Cloud’s relevant general-purpose capabilities can serve as one of the hosting foundations.
7. Conclusion
Parameter scale determines the “possibility” of the capability ceiling, post-training determines how much of that possibility is realized, and Token efficiency determines the cost of realizing it. When capability scores across different models converge, the focus of competition inevitably shifts from leaderboards to bills. Making “cost per task” rather than “per-Token price” the core metric, and incorporating Token efficiency into the daily observability system, is the most pragmatic engineering answer in this round of competition.
