TokenPowerBench: Benchmarking the Power Consumption of LLM Inference
Chenxu Niu, Wei Zhang, Jie Li, Yongjian Zhao, Wang, Tongyang, Wang, Xi et al. · 2025 · 22 citationsRead the paper
Large language model (LLM) services now answer billions of queries per day, and industry reports show that inference, not training, accounts for more than 90% of total power consumption. However, existing benchmarks focus on either training/fine-tuning or performance of inference and provide little support for power consumption measurement and analysis of inference. We introduce TokenPowerBench, the first lightweight and extensible benchmark designed for LLM-inference power consumption studies. The benchmark combines (i) a declarative configuration interface covering model choice, prompt set, and inference engine, (ii) a measurement layer that captures GPU-, node-, and system-level power without specialized power meters, and (iii) a phase-aligned metrics pipeline that attributes energy to the prefill and decode stages of every request. These elements make it straight-forward to explore the power consumed by an LLM inference run; furthermore, by varying batch size, context length, parallelism strategy and quantization, users can quickly assess how each setting affects joules per token and other energy-efficiency metrics. We evaluate TokenPowerBench on four of the most widely used model series (Llama, Falcon, Qwen, and Mistral). Our experiments cover from 1 billion parameters up to the frontier-scale Llama3-405B model. Furthermore, we release TokenPowerBench as open source to help users to measure power consumption, forecast operating expenses, and meet sustainability targets when deploying LLM services.
What the full text shows
Working prototype- Energy per token increases super-linearly with parameter count; for Llama3, moving from 1B to 70B parameters increases energy per token by 7.3x despite a 70x increase in parameters. — 7.3x energy increase vs 70x parameter increase (Llama3 model family)
- Mixtral-8x7B (MoE) consumes similar energy per token as a dense 8B model while providing quality closer to a 56B dense model. — 2-3x lower token energy vs dense models of similar accuracy (Mixtral-8x7B vs dense models)
- Optimized inference engines (TensorRT-LLM and vLLM) reduce energy per token compared to the Transformers engine. — 25-40% reduction in energy per token (Across all tested models)
- Optimized engines (TensorRT-LLM and vLLM) consume significantly more power during the prefill stage than DeepSpeed or Transformers. — 3x more power (Prefill stage across all models)
- Increasing batch size from 32 to 256 significantly reduces energy per token. — ~25% reduction for 70B model (Batch size range 32 to 256)
- Total energy per token varies by a factor of two to three across the smallest and largest batch sizes. — 2-3x spread (Batch sizes 32 to 1024)
- Setup
- 8-node cluster with 4 NVIDIA H100 GPUs (94GB) per node, Intel Xeon Gold 6426Y CPUs, and 512GB RAM; tested on Alpaca and LongBench datasets across Llama, Falcon, Qwen, and Mistral models (1B to 480B parameters).
- How
- Developed TokenPowerBench, a framework using a declarative configuration interface, a three-level measurement layer (GPU, node, system), and a phase-aligned pipeline to attribute energy to prefill and decode stages. The system integrates NVML/DCGM for GPUs, RAPL for CPUs/DRAM, and IPMI/PDU for system-level power.
- Limitations
- Evaluation was conducted on a specific Nvidia H100 GPU cluster. · Current version does not quantify the trade-off between inference accuracy and energy efficiency.
Summarized by Gemma 4 from the open-access full text · 8 Nov 2026. Read it