The Token-Energy Law of LLM Decode: Active Bytes and Realized Time Account for Joules per Token
Chenxu Niu, Batuhan Sencer, Wei Zhang, Yong Chen
Key points
From the paper's conclusion- We combine the two byte coordinates and time in a common affine form, with coefficients calibrated for each model and hardware/runtime configuration.
Abstract
Energy-efficient deployment of large language models requires understanding how model architecture, hardware, and serving settings shape energy per generated token. We introduce the Token-Energy Law, a compact, interpretable model of GPU-board energy per output token for dense, full-history decoding. It relates token energy to two core dimensions: active bytes and realized decode time. Active bytes describe logical byte demand per output, separating dense weights shared within a decode iteration from private key--value (KV) histories read and updated for each request. Realized decode time is the elapsed decode duration divided by the number of output tokens produced. We combine the two byte coordinates and time in a common affine form, with coefficients calibrated for each model and hardware/runtime configuration. This formulation explains how batching amortizes shared-weight work, longer attended histories increase private KV demand, and throughput determines the time-associated cost per output. Our experiments cover three models under BF16 decoding on NVIDIA Hopper and Blackwell GPUs, including two-GPU tensor parallelism on Hopper. Using fixed coefficients and observed decode time, held-out condition-mean energy estimates differ from measurements by at most 3.73%.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- TokenJoule: Energy Modeling for Distributed Training and Inference of LLMsarXiv · 2026
- The SIMPLE Law for Energy Cost of LLM InferencearXiv · 2026
- The Cost of Context: Profiling the Energy Footprint of Input Tokens in Large Language ModelsarXiv · 2026
- Energy-Aware Multilingual Evaluation of Large Language ModelsElectronics · 2026
- Impact of decoding strategies on GPU energy usage in large language model text generationScientific Reports · 2025
- Energy Consumption Analysis of Discrete Diffusion and Autoregressive Language ModelsarXiv · 2026