LLM Inference Economics: How Many Tokens Can 1 kWh Produce?
As open and closed models converge in quality on some benchmarks, inference cost becomes a more important selection criterion. This article compares private deployment with cloud inference, outlines total cost of ownership, and uses illustrative assumptions to estimate tokens and revenue per kilowatt-hour. It also explains how utilization, throughput, pricing, and infrastructure efficiency affect the economics.
1. As Model Quality Converges, Cost Takes Center Stage
Open-source models have approached closed models on some public benchmarks. For many general-purpose tasks, the gap in output quality has narrowed substantially. As that gap shrinks, buyers place greater emphasis on unit cost.
Tokens are the basic units into which a model divides text. Tokenization differs across Chinese, English, and code, and a token typically represents one or more characters. Token-based billing measures the volume of work a model processes—not the value of the information it produces.
Public rankings also have limitations. Benchmark questions may not reflect your business requirements, so model selection should include testing on your own data.
2. Choosing Between Private Deployment and Cloud Inference
Two broad types of users face different trade-offs.
High-volume enterprises with strict data requirements
Enterprises that make large numbers of requests every day and cannot allow data to leave their internal networks may consider private deployment.
Over time, accumulated token-based service fees can exceed the upfront cost of hardware. However, whether private deployment is economical depends heavily on utilization. If a cluster sits idle for long periods, depreciation and electricity costs continue to accrue, increasing the cost per token.
Teams with low or variable demand
For teams with low request volumes or highly variable workloads, building dedicated compute infrastructure is usually less economical. Cloud inference services are often a better fit.
Intermediary providers can obtain pricing advantages through centralized scheduling and bulk purchasing. Before using one, verify the route your data takes, service reliability, and the contractual guarantees for response times.
3. Calculate the Total Cost of Ownership
Before making a deployment decision, itemize the following costs and assumptions, then compare them with cloud pay-as-you-go pricing:
- Hardware purchase costs and depreciation period
- Data center construction, power delivery, cooling, and electricity consumption adjusted for PUE
- Average equipment utilization
- Operations staff, monitoring, and alerting systems
- Model updates, retesting, and rollback
- Data compliance audits and security hardening
- Equipment retirement and migration
Utilization is often the most influential variable. For the same hardware, increasing utilization from 30% to 70% can substantially reduce the cost per token. Validate that effect using actual workload data rather than theoretical peak performance.
4. How Many Tokens Can 1 kWh Produce?
The following estimates use illustrative assumptions. They apply only to the operating conditions described here.
Key assumptions
- Full-load power per accelerator: approximately 700 W. This is an illustrative value for a high-performance compute accelerator.
- Power usage effectiveness (PUE): 1.3. PUE is the ratio of total data center energy consumption to IT equipment energy consumption. Multiplying accelerator power directly by PUE is a simplification that allocates facility overhead to each accelerator. If CPU, memory, and networking power are not included on the IT side, actual consumption will be higher.
- Output throughput: approximately 1,000 tokens per second per accelerator under large-batch inference. This is an assumed value. Actual throughput depends on model size, context length, quantization precision, and batch size. Measured throughput can range from roughly 500 to 3,000 tokens per second.
Output tokens per kWh
Applying PUE gives 700 W × 1.3 = 910 W, rounded to approximately 900 W for the calculations below. That corresponds to 900 joules consumed per second.
At 1,000 output tokens per second:
Energy per output token = 900 ÷ 1,000 = 0.9 J
Since 1 kWh equals 3,600,000 joules:
Output tokens per kWh = 3,600,000 ÷ 0.9 ≈ 4,000,000
Under these assumptions, 1 kWh can produce approximately 4 million output tokens.
Input tokens per kWh
Input processing is calculated using the prefill phase. Assume that one accelerator processes 10,000 input tokens per second:
Energy per input token = 900 ÷ 10,000 = 0.09 J
Input tokens per kWh = 3,600,000 ÷ 0.09 ≈ 40,000,000
Under these assumptions, 1 kWh can process approximately 40 million input tokens. Input throughput is higher because the matrix operations in the prefill phase are highly parallel.
5. Converting Token Throughput into Revenue
The token prices in this section are illustrative, not quotes from a particular provider. Use current provider price lists when making an actual decision.
At an output price of $50 per million tokens, 4 million output tokens correspond to $200 in revenue.
At an input price of $10 per million tokens, 40 million input tokens correspond to $400 in revenue.
A mixed input/output workload
Real workloads typically combine input and output tokens. Assume an input-to-output ratio of 3:1.
For calculation purposes, define one group as three input tokens and one output token.
Energy consumed per group:
3 × 0.09 + 0.9 = 1.17 J
Revenue per group:
(3 × $10 + $50) ÷ 1,000,000 = $0.00008
This is equivalent to $80 per million groups.
The number of groups processed per kWh is:
3,600,000 ÷ 1.17 ≈ 3,076,923
The corresponding revenue is approximately:
3,076,923 × $0.00008 ≈ $246 per kWh
Sensitivity to output throughput
Output-side revenue is highly sensitive to both throughput and pricing.
| Output throughput per accelerator (tokens/second) | Output tokens per kWh | Output revenue at $50 per million tokens |
|---|---|---|
| 500 | Approximately 2 million | Approximately $100 |
| 1,000 | Approximately 4 million | Approximately $200 |
| 3,000 | Approximately 12 million | Approximately $600 |
Sensitivity to output pricing
At a fixed throughput of 1,000 output tokens per second, changes in price also have a substantial effect.
| Output price ($ per million tokens) | Output revenue per kWh |
|---|---|
| 20 | Approximately $80 |
| 50 | Approximately $200 |
| 80 | Approximately $320 |
These estimates show that revenue per kWh can vary severalfold depending on throughput and pricing.
Electricity’s share of total cost depends on local energy rates and must be calculated separately. The calculations above do not deduct electricity charges, networking costs, data center rent, or hardware depreciation. They represent an illustrative upper-bound revenue equivalent for the energy consumed, not profit.
6. Paths to Lower Inference Costs
Infrastructure efficiency
Liquid cooling, high-density racks, and intelligent temperature control can reduce PUE and wasted energy. These upgrades require upfront investment, which should be included in total cost of ownership.
Platform scheduling
Container platforms and scheduling solutions offered by major cloud providers can partition GPU resources and dynamically time-share them to reduce idle capacity.
Because utilization is central to the economics of private deployment, scheduling capabilities often have a more direct effect on unit cost than reducing power consumption alone.
Model and algorithm optimization
Techniques such as KV cache quantization, INT8 or INT4 weight quantization, and speculative decoding can improve token throughput per accelerator.
Quantization can reduce model accuracy. Validate its effects using your own evaluation dataset rather than relying solely on public benchmarks.
7. A Checklist Before Making a Decision
- Estimate monthly token consumption and peak request volume.
- Measure throughput and utilization with real business workloads, rather than adopting theoretical figures.
- Build a TCO model using the items in Section 3 and compare it with cloud pay-as-you-go options.
- Run separate sensitivity analyses for electricity rates, token pricing, and throughput to understand the range of possible outcomes.
- Account for data compliance requirements. If those requirements are strict, private deployment may be the better choice even when its cost is slightly higher.
