The Energy Economics of LLM Inference and the Restructuring of AI Costs
This article examines why the unit cost per token, rather than benchmark rankings, is becoming the decisive factor in the LLM market. It builds a reproducible energy model showing that one kWh yields roughly 4 million output tokens under stated assumptions, explains the cost split between prefill and decode, outlines the three conditions for tokens to become a utility-like resource, and provides a practical checklist for lowering cost per kWh.
1. From Top Benchmark Scores to Top Cost Efficiency: A Shift in Competition
For a while, industry discussion of model capability has centered on leaderboard rankings. When a new model beats comparable flagship models on aggregate scores, it is often read as a signal of a reshaped landscape. From an engineering perspective, however, benchmark scores are only one facet of capability. The variable that actually determines market structure is the usable cost per token: under given latency and quality constraints, how much compute, electricity, and operational overhead each million tokens requires.
A more realistic assessment is that the capability gap between leading models is narrowing, with differences concentrated in specific areas such as long context, tool calling, structured output, and code generation. As capabilities converge, tokens shift from a scarce technical resource to a basic flow, similar to water or electricity, with prices set by marginal cost. The core components of marginal cost are power and hardware depreciation. This article follows that view: first establishing a reproducible energy model, then discussing the deployment and business models that follow from it.
2. Calculation Assumptions: Turning “Tokens per kWh” into a Reproducible Formula
The original conclusion is that one kWh produces roughly 4 million output tokens. This order of magnitude is reasonable, but it depends heavily on assumptions, so those assumptions must be made explicit before the figure can be used for capacity planning.
Four key variables matter:
- Per-card power and facility overhead: An accelerator card draws about 700W at full load. Adding cooling, networking, storage, and scheduling components, with a PUE of roughly 1.3, effective power is taken as 900W.
- Aggregate output throughput per card: In large-batch inference, aggregate output speed per card is about 1,000 tokens/s, with a conservative range of 500–3,000 tokens/s.
- Energy per token: 900 J/s ÷ 1,000 tokens/s = 0.9 J/token.
- Power conversion: 1 kWh = 3.6×10⁶ J, so 3.6×10⁶ ÷ 0.9 ≈ 4×10⁶ output tokens per kWh.
Abstracting the formula makes it easy to substitute any hardware or concurrency assumption:
tokens_per_kWh(output) = 3.6e6 / (P_card * PUE / throughput_out)tokens_per_kWh(input) = 3.6e6 / (P_card * PUE / throughput_prefill)Where:P_card Per-card power (W)PUE Facility power efficiency ratiothroughput Aggregate throughput per card (tokens/s)
It is important to stress that throughput is not a constant. It is a function of concurrency, context length, batching strategy, and memory bandwidth. Longer contexts mean larger KV cache occupancy, smaller feasible batches, and higher energy per token. The result should therefore be treated as a central value within a typical range, not a guaranteed figure.
3. The Cost Split Between Input and Output: Prefill and Decode Are Two Different Economies
LLM inference has two phases, prefill and decode, with fundamentally different energy profiles:
- Prefill is highly parallel matrix computation with high compute utilization. Per-card throughput can reach about 10,000 tokens/s, energy is about 0.09 J/token, and one kWh can process about 40 million input tokens.
- Decode is token-by-token autoregression constrained by memory bandwidth, with energy roughly an order of magnitude higher than prefill.
At an output-side price of $50 per million tokens and an input-side price of $10 per million tokens, the “revenue-side value” of one kWh is about $200 and $400 respectively. Mixing at a typical 3:1 input-to-output token ratio lands at roughly $250–300 per kWh, or about RMB 1,800–2,200. Factoring in throughput uncertainty, a reasonable band widens to $100–800 per kWh.
These numbers point to one engineering conclusion: optimization should focus on the decode side. Improving batching efficiency, introducing paged KV cache management, reusing prefixes for long contexts, and splitting parallelizable prefill from memory-bound decode into separate resource pools are all direct ways to lower cost per kWh.
# Illustration: split unit token cost and kWh output by phasedef energy_per_token(power_w, pue, throughput_tps):return (power_w * pue) / throughput_tps # joules/tokendef tokens_per_kwh(power_w, pue, throughput_tps):return 3.6e6 / energy_per_token(power_w, pue, throughput_tps)prefill = tokens_per_kwh(700, 1.3, 10000) # ~4.0e7decode = tokens_per_kwh(700, 1.3, 1000) # ~4.0e6def revenue_per_kwh(n_tokens, price_per_million):return n_tokens / 1e6 * price_per_millionmixed = (3 * revenue_per_kwh(prefill, 10) +1 * revenue_per_kwh(decode, 50)) / 4print(prefill, decode, mixed) # order of magnitude ~ 4e7, 4e6, 250~300
4. The Price Decline Curve: Three Prerequisites for Tokens to Become a Utility
For tokens to truly become a basic resource, three conditions must be met simultaneously:
- Capability homogenization: The gap between mainstream models on general tasks narrows to the point where users can barely perceive it, and the selection criterion shifts from “who is stronger” to “who is cheaper, more stable, and more compliant.”
- Supply at scale: Inference cluster utilization rises, idle compute is absorbed by batching and off-peak scheduling, and marginal cost keeps falling.
- Standardized metering: Separate billing for call volume, cache hits, and input versus output becomes industry practice, allowing buyers to budget the way they buy electricity.
Once these three curves converge, a price war is not a strategic choice but an inevitable result of cost structure. Competitive barriers then shift from the model itself to inference efficiency, scheduling capability, and data compliance.
5. Market Outlook: Behavioral Paths of Three Types of Players
Large enterprises move toward self-hosting and private deployment. Once daily call volume crosses a certain threshold, pay-as-you-go spending exceeds the amortized cost of a self-built cluster. Enterprises then prefer deploying open-weight models in their own or dedicated cloud environments, using container platforms for elastic scaling, object storage for models and datasets, and monitoring and alerting to track latency and failure rates. The core needs are predictable cost, data staying within domain, and supply chain control.
Relay and aggregation services shift to a “channel fee” model. For SMBs and individual developers, the aggregation layer earns a spread through a unified interface, volume discounts, and cache reuse. Its profit depends on the kWh efficiency and utilization of its own inference pool. As upstream prices approach the cost line, the competitiveness of such services rests entirely on engineering optimization.
Model providers pivot to efficiency and vertical depth. Competing on leaderboards alone is hard to sustain a premium. Only those that accumulate industry evaluation sets, a tool-calling ecosystem, and stable SLAs retain pricing power amid homogenization.
6. Enterprise Checklist: Six Levers to Push Down Cost per kWh
- Build your own unit economics model: Use J/token as a common measure, tracking prefill and decode separately, and avoid letting averages hide structural problems.
- Improve batching and concurrency: Within the latency budget, increasing batch size as much as possible is the most direct way to raise throughput.
- Prefix and semantic caching: Reuse system prompts, long documents, and high-frequency Q&A to significantly cut repeated prefill.
- Tiered routing: Send simple requests to smaller models and escalate complex ones, avoiding overuse of the high-cost path.
- Hybrid deployment: Self-host at troughs and use pay-as-you-go at peaks, with dedicated resources as a baseline and public resources for peak shaving.
- Full-stack observability: Bring token consumption, cache hit rate, and failed retries into monitoring, alerting, and logging to enable cost attribution.
7. Conclusion
The attention that comes from topping benchmarks is short-lived; kWh output and unit token cost are the long-term variables. When engineering closes the energy gap between input and output, and when tokens are metered and scheduled like water and electricity, the market will naturally split into three layers: self-hosting, relay, and efficiency competition. For enterprises, the right move now is not chasing leaderboards but writing energy and throughput assumptions into their own capacity models and using reproducible numbers to guide architecture choices and procurement decisions.
