LLM Inference Energy Economics: How Much Value Can One Kilowatt-Hour Actually Create?
This article works through a reusable method for pricing LLM inference in terms of energy: how many tokens a single kilowatt-hour produces during the decode phase, why prefill and decode have fundamentally different energy profiles, and how to convert tokens per kWh into an illustrative revenue-per-kWh figure. It also covers where that theoretical number breaks down in real operations, and the engineering techniques — batching, KV and prefix caching, quantization, scheduling, PUE improvements — that raise output per kilowatt-hour in practice.
Why Inference Deserves an Electricity Bill
Most discussion around large models stops at benchmark leaderboards and parameter counts. But what actually decides whether an inference service can run profitably over the long term is usually the electricity bill nobody looks at. Every token generated carries real compute cost, and compute ultimately converts into power consumption and hardware depreciation.
So instead of arguing over whose leaderboard score is higher, consider a harder-edged question: how much value can a single kilowatt-hour of electricity create for LLM inference?
Below we work through a reusable estimation method that turns this from a gut feeling into a ledger.
Step 1: In the Decode Phase, How Many Tokens Does One Kilowatt-Hour Produce
To do the math properly, start with an explicit set of assumptions. Note that all figures below are illustrative assumptions used to demonstrate the calculation method; real values vary significantly with hardware generation, model size, and concurrency strategy.
Key assumptions (inference workload, single high-end inference accelerator):
- Full-load power draw of roughly 700W per card;
- Data center overhead from cooling, networking, CPUs, and so on (PUE ≈ 1.3), for an effective power draw of about 900W;
- For a frontier-scale model running high-batch inference, aggregate output throughput of roughly 1,000 tokens/second per card (reasonable range 500–3,000).
This gives energy per generated output token:
Energy per token = 900 J/s ÷ 1,000 tokens/s = 0.9 J/token1 kWh = 3,600,000 JOutput per kWh = 3,600,000 ÷ 0.9 ≈ 4 million output tokens
In other words, during the pure decode phase, one kilowatt-hour corresponds to roughly 4 million output tokens. This number is the foundation for every cost derivation that follows — but it is extremely sensitive. If throughput drops from 1,000 to 500 tokens/second, output per kWh is immediately cut in half to 2 million. The lesson: throughput is the first lever in inference economics.
Step 2: Prefill and Decode Are Two Different Economies
The calculation above covers decode only. A complete inference request actually has two phases, and their energy characteristics are completely different, so they must be analyzed separately.
Prefill: the phase that processes the input prompt. It can slice the entire input into parallel matrix computation, making it a classic compute-bound workload with far higher throughput — around 10,000 tokens/second per card, and per-token energy as low as 0.09 J.
Prefill output per kWh = 3,600,000 ÷ 0.09 ≈ 40 million input tokens
Decode: the phase that generates tokens one at a time. It is constrained by memory bandwidth rather than compute, making it a memory-bound workload whose per-token cost is an order of magnitude higher.
That 10x gap is not a coincidence. It is the inevitable result of the two workloads being fundamentally different. Understanding this directly determines how you price input versus output, and how you design request scheduling.
Step 3: Converting Energy into Revenue
With output-per-kWh in hand, we can estimate the “nominal value” of one kilowatt-hour. The unit prices used here are illustrative placeholder prices, meant to demonstrate the conversion methodology rather than quote any real product.
Using an example output price of $50 per million tokens:
Output side = 4M tokens × $50/M ≈ $200 per kWh
Using an example input price of $10 per million tokens:
Input side = 40M tokens × $10/M ≈ $400 per kWh
Blending with a typical 3:1 input-to-output ratio:
Blended value ≈ (3×400 + 1×200) / 4 = $350 per kWh (order-of-magnitude reference)
Given the wide uncertainty in throughput, a reasonable range is roughly $100–800 per kWh, or approximately CNY 700–6,000 per kWh.
The most counterintuitive thing about this electricity bill is that the cost of electricity itself is nearly negligible; what is actually being sold is compute efficiency. A kilowatt-hour costs pennies, yet it can carry hundreds of dollars of nominal value. The multiplier in between comes from hardware, software optimization, and model capability combined.
Deeper Reading: What These Numbers Actually Show
The ledger above is easy to misread as “the end is nigh for closed-source models.” Read rigorously, what it actually reveals is that the economics of inference are being redefined, not that any particular business model is ending. Three reasons:
First, revenue is not profit. The figures above are a theoretical ceiling. Real operations must also subtract hardware depreciation, bandwidth, operations, and the cost of failed retries. When concurrency is insufficient and GPU utilization stays low over long periods, output per kWh shrinks substantially and the theoretical value simply cannot be realized.
Second, it is pressure being transmitted, not an elimination order. As the value carried by a unit of compute is repeatedly diluted, industry pricing must keep declining. What gets compressed is the crude, high-margin space — not anyone being forced out. Efficiency replaces information asymmetry as the new moat.
Third, the value of the input side is systematically underestimated. Scenarios such as long context and retrieval augmentation sharply increase the share of input tokens, and prefill’s low-cost profile means that for the same electricity, processing input is usually more economical than generating output — which in turn feeds back into how products are shaped.
Takeaways for Developers: Efficiency Is the Real Moat
Since throughput is the first lever in the economics, cost reduction is not a nice-to-have but a core engineering capability. Each of the following directly raises output per kilowatt-hour:
- Batching: continuous batching packs multiple requests into the same batch, significantly improving GPU utilization and pushing throughput from 500 toward 3,000;
- KV Cache and prefix caching: reuse system prompts and shared context to avoid repeated prefill, directly reducing wasted compute on the input side;
- Quantization: lower memory footprint and memory traffic at acceptable accuracy loss, with decode benefiting most;
- Sensible scheduling and warm-up: stagger prefill and decode workloads so that compute-bound and memory-bound tasks do not drag each other down;
- PUE governance at the infrastructure level: every improvement in cooling and power delivery efficiency reduces the effective power draw in the denominator.
In practice these optimizations rest on a few general-purpose infrastructure capabilities: a container platform for elastic scaling that tracks traffic, logging services with monitoring and alerting to continuously observe per-card utilization, object storage to retain reusable caches and datasets, and a message queue to smooth request spikes. Comparable capabilities exist across general product categories on platforms such as Baidu AI Cloud and can serve as the building blocks for capacity planning and cost reduction.
Conclusion: Treat the Electricity Bill as a Reusable Thinking Framework
Back to the original question — how much value can one kilowatt-hour create? Answer: under the illustrative assumptions, on the order of several million tokens and a few hundred dollars of nominal value, though the figure depends heavily on throughput and utilization.
What is actually worth remembering is not the specific conclusion of “4 million,” but the estimation framework itself: split prefill from decode first, then make assumptions and ranges explicit, then chain energy consumption, throughput, and utilization into a single cost model. Next time you evaluate the cost-effectiveness of an inference setup, run this electricity bill first — it gets closer to business reality than any leaderboard.
