How to Evaluate LLM Token Consumption Scientifically
When discussing the token consumption of a new LLM generation, two seemingly contradictory claims often appear: one says tokens consumed per task have dropped significantly, while the other says overall task costs have actually risen. Both figures can be true—they simply answer different questions. The former measures "how much material the work consumes," while the latter measures "how much you pay to complete a task." To evaluate token consumption scientifically, you need to separate measurement scope, formulas, scenarios, and pricing models.
How to Evaluate LLM Token Consumption Scientifically
When discussing the token consumption of a new generation of large language models, two seemingly contradictory claims often appear: one says token consumption per unit of work has dropped significantly, while the other says the overall cost of completing tasks has actually risen. Both numbers can be true—they simply answer different questions. The former describes “how much material the work consumes,” while the latter describes “how much you pay to finish a task.” To evaluate token consumption scientifically, you need to break down measurement scope, formulas, scenarios, and pricing models.
1. Align the Measurement Scope First: What Exactly Are You Measuring?
Token consumption comes in at least three common measurement scopes.
The first is the per-call scope: how many input and output tokens a single request consumes. This is useful for observing API-level costs, but it does not represent the full cost of a task.
The second is the end-to-end task scope: everything from task start to final delivery is counted, including all turns of input and output, tool calls, failed retries, and context compression. Scenarios such as coding agents, data analysis agents, and multi-step retrieval-augmented Q&A must use this scope, because in these tasks the bulk of consumption rarely comes from the final answer—it comes from repeated trial and error, file reading, error correction, and replanning.
The third is the per-successful-task scope: only tasks that ultimately pass acceptance are counted, and you compute average tokens, P50/P95 tokens, and successful tasks per dollar. This comes closest to business cost, but it requires your evaluation set to have a clear success criterion.
Evaluation environments must also be aligned: are system prompts identical, are context windows the same size, are toolsets equivalent, are retries limited, is cache being hit, and are failed tasks included? Otherwise, “fewer tokens” may simply mean shorter tasks, stronger tools, or failed tasks being excluded.
2. The Core Formula: Token Volume Must Be Multiplied by Unit Price
The cost of a single task can be abstracted as:
def estimate_task_cost(input_tokens, output_tokens, p_in, p_out,retry_factor=1.0, cache_hit_rate=0.0,tool_cost=0.0):"""Example cost estimation, not tied to any specific product or pricing rule.p_in / p_out are per-token input and output unit prices.retry_factor is the amplification factor for total consumption including retries.cache_hit_rate is the discount ratio for reusable context."""effective_in = input_tokens * retry_factor * (1 - cache_hit_rate)effective_out = output_tokens * retry_factorreturn effective_in * p_in + effective_out * p_out + tool_cost
More generally, if total token volume changes by a factor of α and the blended unit price changes by a factor of β, the task cost ratio is α × β. This simple product explains most of the controversy:
- If α = 1/3 and β = 2.5, the cost ratio is about 0.83—high-workload tasks may see a slight cost reduction;
- If α = 0.9 and β = 2.5, the cost ratio is about 2.25—long-form or knowledge-heavy tasks may become noticeably more expensive;
- If input and output prices rise by different amounts, you must weight them by the input/output ratio rather than looking at a single unit price.
Therefore, “token consumption dropped” and “task prices went up” are not contradictory. They correspond to α and β respectively, while what users ultimately pay is the bill after α × β.
3. Why Token Efficiency Gains Don’t Equal Lower Task Costs
Token efficiency gains typically come from four mechanisms: reducing wasted retries, retaining working memory across contexts, compressing intermediate states, and optimizing tool-call paths. In long tasks, the biggest source of rework is often not a single wrong line of code, but repeatedly falling into the same pits after losing context. If a model can reliably carry its working notes, constraints, and already-ruled-out approaches into later turns, it can avoid redundant reading and redundant reasoning.
However, efficiency gains get redistributed by the pricing model. If unit prices rise—especially output prices—tasks with high output volume, multi-turn summarization, and long-form generation will burn through the token savings faster. In coding agent scenarios, higher task success rates and reduced rework may offset price increases; in long-form and knowledge-heavy tasks, token savings are limited, so price increases flow directly to the bill.
When evaluating, ask four questions:
- Do the savings occur on the input side or the output side?
- Do the savings come from shorter tasks, or from fewer retries?
- Are price increases concentrated on output or on high-reasoning tiers?
- Is your business workload coding-heavy, long-form, or high-frequency short Q&A?
4. Scenario-Based Evaluation: The Same Model Can Move Prices in Two Directions
Coding agent scenarios: Focus on cost per successful task, test pass rates, rework counts, and P95 cost. If tokens drop to one-third of the previous generation while unit prices rise 2.5×, the cost ratio is about 0.83; if the success rate also improves, the effective cost drops even further. For high-frequency coding tasks, this can effectively be a price cut.
Long-form and knowledge-heavy tasks: Look at input/output ratios, how often context compression kicks in, and factual consistency. If tokens drop only slightly while unit prices rise significantly, task costs may go up rather than down. In that case, set budget caps, use segmented summarization, reuse caches, and stop early on failures.
High-frequency short Q&A: Single calls are short, so caching and batching matter most. Focus on cache hit rates, system prompt reuse, and output length control—not just peak token efficiency.
5. Pricing Strategy and Product Segmentation
From a product strategy perspective, it is a common move to bundle progress and price increases around high-value scenarios like coding agents, then use token efficiency gains as the marketing hook. The marketing message emphasizes the first number; the finance department only recognizes the second. Enterprises choosing models should keep “two ledgers”: a technical ledger tracking token efficiency, success rates, and latency, and a financial ledger tracking cost per successful task, monthly budgets, and quota consumption.
Subscription pricing also deserves separate evaluation. Subscriptions don’t bill per token; they run on limits or quotas. Token efficiency gains mean the same quota completes more tasks—a real benefit. But if price increases make pay-as-you-go scenarios more expensive, subscription users and API users will reach different conclusions. Always distinguish billing models when evaluating.
6. A Practical Evaluation Checklist
At minimum, record the following in your evaluations: task definitions and success criteria, input/output tokens, retry counts, tool call counts, context compression counts, cache hit rates, P50/P95 costs, and successful tasks per dollar. Run sensitivity analysis on candidate models: assume token drops of 10%, 30%, and 67%, combined with price increases of 1.5× and 2.5×, and observe how the cost curves shift.
The final conclusion should not be “lower token consumption is better.” Instead, ask: in your target scenario, has the blended cost per successful task gone down? Do quality and stability meet requirements? Is budget volatility under control? Token consumption is an important metric, but only when placed inside a task cost formula and a business context does it become decision-relevant.
