LLM Inference Energy Efficiency: How Many Tokens Can One kWh Produce?

    This article estimates how many tokens one kilowatt-hour (kWh) can produce during large language model inference. It covers the energy used by input prefill and output generation, converts that energy into dollar value at typical API prices, and explains what the results mean for pricing, model architecture, and infrastructure decisions.

    The competition among large language models looks like a contest over model capability. At its core, it increasingly resembles a contest over output per unit of energy. When inference reaches billions of calls per day, electricity cost becomes a key variable in service pricing and in the long-term sustainability of a business model. This article starts from a simple question: how many tokens can one kWh produce? From there, it breaks down the energy structure of LLM inference, the logic for converting energy into cost, and what energy efficiency means for the industry.

    1. Assumptions

    Any energy estimate depends on clear boundary conditions. We base this estimate on inference scenarios common in the industry today, using the following assumptions:

    • Hardware: a high-end data center GPU accelerator drawing roughly 700 W under load.
    • Data center overhead: Beyond the GPU’s compute power, a data center also needs cooling, power conversion, networking equipment, CPUs, and memory. Power usage effectiveness (PUE) measures this overhead. Advanced industry facilities reach a PUE of about 1.3. This gives an effective power draw of roughly 900 W per GPU.
    • Inference throughput: For a frontier LLM handling large batches of concurrent requests, we assume an aggregate output speed of 1,000 tokens per second per GPU. This figure depends on model size, batch size, sequence length, and quantization strategy. A reasonable range is about 500 to 3,000 tokens per second.

    2. Energy per Output Token

    Output generation is autoregressive. Each generated token requires a full forward pass through the model, which makes output the largest share of inference energy.

    Energy per token:

    900 J/s ÷ 1,000 tokens/s = 0.9 J/token

    Output per kWh:

    One kWh equals 3,600,000 J, so:

    3,600,000 ÷ 0.9 ≈ 4 million output tokens per kWh

    In other words, one kWh can power a model to generate about 4 million tokens. At typical text density, that is several million characters of continuous text. The number is large on its own, but it becomes more striking once it is converted into commercial value.

    3. Energy for Input Prefill

    Inference involves more than output. Input tokens go through a prefill stage before generation begins. Prefill differs from output in one fundamental way: it is parallel.

    Prefill can process an entire input in one pass. Its compute density is high and its memory access is efficient. A single GPU can reach about 10,000 tokens per second in prefill, roughly ten times the output rate.

    • Energy per token: 900 ÷ 10,000 = 0.09 J/token
    • Input tokens per kWh: 3,600,000 ÷ 0.09 ≈ 40 million tokens

    Because prefill has high throughput and low energy per token, cloud providers typically charge significantly less for input tokens than for output tokens. This pricing matches the underlying cost structure.

    4. Converting Energy into Revenue

    Converting energy into commercial value makes the economics of an inference business easier to see. Assume output pricing of about $50 per million tokens and input pricing of about $10 per million tokens.

    • Output: 4 million tokens × $50 per million ≈ $200 per kWh
    • Input: 40 million tokens × $10 per million ≈ $400 per kWh

    Mixing these at a 3:1 input-to-output ratio, which is common in practice, gives roughly $250 to $300 of value per kWh. Throughput directly determines energy per token, so the result carries uncertainty. A reasonable range is $100 to $800 per kWh.

    The result shows that electricity makes up a small share of inference pricing. One kWh costs less than 1 yuan (roughly 15 US cents), while the output it produces is worth hundreds of dollars. The major costs lie in GPU depreciation, data center construction, bandwidth, and idle capacity caused by mismatches between supply and demand.

    5. Implications for the LLM Market

    This energy ledger supports several conclusions about the industry:

    1. Energy efficiency is a core lever for long-tail competition. When model capabilities converge, each order-of-magnitude drop in inference cost opens up applications that were previously unviable. Examples include routine use of very long contexts and fully automated execution of high-frequency, low-value tasks.

    2. Sparsity and engineering optimization pay off more than adding compute. Techniques such as sparsely activated MoE architectures, KV cache optimization, quantized inference, and batch scheduling all reduce joules per token directly. Their gains are measurable and sustained.

    3. Prefix caching is a hidden competitive advantage. Prefill consumes far less energy than output generation, and long conversations often share large repeated prefixes. Inference systems that support prefix caching can substantially reduce the marginal cost of multi-turn dialogue.

    4. Cost structure shapes pricing and ecosystems. The large gap between input and output energy explains why API pricing usually charges less for input and more for output. It also suggests that pricing based on whether a request hits the cache may become standard.

    6. Conclusion

    “How many tokens can one kWh produce?” is more than a fun calculation. It is a key to understanding the economics of LLM inference. As the industry shifts from competing on model capability to competing on intelligence produced per unit of cost, energy efficiency, scheduling engineering, and cost accounting will determine platform competitiveness. For developers, understanding this energy ledger can support more rational decisions in technology selection and budgeting.