Token Economics Rebuilt: The Cost Logic of Compute Under China's Ledger
This article explains why falling per-token prices and rising total token spending are happening at the same time, driven by the Jevons effect in compute. It breaks inference cost into four attributable segments, outlines capacity planning based on peak demand, and presents five cost-reduction levers: prefix reuse, retrieval instead of full context, model tier routing, output constraints, and result reuse with idempotency. It also proposes a governance framework based on tagging, budgets and quotas, and change review, concluding that durable advantage comes from engineering efficiency rather than procurement price.
1. The Inverted Ledger: Unit Prices Fall While Total Spend Climbs
Over the past three years, the price per token has dropped by orders of magnitude, a decline of more than 90%. Yet enterprise spending on tokens has not contracted in step; it has climbed exponentially. This pair of seemingly contradictory trends is the Jevons effect at work in compute: as model architecture improvements, inference engine optimizations, and accelerator chip iterations push down the marginal cost of a single call, the demand that is unleashed quickly fills the new capacity, so total resource consumption rises rather than falls.
In the Chinese market, this curve is steeper. Public data shows that as of March this year, daily token calls in China exceeded 140 trillion, compared with roughly 100 billion in early 2024 — about a 1,400x increase in a little over two years. Industry research firms further project that token call volume in China will still have roughly 20x of headroom in 2026 relative to 2025. Translated into engineering terms: the gains from unit-cost optimization are quickly consumed by call-volume growth, so cost governance must shift from “pushing down unit price” to “managing total volume and structure.”
It is worth stressing that the Jevons effect does not negate the value of cost reduction; it redefines the objective function of cost reduction. The real significance of a falling unit price is that it opens up scenarios that were previously uneconomical — long-document understanding, full-codebase analysis, multi-turn agent orchestration, and bulk data labeling and synthesis. These scenarios could not be justified when unit prices were high, and they are now the main sources of token consumption. So the core variable of the ledger shifts from “how much per call” to “which scenarios are worth consuming, where the consumption happens, and whether it can be reused.”
2. A Four-Part Breakdown of Token Cost
To get the accounting right, cost first has to be broken down to a level where it can be attributed. The token overhead of a single inference request can be split into four parts:
- Input context: system prompts, retrieved snippets, conversation history, and tool return values — usually the largest item in long-context applications;
- Output generation: most directly tied to business value, but constrained by decode length and structured-output requirements;
- Retry and failure overhead: repeated consumption caused by timeouts, rate limiting, and format-validation failures — often overlooked yet a sizable share;
- Orchestration overhead: control calls such as multi-agent coordination, multi-round reflection, and routing decisions, which produce no business result themselves.
A common accounting basis can be fixed with illustrative code, making it easier to attribute cost by scenario:
# Illustrative only: aggregate token consumption and failure overhead by scenariorecord = {"scene": "code_review", # business scenario"input_tokens": 18500, # context and retrieved snippets"output_tokens": 1200, # generated result"retry_count": 2, # number of retries"cache_hit": False, # whether the prefix cache was hit"latency_ms": 9400 # end-to-end latency}cost_units = (record["input_tokens"] + record["output_tokens"]) * (1 + record["retry_count"])
With a unified basis in place, teams can answer three key questions: whether cost growth comes from call volume or from per-request inflation; which scenarios have marginal returns below marginal cost; and which consumption is avoidable, ineffective overhead.
3. Inference Capacity Planning: Design for Peak as the Norm
Token consumption is highly uneven. When business peaks, batch jobs, and burst traffic stack up, insufficient capacity shows up directly as rate limiting and timeouts, and rate limiting in turn triggers retries, creating a vicious feedback loop of worsening cost and latency. Capacity planning should follow three principles:
- Size for peak rather than average, and give batch jobs a separate channel so they do not compete with online interactions for quota;
- Enforce timeouts, backoff retries, and circuit breaking across the full chain, with an explicit upper bound on retries — unlimited retrying is not allowed;
- Build dashboards centered on “cost per 10,000 calls” and “tokens per unit of business output,” closing the loop with logging services and monitoring alerts.
On deployment shape, a common approach is to run elastic inference workloads on a container platform with autoscaling to absorb peaks; decouple requests and results through a message queue to smooth out bursts; and push large corpora and intermediate artifacts down to object storage to reduce repeated computation and repeated transfer. These are general capability categories, and specific parameters should be based on actual load-test results rather than copied from someone else’s configuration.
4. Five Levers for Cost-Reduction Engineering
- Prefix reuse: keep stable system prompts and specification documents at the front and unchanged, so the inference side’s prefix cache can be hit and repeated input in long contexts is significantly amortized;
- Retrieval instead of full context: use retrieval augmentation to change “stuff the whole corpus into the context” into “fetch only the relevant snippets” — the most effective structural optimization for long-context scenarios;
- Model tier routing: route lightweight tasks such as intent classification and format conversion to smaller-parameter models, and escalate to large models only for complex reasoning, while keeping the routing logic itself cheap to run;
- Output constraints: constrain generation with structured schemas, length limits, and explicit stop conditions to reduce wasted tokens and parse failures;
- Result reuse and idempotency: apply semantic-level caching to identical or similar requests, and design idempotency keys for write operations to avoid duplicate billing and data inconsistency caused by retries.
Baidu AI Cloud’s engineering practice in inference cost and efficiency follows the same general lines: through elastic resource scheduling, cache reuse, and tiered inference services, it helps enterprises flatten the cost curve during periods of rapid call-volume growth rather than relying solely on falling unit prices.
5. A Governance Framework: Make Cost Attributable, Budgetable, and Reversible
Cost governance needs to be institutionalized. Three layers are recommended: first, a tagging system in which every call carries scenario, business-line, and environment tags to enable attribution by dimension; second, budgets and quotas that set a token budget and alert threshold for each scenario, degrading gracefully rather than failing outright when limits are exceeded; third, change review, in which any adjustment to prompts, context length, or model version is treated as a cost change and must be assessed for cost per unit of output before a canary release.
An illustrative policy decision can be expressed like this:
policy:scene: document_qamax_input_tokens: 12000 # trim via retrieval if exceededroute: small_model # lightweight model by defaultescalate_on: low_confidence # escalate only on low confidenceretry_limit: 1cache: semantic # semantic-level result reuse
6. Conclusion: From Pushing Down Unit Price to Operating Efficiency
The long-term decline in token prices is a trend, but whether enterprises benefit from it depends on whether they have the engineering capability to turn cheap compute into effective output. The real moat lies not in procurement price but in the quality of context organization, cache and reuse rates, model routing accuracy, and control over failure overhead. Only by breaking the ledger down in detail, sizing capacity for peak, and turning cost reduction into a measurable engineering process can you protect both gross margin and stability through a cycle in which call volume grows tens of times a year.
