Estimating Token Output per kWh: The Energy Cost of LLM Inference

    This article estimates how many tokens a large language model can process and generate per kilowatt-hour, based on illustrative assumptions. It explains why input (prefill) and output (decode) tokens carry very different energy costs, converts those energy figures into approximate service revenue, and outlines what the numbers mean for model efficiency, pricing, and enterprise deployment.

    Why Measure Tokens per kWh

    When people compare large language models, they usually look at benchmark scores and leaderboards. For long-term cost structure, however, a simpler metric matters more: how much useful output one unit of electricity can produce. Once an inference service scales up, electricity, data center cooling, networking, and server depreciation steadily reduce profit. Working out how many tokens one kWh produces is a basic health check on the business model.

    The estimates below rely on a set of public, checkable assumptions. All figures are illustrative orders of magnitude typical of the industry. They do not describe any specific hardware or service. The goal is to show the method, not to give precise conclusions.

    Step 1: Build a Power Model

    Start with the output side, the decode phase, in which the model generates tokens one at a time.

    Key assumptions:

    • Full-board power of a flagship AI accelerator is about 700 W.
    • Cooling, network switches, CPUs, and other supporting equipment add overhead. A data center Power Usage Effectiveness (PUE) of about 1.3 brings effective power to about 900 W.
    • For large-batch inference with a frontier model, aggregate output speed per card is about 1,000 tokens per second. A conservative range is roughly 500 to 3,000 tokens per second.

    From these figures, the energy per output token is:

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

    One kWh equals 3,600,000 joules (1 kWh = 3.6×10⁶ J), so:

    1. Output tokens per kWh ≈ 3,600,000 ÷ 0.9 ≈ 4 million tokens

    Under these assumptions, one kWh can produce about 4 million output tokens. This number varies with output speed, model size, and batching efficiency, but it gives a sense of the order of magnitude.

    Step 2: Input and Output Costs Are Not Symmetric

    Many people overlook the fact that input (prefill) and output (decode) have very different computational characteristics.

    • Prefill is parallel. The entire prompt can be processed at once, so throughput is much higher than token-by-token generation, at about 10,000 tokens per second per card.
    • Decode is sequential. Each new token depends on the previous one, so it is hard to parallelize and runs much slower.

    Using the same 900 W effective power, the input-side energy is:

    1. Energy per input token = 900 ÷ 10,000 = 0.09 J/token
    2. Input tokens per kWh ≈ 3,600,000 ÷ 0.09 ≈ 40 million tokens

    Input processing per kWh is about 10 times the output side. This explains why mainstream pricing is generally “cheap input, expensive output.” The cost structure itself is asymmetric.

    Step 3: Convert Energy into Service Prices

    Multiplying token counts by an illustrative price range shows what one kWh is worth in revenue.

    • Output side, at about $50 per million tokens:
    1. 4 million tokens × $50 per million ≈ $200 per kWh
    • Input side, at about $10 per million tokens:
    1. 40 million tokens × $10 per million ≈ $400 per kWh

    Real requests usually contain much more input than output. Using a typical 3:1 input-to-output mix, one kWh corresponds to roughly $250 to $300 in revenue, or about RMB 1,800 to 2,200. Because throughput is uncertain, a reasonable range widens to about $100 to $800 per kWh, or roughly RMB 700 to 6,000.

    These prices are illustrative orders of magnitude. Actual market prices depend heavily on the model, batch size, discounts, and competition. The numbers only show the conversion chain from electricity to tokens to revenue.

    Three Takeaways from These Numbers

    First, energy efficiency is an underrated competitive advantage. With the same kWh, if Option A produces twice as many useful tokens as Option B, A has a much better gross margin at the same price. Model architecture optimization, inference frameworks, quantization and compression, speculative decoding, and KV cache reuse translate directly into commercial competitiveness. They matter for more than running a bit faster.

    Second, the input-output ratio determines the cost model. Long context, retrieval-augmented generation, and multi-turn dialogue raise the input share, which shifts each request toward the cheaper prefill workload. Code generation and long-form writing consume more of the expensive decode compute. Product pricing and capacity planning must start from a clear view of the business’s own input-output ratio.

    Third, benchmark scores do not equal economics. A model that leads an evaluation set is not necessarily cheaper per unit of electricity. Whether scale becomes profitable depends on unit economics, such as how many sellable tokens one kWh produces. Long-term market structure is shaped more by efficiency curves than by one-time benchmark results.

    Implications for Enterprise Deployment

    For teams integrating large models into their own products, these estimates suggest several practices:

    1. Quantify before selecting. When choosing models and compute platforms, estimate the unit token cost for the target workload alongside capability. Include electricity, cooling, and depreciation.
    2. Optimize the input-output structure. Use prompt trimming, cache hits, and context pruning so that expensive output tokens are spent where they matter.
    3. Use elastic compute and supporting services. General cloud capabilities such as container platforms, object storage, message queues, and monitoring and alerting can scale with load and avoid wasted idle compute. Platforms such as Baidu AI Cloud offer this kind of infrastructure, which lets teams focus on business logic rather than low-level operations.
    4. Track efficiency metrics continuously. Include useful tokens per kWh and energy per request in routine monitoring, alongside latency and success rate.

    Conclusion

    One kWh can produce roughly 4 million output tokens, which is worth several hundred dollars when sold as a service. This simple conversion points to the core logic of the LLM industry. Compute ultimately depends on electricity, and competition ultimately depends on efficiency. Whoever produces more, cheaper, and more usable tokens from the same amount of power holds the initiative in large-scale deployment. Leaderboard positions change hands, but the energy bill settles every day.