LLM Token Efficiency vs. Task Cost: Why Fewer Tokens Can Mean a Higher Bill
Token usage and task cost are often reported as contradictory numbers, yet both can be true because they measure different things. This article explains how to align token accounting boundaries, where the savings from reduced context loss come from, and why per-token price increases can erase efficiency gains for some workloads. It includes a cost calculation example and a workload-based selection checklist to help readers evaluate whether a new model generation is actually cheaper for their use case.
1. Two Contradictory Numbers Can Both Be True
An evaluation report may contain a pair of conclusions like this: one generation of a model uses only one-third of the tokens of the previous generation to complete the same type of task; elsewhere, the same report states that its average cost per task is substantially higher than the previous generation. Many people’s first reaction is “the report is wrong,” but a more likely explanation is that the two metrics have different denominators.
Token consumption measures “how much material is burned to finish a job.” Task cost measures “how much is actually paid for that job.” The former depends only on model behavior; the latter equals usage multiplied by unit price, plus retries, failures, and human review. If usage drops by two-thirds while unit price rises to 2.5x, the product is no longer a price cut but scenario-dependent differentiated pricing.
Understanding this matters more than memorizing any specific number: to assess whether a model generation is “cheaper,” you must first confirm whether billing is usage-based or quota-based, and which type of workload your task belongs to.
2. First, Align the Unit for “Token Consumption”
In launch-event contexts, “saving tokens” usually refers to the total tokens consumed to complete a verifiable task, including all turns from task start to acceptance, with every trial-and-error step and every tool-call feedback loop counted. This is not the same as the everyday notions of “context length” or “input-output ratio.”
An evaluation methodology should align at least three things:
- Scoring: score by task completion, not by the length of a single-turn answer;
- Measurement boundary: whether tool return content, retrieval snippets, and failed retries are included;
- Tier alignment: different reasoning tiers of the same model (high vs. low thinking budget) must not be mixed.
When the methodology is inconsistent, “saved 70%” and “75% more expensive” can coexist, and neither is lying.
3. Where the Saved Tokens Come From: Context No Longer Repeatedly Lost
The real waste in long tasks rarely comes from “writing buggy code.” It comes from key decisions being lost after context compression: why this approach was chosen, which constraints cannot be touched, which paths have already been ruled out. Compress once, and those reasons are squeezed out; the model can only probe again, burning double the tokens to step into the same pit a second time.
The corresponding engineering direction is stable:
- Externalize task state as persistent working notes (decision records, constraint lists, verified assumptions) that do not depend on the conversation window;
- Compress intermediate conclusions with structured shorthand, for example writing recurring judgments as a rule table or state machine rather than long natural-language paragraphs;
- Feed retrieval back on demand, taking only the snippets required for the current step and avoiding stuffing an entire corpus into the context;
- Explicitly mark failed paths to prevent repeated attempts across compression cycles.
An illustrative externalized state structure:
{"goal": "Add idempotent writes to the order service","constraints": ["Do not change the external interface", "Writes must be replayable"],"decisions": [{"choice": "Deduplicate by business key", "reason": "Avoid introducing a new storage dependency"}],"rejected": ["Time-window deduplication: fails in replay scenarios"],"verified": ["Duplicate submissions return the same result"]}
The benefit of this approach is architectural: token usage per task drops, and the reduction grows with task duration—the longer the task, the more obvious the compounding effect of avoiding repeated trial and error.
4. You Are Not Paying for Tokens, You Are Paying for Tasks
A unit price increase directly swallows the efficiency dividend. Suppose the previous generation’s input and output prices were 4 and 10 (per million tokens), and the new generation’s are 10 and 50, so the unit price rises by about 2.5x. If usage drops to one-third, the theoretical cost is about 0.83x of the original; but if a certain type of task only reduces token usage by about 10%, the cost becomes about 0.9 × 2.5 ≈ 2.25x of the original, meaning more than double the price.
Use a general calculation to find the divergence point:
def task_cost(tokens_in, tokens_out, price_in, price_out, retries=0.0):effective = 1.0 + retries # Extra usage from failed retriesreturn (tokens_in * price_in + tokens_out * price_out) * effective / 1e6# Coding: usage drops to 1/3, unit price rises 2.5xold = task_cost(3000, 1000, 4, 10)new = task_cost(1000, 333, 10, 50)print(old, new) # The two are close; cost is roughly flat# Knowledge-based long-form: usage only drops 10%old2 = task_cost(8000, 2000, 4, 10)new2 = task_cost(7200, 1800, 10, 50)print(old2, new2) # The new option is significantly more expensive
The conclusion is clear: coding agent workloads belong to the “high usage elasticity” scenario, where the efficiency dividend is enough to offset the price increase; long-form writing and knowledge Q&A belong to the “low usage elasticity” scenario, where the price increase is passed almost fully to the bill.
5. Selecting by Workload Type: A Decision Checklist
- Long-chain, automatically verifiable, retryable tasks (code refactoring, batch refactoring, test completion): prioritize high reasoning tiers, where the room for usage reduction is greatest;
- Short Q&A, summarization, single-turn rewriting: highly sensitive to unit price; a low-price tier or smaller model is more cost-effective;
- Mixed workloads: implement routing tiers, sending simple requests to lightweight tiers and escalating complex requests, avoiding sending everything to the high-price tier;
- Subscription or quota-based users: when not billed by token, improved token efficiency is equivalent to doing more work with the same quota, and this benefit is real.
Supporting engineering practices are equally important: cache repeated prefixes, trim retrieval snippets, set maximum turns and timeouts, deduplicate and merge failed requests, and move acceptance criteria forward into automatically executable checks to reduce ineffective round trips.
6. Conclusion
“Token usage down by two-thirds” and “cost per task up” describe two sides of the same thing: technological progress is real, but it is directed at the scenarios most sensitive to usage, while price increases in other scenarios are covered by the average in the headline. What readers should do is not take sides on a number, but build their own methodology: align evaluation boundaries, calculate total cost by workload type, and externalize context state to reduce repeated trial and error. Do these three things, and the bill is no longer determined by the headline but by your architecture.
