LLM Inference Energy Economics: How Many Tokens Can One Kilowatt-Hour Produce?

    As large language models move into large-scale serving, inference—rather than training—has become the dominant and ongoing energy cost. This article walks through a practical back-of-the-envelope calculation of how many tokens a single kilowatt-hour of electricity can produce, covering assumptions on per-GPU power draw and throughput, separate estimates for prefill and decode phases, and the key factors that affect energy efficiency. It also explores why "tokens per joule" is emerging as a core competitive metric for AI infrastructure.

    1. Why Calculate This “Energy Ledger”

    Over the past few years, most discussion in the LLM industry has centered on training costs. But as models enter large-scale serving, energy spending on the inference side is quickly becoming the main driver of total cost. Training is a one-time investment, while inference is a continuous expense—every user request and every batch of generated content consumes electricity in real time. Answering “how many tokens can one kilowatt-hour produce” is essentially about building a conversion chain from physical energy to business value: joules → tokens → revenue.

    This chain is valuable for three audiences:

    • Infrastructure planners: who need to evaluate data center capacity, power budgets, and carbon emission targets;
    • Service pricing teams: whose token pricing floor is jointly determined by energy costs and hardware depreciation;
    • Technology decision-makers: for whom energy-per-output efficiency (tokens/joule) is a key metric for judging inference architecture.

    2. Key Assumptions

    A rigorous estimate requires putting the assumptions on the table. The following uses a typical production inference cluster configuration:

    1. Effective power draw per GPU

    Take a flagship data center accelerator card as an example, with a rated power of about 700W. But a machine’s actual power consumption goes beyond that, including:

    • Cooling system overhead, usually measured by PUE (Power Usage Effectiveness), with an industry average of about 1.3;
    • Auxiliary hardware such as CPU, memory, network cards, and storage;
    • Power conversion losses.

    Altogether, 900W of effective power allocated per GPU is a reasonable estimate.

    2. Inference throughput per GPU

    For large-batch LLM inference with continuous batching, aggregate output speed per GPU typically falls between 500–3,000 tokens per second. This calculation uses a conservative value of 1,000 tokens/second.

    3. Output-Side Energy Calculation

    First, calculate the energy needed to generate a single token:

    900 joules/second ÷ 1,000 tokens/second = 0.9 joules/token

    One kilowatt-hour equals 3.6 million joules, so:

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

    At mainstream output-side pricing (roughly $50 per million tokens), one kilowatt-hour yields about $200 of output value.

    4. Input-Side Energy Calculation

    The cost structure of inference isn’t just about output. During the prefill phase, input tokens are processed with highly parallel computation, and throughput is far higher than in the decode phase—reaching roughly 10,000 tokens/second per GPU. Energy per input token is then:

    900 ÷ 10,000 = 0.09 joules/token

    One kilowatt-hour can process about 40 million input tokens, worth roughly $400 per kWh at input-side pricing (about $10 per million tokens).

    Combined estimate: Using a typical 3:1 input-to-output ratio, one kilowatt-hour delivers a combined output value of roughly $250–300. Given fluctuations in throughput, batch size, model scale, and other parameters, a reasonable range widens to $100–800 per kWh.

    5. Four Factors That Affect Energy Efficiency

    With identical hardware, different deployment approaches can produce several-fold differences in energy output:

    1. Batch size: Larger batches increase GPU utilization and lower per-token energy consumption. Small-batch inference can consume 3–5 times more energy than an optimal configuration.
    2. Context length: Long contexts significantly increase KV cache overhead for attention computation, driving up per-token energy costs.
    3. Model architecture: Sparse activation (MoE) structures activate only a subset of parameters per token, making them more energy-efficient than dense models of comparable size.
    4. Quantization and optimization: Techniques like INT8/FP8 quantization, operator fusion, and speculative decoding can boost throughput by 30%–100%, directly reducing unit energy consumption.

    6. Broader Implications: Why Energy Efficiency Matters Competitively

    As model capabilities converge, inference cost will become a core competitive variable. The number of tokens produced per unit of energy—something like “intelligence per joule”—is emerging as a new evaluation dimension. For cloud providers, optimizing PUE, improving inference throughput, and adopting liquid cooling all translate directly into pricing competitiveness.

    The energy math also gives developers an intuitive sense of scale: several million tokens per kilowatt-hour means the marginal cost of LLM services has dropped to a very low level. The real barriers now lie in engineering efficiency at scale and consistent service quality. Going forward, as inference frameworks continue to improve and hardware iterates, this number will keep rising—and whoever leads on “tokens per joule” will occupy the stronger position on the cost curve of LLM services.