Manuscript Offprint
arXiv:2611.03330The SIMPLE Law for Energy Cost of LLM Inference
ARTICLE INFO
Keywords:
LLM Energy Consumption
LLM Inference Modeling
Energy Prediction
Token Energy Cost
Tokenomics
Token Economy
Sustainable AI
Reasoning Energy Cost
Green AI
ABSTRACT
Generative AI is billed per token, yet tokens are not equally expensive. Each token enters the KV-cache and raises the cost of those that follow, so energy grows non-linearly along a sequence whose tokens look identical. No analytical model states what a token costs, and no law names the factors that set it. The most accurate SOTA model is a fit, not a law: it absorbs architecture into fitted coefficients, requiring per-LLM fitting. What is therefore needed is a law expressed in the architecture's own hyperparameters, one that names which of them govern the cost of a token, explicitly accounts for attention mechanism, and applies to unseen LLMs. We derive closed-form expressions of the computational and memory-access complexity of LLM inference in terms of architectural hyperparameters, covering Multi-Head Attention (MHA) and Grouped-Query Attention (GQA), and compare a family of analytical models of increasing granularity. From these, we obtain the SIMPLE Inference Model to Predict LLMs Energy (SIMPLE), a four-parameter law that separates prefill from decode, and decode into KV-cache cost and next-token computation. Over traces of 13 dense LLMs from six families (OPT, LLaMA, Gemma, Falcon, Qwen2, and Granite) on NVIDIA H100 GPUs, it attains and 11.97% MAPE, 3.1 – 3.5x below the SOTA, without per-LLM calibration. The SIMPLE law explains as well as predicts: prefill energy grows quadratically with the hidden dimension, so larger LLMs suffer most from long inputs; and more aggressive GQA KV grouping reduces the per-token energy by up to 3x relative to standard MHA. Increasing the reasoning token budget pushes output length beyond the analytically derived energy minimum, driving super-linear energy growth; although accuracy grows with the budget, energy grows faster, so Intelligence per Joule peaks at an intermediate budget and falls by up to 3.14x across a 4.0x reasoning-budget range. Agentic serving raises energy per request by 13.0x relative to non-agentic ones, driven by the growth of both the prefill and the KV-cache terms with input length; while prefix caching removes most of the prefill cost (~93%), the KV-cache term is unaffected, so even a cached agentic request costs 4.8x more. An interactive implementation of SIMPLE is available at ecs-lab/SIMPLE.
The token is the unit of account of this economy. Inference is priced, billed, budgeted, and benchmarked per token [35], and capacity is planned in tokens per second and tokens per joule. Yet no analytical model states what a token costs, and no law names the factors that set it. A token is an observable of the workload, not a unit of computational work: each token enters the KV-cache and raises the cost of those that follow, so average token energy depends on input length, generation length, context reuse, and how attention is organized. The consequence is already
visible in the economics: using a model with a lower listed price per token can incur up to 28x the total cost of using a nominally more expensive one [4]. An entire industry settles in a currency whose production cost cannot be computed.
Energy models exhibit the same gap in analytical form. Prior work fits energy as a function of input and output lengths [38, 43, 40, 24] empirically, without deriving it from the computational kernels, thereby describing a measured regime rather than explaining it. SweetSpot [26], the most accurate analytical formulation reported to date, removes the decisive obstacle by deriving the decode phase in closed form from the computation and memory accesses of decoder-only Transformer inference. SweetSpot, however, is a fit, not a law. Its coefficients are identified on a single LLM and carry that LLM's architecture implicitly: the number of layers, the hidden dimension, and the organization of attention never appear as terms. The formulation therefore neither names the factors that set the cost of a token nor applies to a model it has not already measured, and later analytical models [36, 11, 22] relax this only in part.
This limitation is felt where decisions are now being made: in energy efficiency. Intelligence per Watt relates delivered capability to the power that produced it [27], and serving is reported in tokens per joule [35], but both are measured on systems that already exist. They rank deployments
*Corresponding author hiari.pizzinicavagna@unibo.it (H. Pizzini Cavagna) ORCID(s): 0009-0005-2768-0418 (H. Pizzini Cavagna) These authors contributed equally to this work.
H. Pizzini Cavagna, A. Proia et al.: Preprint submitted to Elsevier
Page 1 of 18 after the fact and cannot say which architecture would deliver the same capability for less, how many reasoning tokens are worth spending [21], or at what context length serving an agentic request ceases to be affordable [18]. A measured efficiency locates no optimum. What is therefore needed is a law expressed in the architecture's own hyperparameters, one that explains which of them govern the energy of a token, predicts that energy for an LLM never benchmarked, and thereby turns efficiency from something observed into something derived.
Modern LLMs share the decoder-only Transformer [37] and differ in a handful of hyperparameters and attention architectures: Multi-Head Attention (MHA) has largely given way to Grouped-Query Attention (GQA) [1] and Multi-head Latent Attention (MLA) [9], each cutting memory traffic and KV-cache size, and with them the energy per generated token [26]. Furthermore, long generations, 68K-token contexts, and mandatory prefix caching push today's requests precisely into the regime where the KV-cache term dominates: no law of token cost can be blind to how attention is organized.
Together, these considerations motivate the following open research questions:
-
RQ1: Is there an analytical model that can accurately predict inference energy across LLMs with different architectures, including the attention mechanism?
-
RQ2: Can an LLM-agnostic model remain compact and accurate enough to be a practical alternative to LLM-specific models, while generalizing to unseen LLM architectures and workloads?
-
RQ3: How do LLM size and architectural hyperparameters influence inference energy consumption?
-
RQ4: How does the reasoning token budget affect inference energy and Intelligence per Joule?
-
RQ5: How does the energy cost of a single query shift from non-agentic to agentic workloads?
This work answers these with the following contributions:
-
We present a taxonomy of state-of-the-art LLM inference energy models, classified by functional form, grounding theory, and ability to predict inference energy across LLMs with different architectures, including the attention mechanism. We find that the most accurate model, SweetSpot [26], absorbs architectural information implicitly into its fitted coefficients, requiring per-LLM calibration and making it neither LLM-agnostic nor attention-aware. The SOTA therefore lacks an analytical model capable of accurately predicting the energy consumed by a generic request for an arbitrary LLM.
-
To close this gap, we analytically derive closed-form expressions for the computational and memory-access complexity of LLM inference, covering both MHA
and GQA mechanisms Building on these, we propose the SIMPLE law, which separately models prefill and decode energy costs, further decomposing the latter into the self-attention KV-cache cost and the next-token computation (i.e., the feed-forward network). Validated against a family of analytically derived models spanning different fitting granularities and modeling approaches, SIMPLE achieves the best accuracy-compactness trade-off among the evaluated models, reducing the error of SOTA models by 3.1–3.5x.
-
Applying the SIMPLE law across LLMs of different sizes, families, and architectures, we show that hidden dimension is the most sensitive architectural hyperparameter, as prefill energy scales quadratically with , while layer depth contributes linearly. Attention architecture matters strongly: more aggressive GQA KV grouping reduces per-token energy by up to 3x relative to standard MHA, making it an impactful architectural choice for reducing inference energy.
-
We use the SIMPLE law to analytically derive the output length that minimizes per-token energy (the sweet spot), showing that increasing the reasoning token budget pushes beyond this minimum, driving super-linear energy growth. Although accuracy grows with the reasoning budget, energy grows faster, so Intelligence Per Joule peaks at an intermediate budget and falls by up to 3.14x at the lowest and highest budgets across a 4.0x range.
-
Using the SIMPLE law, we analyze the energy cost of agentic AI workloads and show that energy per request increases by 13.0x relative to non-agentic ones, driven by the growth of both the prefill and KV-cache terms with input length. While prefix caching removes most of the prefill cost (-93%), the KV-cache term, accounting for 86% of the remaining energy, is unaffected, so even a cached agentic request still costs 4.8x more than a non-agentic one.
We evaluate our models on a large dataset [26] of TensorRT-LLM [23] traces collected from a set of widely used dense LLMs running on NVIDIA H100. The included models span model sizes and architectures, covering OPT [44], LLaMA [14], Gemma [33], Falcon [2], Qwen2 [41], and Granite [20].
The rest of the paper is organized as follows. After providing background in Section 2, we review related work in Section 3. Then we derive the floating point and memory operations of LLM inference in Section 4, and building on this, we present in Section 5 SIMPLE, together with the family of complexity-derived models used throughout the evaluation. In Section 6 we experimentally validate SIMPLE, and discuss in Section 7 how model size, architectural hyperparameters, reasoning, and agentic workloads impact energy consumption. Finally, we conclude in Section 8.
H. Pizzini Cavagna, A. Proia et al.: Preprint submitted to Elsevier
Page 2 of 18
2. Background
This section introduces the background needed for the analysis in this work. We briefly review the fundamentals of LLM architectures, their computational characteristics, and the metrics used throughout the paper.
LLM Architecture LLMs are built on the Transformer architecture [37], which has become the standard for generative AI. A Transformer block consists of two main components, the Multi-Head Self-Attention Mechanism (MHA) and the Feed-Forward Network (FFN), each wrapped in residual connections, layer normalization, and dropout. In MHA, the hidden representation is projected into several subspaces, corresponding to different heads. Each head learns to capture a different type of dependency within the sequence, and the head outputs are then combined. This improves the model's expressivity and its ability to represent diverse relationships, but it also increases the number of operations in proportion to the number of heads. To reduce this overhead, Multi-Query Attention (MQA) was proposed in 2019 [29]. It keeps multiple query heads but shares a single set of Key-Value (KV) projections across all of them, which drastically reduces memory usage and KV-cache size during decoding and makes inference more efficient. More recently, Grouped-Query Attention (GQA) was introduced in 2023 [1] as a generalization of MHA and MQA: keys and values are shared within groups of heads, striking a balance between the efficiency of MQA and the expressivity of MHA. Multi-Head Latent Attention (MLA), introduced with DeepSeek-V2 [9], provides a different mechanism to reduce the KV-cache footprint. Rather than sharing KV projections across heads, it compresses keys and values into a single low-rank latent vector. The full per-head keys and values are then recovered from this latent through up-projection matrices, preserving the expressivity of MHA at a fraction of the memory cost. Despite its distinct compression mechanism, MLA can nonetheless be seen as a variant of GQA [5].
LLM Inference Computation In large-scale models, most of the learnable weights, referred to as parameters, reside in the FFN layers, whereas the runtime complexity is dominated by the attention mechanism, owing to its quadratic dependence on the input sequence length. The total number of parameters, typically in the billions, is referred to as model size. LLM inference is typically split into two phases: prefill, in which the entire input sequence is processed in parallel to initialize the KV-cache, and decode, in which tokens are generated autoregressively [42]. During prefill, the computational cost is dominated by the quadratic attention term; during decode, thanks to the reuse of cached keys and values, the cost per token grows only linearly with the sequence length. Nevertheless, for long outputs, the decode phase often accounts for most of the total inference time, since tokens must be produced one at a time, which restricts the opportunities for parallelization. On modern GPUs, the throughput of LLM inference is constrained not only by arithmetic performance but also by
memory bandwidth. Storing and retrieving the large KV-cache during decoding places considerable stress on the memory subsystem. For example, in autoregressive decoding, every generated token requires loading all previous keys and values from memory, which makes attention kernels strongly memory-bound, especially for long contexts.
Metrics and Measurement We define the total energy consumption , expressed in Joules, as the energy the GPU consumes to process a given request, characterized by an input length and an output length . Normalizing by yields the Energy-per-Token :
We also define energy efficiency as the reciprocal of , capturing the number of output tokens generated per unit of energy. Finally, to relate energy consumption to the quality of the generated output, we adopt the Intelligence per Joule (IPJ) metric [27]. We compute it as the ratio of task accuracy to the energy required to process a request:
where Acc is the accuracy averaged over the evaluated queries and is the average per-request energy, making it a practical metric for realistic deployment scenarios.
3. Related Work
Recent work on LLM inference energy falls broadly into two categories: (i) experimental characterization of energy consumption, and (ii) analytical or empirical models for predicting it. We review each in turn, then position our contributions with respect to the identified limitations.
3.1. Experimental Characterizations
Several studies have characterized LLM inference energy across different workloads and hardware conditions. Samsi et al. [28] benchmark energy for LLaMA models of varying sizes across two NVIDIA GPU generations (V100 and A100), including multi-node and multi-GPU execution. Chung et al. [6] introduce ML.ENERGY, a benchmark suite for measuring energy under realistic serving conditions across different tasks, and show that automated configuration recommendations can reduce consumption. Stojkovic et al. [31] study how inference server configurations affect latency, throughput, and energy. Maliakel et al. [19] examine the effect of GPU Dynamic Voltage and Frequency Scaling (DVFS) settings on energy for different workloads. Fernandez et al. [13] analyze energy across inference optimization strategies and task types. Wilhelm et al. [39] investigate the accuracy–energy trade-off, focusing on how inference strategies such as chain-of-thought affect it.
Unlike the following works, none of these proposes an energy prediction model.
H. Pizzini Cavagna, A. Proia et al.: Preprint submitted to Elsevier
Page 3 of 18
Table 1 Comparison of existing energy models for LLM inference.
| Model | Form | Analytical | LLM-agnostic | Attention-aware | |
|---|---|---|---|---|---|
| Vellaisamy et al., 2026 [38] | Linear | × | × | × | |
| Zhan et al., 2026 [43] | Linear | × | ×/✓ | × | |
| Delavande et al., 2026 [11] | Bilinear | ✓ | × | × | |
| Wilkins et al., 2025 [40] | Bilinear | × | × | × | |
| Oviedo et al., 2026 [24] | Power-law | × | × | × | |
| SweetSpot, 2026 [26] | Quadratic | ✓ | × | × | |
| Vartziotis et al., 2026 [36] | Quadratic | ✓ | ✓ | × | |
| Niu et al., 2026 [22] | - | ✓ | × | ✓ | |
| SIMPLE | Quadratic | ✓ | ✓ | ✓ |
3.2. Predictive Models
Recent studies have proposed models to predict the energy consumption of LLM inference. These models focus on the number of input and output tokens ( and ), while not explicitly accounting for batch size. Batch size is instead commonly incorporated into models targeting distributed inference [17, 25], whereas it is generally not considered in models for single-GPU inference, as in our setting.
The following paragraphs review the state-of-the-art models, grouped by functional form and further characterized by three criteria that directly reflect the limitations our work addresses. First, whether they are analytically derived from first principles, such as Transformer computational complexity, or are empirical. Second, whether they must be fitted separately for each LLM. We refer to models that require a per-LLM fit as LLM-specific, and to those that do not as LLM-agnostic. Third, whether they are attention-aware, meaning that they explicitly account for different attention mechanisms, rather than assuming standard MHA. Table 1 summarizes all reviewed models along these criteria.
Linear Models A common empirical approach is to assign a fixed cost to input and output sequence lengths, yielding a linear model:
Both Vellaisamy et al. [38] and Zhan et al. [43] propose linear models, though they differ in how they handle input-length dependence. Vellaisamy et al. focuses solely on decode energy absorbing the prefill cost into a fixed constant, effectively modeling decode energy as linear in alone, while Zhan et al. make an explicit term as in the formulation above. Neither model is derived from first principles or includes architectural hyperparameters, so both must be fitted separately for each LLM and are not attention-aware.
Zhan et al. [43] apply their model to Vision-Language Models and additionally propose an LLM-agnostic formulation that scales with model size (in billions of parameters):
While this formulation is LLM-agnostic, model size serves as the only architectural proxy, capturing scale but not structural hyperparameters such as the number of layers, hidden dimension, or attention configuration.
Bilinear Models Wilkins et al. [40] and Delavande et al. [11] extend the linear formulation with an interaction term between input and output sequence lengths:
Wilkins et al. motivate the interaction term statistically, using ANOVA to confirm that input and output lengths have a significant joint effect on energy, and fit the model empirically via ordinary least squares. Delavande et al. derive the same form analytically from the roofline model: the interaction term reflects the cumulative cost of attending to a growing context at each decode step. Neither model includes architectural hyperparameters, thus both must be fitted separately for each LLM and are not attention-aware.
Power-law Models Oviedo et al. [24] propose a bottom-up framework that estimates per-query inference energy from node power draw and token throughput:
where PUE accounts for data-center overhead, is the measured steady-state node power, is fitted empirically to per-model benchmarks as a piecewise log-linear regression, and scales energy by output length. Because TPS is linear in and , substituting it into the formula yields a power-law dependence on sequence lengths:
The framework includes no architectural hyperparameters; thus the throughput model must be re-fitted for each LLM, making the approach LLM-specific and not attention-aware.
H. Pizzini Cavagna, A. Proia et al.: Preprint submitted to Elsevier
Page 4 of 18
Quadratic Models SweetSpot [26] models inference energy as proportional to FLOPs and data transfers, analytically derived from the transformer computational kernels as a function of and . The decoding phase is handled by expressing the growing KV-cache context as an arithmetic series, which yields a closed-form quadratic formulation:
The model reduces the MAPE of the bilinear baseline from over 30% to below 2%. However, the fitted coefficients are LLM-specific, requiring an exhaustive measurement dataset for each target model. The approach therefore cannot generalize to unseen architectures or be applied during training. Moreover, the analytical derivation treats all , , and projection matrices as having the same hidden dimension , implicitly assuming standard MHA. Since the attention mechanism is not parameterized in the formulation, SweetSpot is not attention-aware.
Following a similar analytical approach, Vartziotis et al. [36] decompose inference energy into compute and memory-access components:
where denotes the total tensor-core FLOP count for prefill and decode, and denotes the total HBM traffic. and are derived analytically from the transformer computational graph, following a similar decomposition to [26], though the FLOP count relies on the Kaplan training parameter-scaling approximation [16] (, FLOPs per parameter per token) rather than an inference kernel-by-kernel tally. The factor , where is the number of model hyperparameters, is a dimensionless inefficiency multiplier that accounts for non-ideal HBM bandwidth utilization, while and are hardware-specific energy coefficients for tensor-core and HBM operations, expressed in pJ/FLOP and pJ/bit respectively (H100 GPU, FP16/BF16). Because and are hardware constants rather than fitted per-model coefficients, and and are expressed in terms of and structural hyperparameters such as layer count and hidden dimension, the model is LLM-agnostic and captures the order-of-magnitude energy and scaling trends observed in authors' measurements.
However, its accuracy is limited, with a reported mean relative error of approximately 20%. Furthermore, expanding and yields a long closed-form expression in the architectural hyperparameters, which makes the model hard to interpret and limits its usefulness for identifying the hyperparameters that drive energy consumption. Similarly to SweetSpot, the model assumes MHA, so the reduced KV-cache traffic of GQA, which is standard in many modern LLMs, is not captured by the model.
To the best of our knowledge, Niu et al. [22] is the only existing work to propose an attention-aware energy model for LLM inference. Their model estimates the energy per output token of a single decode step, expressing decode energy as a linear function of the bytes accessed, considering
RQ1: Is there an analytical model that can accurately predict inference energy across LLMs with different architectures, including the attention mechanism?
No. The most accurate model, SweetSpot [26], is LLM-specific: its coefficients must be fitted for each target LLM, so it cannot generalize to unseen architectures. LLM-agnostic alternatives do not explicitly model the attention mechanism; the most analytically grounded of these [36] reports a mean relative error of about 20% and yields hard-to-interpret expressions. The one model that parameterizes the attention mechanism [22] targets the decode phase only and requires measured runtime inputs, making it inapplicable to total inference energy prediction. No prior model is simultaneously interpretable, LLM-agnostic, attention-aware, and applicable to the full inference pipeline. SIMPLE is the first to satisfy all these conditions.
both the model weights and the KV-cache, and the measured decode time. The KV-cache byte term is analytically derived from the model architecture and attention mechanism: it is explicitly parametrized by the number of KV heads per layer (), which accounts for MHA and GQA. The decode time, however, must be measured at runtime. The resulting model requires a separate calibration and fit for each LLM and hardware configuration. Since the model covers only the decode phase energy, excluding the prefill, it is not directly applicable to predict the total inference energy for a given query, which is the focus of this work. We therefore do not consider it further here.
3.3. SIMPLE Model
The box above summarizes the answer to RQ1. We address the key limitations of previous approaches by extending the derivation of the computational and memory-access complexities of SweetSpot [26] to GQA, and using the resulting expressions to derive SIMPLE, a compact LLM-agnostic model that explicitly represents the attention mechanism, builds on SweetSpot's interpretable quadratic structure to expose the role of individual architectural hyperparameters, and predicts energy across multiple LLM architectures without per-LLM calibration.
Throughout our study, we target the Energy-per-Token , rather than total energy consumption , since normalizing by isolates the cost of generation from the cost of processing the input, exposing the trade-off between amortizing the prefill cost over more output tokens and incurring additional decode cost as grows. Moreover, serves as a natural unit for comparison across different workloads and deployments, as it corresponds directly to operational metrics such as cost-per-token and tokens-per-joule, matching how inference is commonly priced and provisioned in production.
H. Pizzini Cavagna, A. Proia et al.: Preprint submitted to Elsevier
Page 5 of 18
Table 2 Decoder-only LLM inference symbols and tensor dimensions.
| Symbol | Dimension | Description | Symbol | Dimension | Description |
|---|---|---|---|---|---|
| Scalars | Prefill Phase | ||||
| Number of input tokens | Input | ||||
| Number of output tokens | Query, Output projections | ||||
| Number of query heads | Key, Value projections | ||||
| Number of KV heads | Attention scores | ||||
| Number of layers | Attention output | ||||
| Hidden dimension | Expanded activation | ||||
| KV-to-query head ratio | FFN output | ||||
| Key, Value dimension | |||||
| Parameters | Decode Phase | ||||
| Query weight | Input | ||||
| Key, Value weights | Query, Output projections | ||||
| Output weight | Key, Value projections | ||||
| FFN expansion | Key, Value cache | ||||
| FFN projection | Attention scores | ||||
| Attention output | |||||
| Expanded activation | |||||
| FFN output | |||||
4. FLOPs and MemOPs Formulation
In this section, we present the analytical derivation of the Floating-Point Operations (FLOPs) and Memory Operations (MemOPs) of LLM inference based on a decoder-only Transformer, distinguishing the prefill and decode phases and assuming no quantization of weights or KV-cache. In the following derivations, we consider a dense LLM and a constant batch size, extending the derivation of SweetSpot [26] to include the GQA mechanism.
For a matrix multiplication between and , we denote the number of FLOPs and MemOPs as and respectively, calculated as:
We neglect bias additions, layer normalization, softmax, and dropout, as their cost is negligible relative to projections and FFN layers. Moreover, we treat the FFN expansion factor as a fixed constant (), consistent with the original decoder-only Transformer design and still the dominant convention across dense LLM architectures, even though some models in our evaluation set adopt slightly different ratios.
Table 2 describes the symbols we use throughout the paper. In order to model both MHA and GQA, we define the KV-to-query head ratio as the ratio between the number of KV heads and the number of query heads . We consider the KV projections as weight matrices of shape , reflecting that in GQA only key and value heads are materialized. For MHA, and all expressions reduce to the standard form.
4.1. Prefill FLOPs and MemOPs
During prefill, the full input sequence of length is processed in parallel.
Attention Projections projection :
Output projection :
Total prefill projection complexity:
Attention Scores Attention scores :
Attention output over heads:
H. Pizzini Cavagna, A. Proia et al.: Preprint submitted to Elsevier
Page 6 of 18
Feed-Forward Network FFN output and :
Total OPs With L layers, the total prefill FLOPs is:
The total prefill MemOPs is:
4.2. Decode FLOPs and MemOPs
At each decode step , one new token is generated autoregressively. The KV-cache at step holds tokens: the input tokens and previously generated tokens.
Attention Projections projection :
projection and :
Output projection :
Total decode projection complexity:
Attention Scores Attention scores :
Attention output over heads:
Feed-Forward Network FFN output and :
Total OPs Using the closed-form sum:
and summing over generated tokens and L layers, we obtain the total decode FLOP count:
Similarly, we obtain the total decode MemOPs:
5. SIMPLE Derivation
In this section, we present the formulation of SIMPLE, the proposed analytical model for predicting the energy efficiency of LLM inference, for a generic LLM architecture and the input/output sequence . The model is built on the complexity analysis introduced in the previous section, more precisely on Equations (1–14). These equations offer different valid groupings of their inner terms according to the number of fitting coefficients, each implying a different interpretation for each coefficient.
A first approach we propose is to assign a meaning to each coefficient in terms of Joule/FLOPs or Joule/MemOPs. We refer to these models as OPs-centric. A second orthogonal approach is to drop the interpretation but preserve only the relational one with respect to . We refer to these models as IO-centric. In these formulations, we include the LLM architectural hyperparameters in order to obtain LLM-agnostic models. While the OPs-centric models serve as an exploratory baseline, SIMPLE is ultimately derived within the IO-centric family.
The proposed models are summarized in Table 3. As direct comparisons, we include the formulations of SweetSpot [26] and the two LLM-agnostic models from related work: Vartziotis et al. [36], which can be classified as OPs-centric as it explicitly assigns meaning to its terms, and Zhan et al. [43], which falls among the IO-centric models.
5.1. OPs-centric Approach
We formulate three models that assign a meaning to each coefficient in terms of Joule/FLOPs and Joule/MemOPs at different levels of granularity.
H. Pizzini Cavagna, A. Proia et al.: Preprint submitted to Elsevier
Page 7 of 18
Table 3
Summary of the proposed energy models and selected baselines for predicting the energy per generated token, . SweetSpot is included for direct comparison. For the LLM-agnostic SweetSpot model, denote architecture-dependent analytical coefficients, whose explicit expressions are given in Equation 20.
| Approach | Model | # coeff. | Energy per token, |
|---|---|---|---|
| OPs-centric | Vartziotis et al. [36] | 6 | |
| FLOPs-MemOPs | 3 | ||
| Prefill-Decode | 5 | ||
| Fine-Grained | 25 | ||
| IO-centric | Zhan et al. [43] | 5 | |
| SweetSpot [26] | 6 | ||
| LLM-agnostic SweetSpot | 7 | ||
| SIMPLE | 4 |
FLOPs-MemOPs The first formulation assigns one coefficient to Equations (7, 15) and another to Equations (8, 16):
The model assumes that these two components contribute independently to the total inference energy, assigning a separate cost to each, regardless of whether the operations are performed in the prefill or the decode phase.
Prefill-Decode The second formulation differentiate these energy costs by prefill and decode phases, and assigns individual coefficients to Equations (7, 15, 8, 16), allowing the model to capture potentially different operating conditions and energy costs of the two phases:
Fine-Grained The third formulation maximizes the fitting granularity assigning a coefficient to each intermediate term, but perishing the physical meaning of Joule/FLOPs and Joule/MemOPs:
where:
denotes the complexity of each intermediate term across prefill and decode from Equations (1–6, 9–14).
5.2. IO-centric Approach
The previous models explore different ways of incorporating the analytical FLOPs and MemOPs into the energy prediction model. While these formulations explicitly account for the underlying computational cost, they also introduce a growing number of terms and fitting coefficients. The IO-centric approach instead groups the complexity terms according to their dependency on , simplifying or discarding those of negligible contribution.
In the following paragraphs, we first introduce LLM-agnostic SweetSpot, a natural extension of SweetSpot, [26] used as a comparison baseline, then present SIMPLE.
LLM-agnostic SweetSpot The SweetSpot model [26] captures quadratic dependencies on , but is fitted for individual LLMs. All architectural information is implicitly absorbed into the learned coefficients, making it impossible to generalize across different LLM architectures. A natural extension is therefore to preserve SweetSpot's functional dependencies on while making the coefficients explicitly dependent on the LLM architecture . To this end, we group the complexity terms
H. Pizzini Cavagna, A. Proia et al.: Preprint submitted to Elsevier
Page 8 of 18 from Equations (7, 8, 15, 16) to match the corresponding terms of the SweetSpot formulation reported in Table 3.
The resulting formulation preserves the SweetSpot dependencies while explicitly incorporating the architectural complexity of the target LLM, thereby enabling generalization across multiple LLM architectures. However, despite sharing a similar number of fitting coefficients and functional dependencies with SweetSpot, this formulation involves a considerable number of terms, similarly to the previously derived Fine-Grained model, since it groups complexity terms without assessing their individual significance or exploring optimal grouping strategies. As a consequence, it provides limited insights into how each architectural parameter and inference phase contributes to energy consumption.
SIMPLE To obtain a compact, interpretable, and generalizable model, we systematically evaluated different simplification and term-aggregation strategies, starting from Equations (7, 8, 15, 16). In particular, we adopted three complementary methods to refine the model. First, we performed term ablations, removing inner terms with low statistical significance. Second, we simplified the resulting expressions by discarding lower-order terms. Third, we explored different grouping strategies for the remaining terms. Based on these refinement methods, we derived the following formulation of SIMPLE:
where the total energy consumption combines the cost of the Prefill and Decode phases.
The Prefill term accounts for processing the input prompt and is obtained by refining Equations (7, 8). It scales linearly with the input length and the number of layers L, and quadratically with the hidden dimension d. The Decode component covers the generation of the output tokens and is obtained by refining Equations (15, 16). It comprises two terms. The KV-cache term captures the cost of reading the KV-cache, which grows as the context lengthens with each generated token. The Next-token term represents the cost that accumulates at a constant rate per generated token. Both terms scale linearly with d and L, while the KV-cache term additionally scales with the KV-to-query head ratio R.
The fitting coefficients weigh each term independently, assigning a distinct cost to each phase and separating
the KV-cache cost from the Next-token cost. Dividing by the number of generated tokens yields the per-token formulation of SIMPLE:

(21)
The Prefill term becomes a Prefill Amortization term, reflecting how the fixed cost of processing the prompt is spread over the generated tokens. The Decode term becomes a Decode Accumulation term, in which the KV-cache cost grows linearly with the context length, and the Next-token cost reduces to a constant per generated token.
6. Experimental Validation
This section details the experimental study conducted to validate SIMPLE. Section 6.1 describes the dataset introduced in [26] and reused in our experiments, summarizing its key observations on energy consumption, namely the relevance of the attention mechanism and the non-linear relationship with input and output lengths. Section 6.2 presents our results .
6.1. Dataset Description
The dataset contains energy measurements of TensorRT-LLM inference traces collected from a diverse set of widely used dense LLMs running on NVIDIA H100 accelerators. The included models span a range of LLM sizes and architectures, including MHA and on GQA with different KV grouping ratios, using a standard bf16 format for weights and KV-cache. The full list of models is given in Table 4.
The dataset comprises synthetic requests processed using trtl1lm-bench configured in throughput mode, with request concurrency set to 1000 and a maximum batch size of 1024. The maximum sequence length and the maximum number of batched tokens are both set to 8192. The experiments were conducted using one GPU per run on a server equipped with an Intel Xeon Platinum 8480+ CPU and four NVIDIA H100 Tensor Core GPUs connected via NVLink. Input and output lengths independently span 64–4096 tokens in powers of two, yielding 49 combinations with 1000 requests each. GPU power was sampled every 500 ms using pynmv1 [8]. The per-query energy was obtained by multiplying the average GPU power over 1000-request by the total measurement time, and dividing by the number of requests. Since neither the baseline models nor the SIMPLE model explicitly accounts for batching, we use these fixed settings, and fit energy per individual request.
Figure 1 reports the average tokens per joule computed on the 49 different workload configurations across the different LLMs in the dataset. Smaller models and GQA-based
Publicly available on Zenodo: doi.org/10.5281/zenodo.18714476
The evaluation code is available at gitlab.com/ecs-lab/simple-law
H. Pizzini Cavagna, A. Proia et al.: Preprint submitted to Elsevier
Page 9 of 18
Table 4
LLM test set grouped into size-based families (1B-9B parameters), with architectural hyperparameters for each model.
| Name | Size (B) | Attention | R | d | L | |
|---|---|---|---|---|---|---|
| Llama 3.2 | 1 | GQA | 32 | 1/4 | 2048 | 16 |
| OPT | 1.3 | MHA | 32 | 1 | 2048 | 24 |
| Qwen 2 | 1.5 | GQA | 12 | 1/6 | 1536 | 28 |
| Gemma 2 | 2 | GQA | 8 | 1/2 | 2304 | 26 |
| OPT | 2.7 | MHA | 32 | 1 | 2560 | 32 |
| Llama 3.2 | 3 | GQA | 24 | 1/3 | 3072 | 28 |
| Granite | 3 | MHA | 32 | 1 | 2560 | 32 |
| OPT | 6.7 | MHA | 32 | 1 | 4096 | 32 |
| Qwen 2 | 7 | GQA | 28 | 1/7 | 3584 | 28 |
| Falcon-RW | 7 | MHA | 64 | 1 | 4096 | 36 |
| Granite | 8 | GQA | 32 | 1/4 | 4096 | 36 |
| Llama 3.1 | 8 | GQA | 32 | 1/4 | 4096 | 32 |
| Gemma 2 | 9 | GQA | 16 | 1/2 | 3584 | 42 |

Figure 1: Average energy efficiency across the evaluated LLMs, highlighting the adopted attention architecture.
architectures generally achieved higher efficiency (Figure 1): Llama 3.2 1B reached 55.91 tok/J, compared with 5.12 tok/J for Falcon-RW 7B. Among similarly sized models, Qwen2 1.5B (GQA R=1/7) achieved 49.06 tok/J versus 20.66 tok/J for OPT 1.3B (MHA R=1). This underlines the importance of modeling the attention architecture alongside other LLM architectural hyperparameters. Model size alone is not enough to characterize inference energy consumption.
Figure 2 reports an aggregated average of the tokens per joule computed on the different models across the 49 different workload configurations in the dataset. Efficiency generally peaked at short inputs () and intermediate outputs (), and was lowest for long inputs and short outputs. Across models, the best configuration was more efficient than the worst. These results showed a model-dependent energy-efficiency “sweet spot” associated with model size, attention architecture, and sequence lengths. These findings provide the basis for the extended analysis presented here.
6.2. Experimental Results
In this section, we evaluate the accuracy of the proposed SIMPLE model in predicting the energy per token against

Figure 2: Aggregated energy efficiency across the dataset as a function of input and output sequence length.
that of the SOTA models and the other OPs-centric and IO-centric models reported in Table 3. All models have been fitted using Weighted Least Squares (WLS), since the variance of the measured token energy increases with the number of processed tokens, indicating heteroscedasticity.
Table 5 reports the results of this comparison across three evaluation protocols: (i) Leave-One-Out Cross Validation (LOOCV), which evaluates generalization to previously unseen LLM architectures by withholding the corresponding architectural hyperparameters () during fitting; (ii) k-fold cross validation, which evaluates model stability and robustness using 10-fold cross validation with 5 repetitions over individual () observations randomly shuffled across the complete dataset, ensuring each fold contains samples from all 13 architectures, in both the training and test sets, and (iii) full-dataset fit, used to generate the final fitting coefficients for energy estimation. In the table, columns correspond to the fitted models and rows report the accuracy results under each protocol. Figure 3 shows the values reported in Table 5, except for SweetSpot, whose scale would otherwise compress the remaining variants, at the expense of readability. We then use the full-dataset fit coefficients to compare SIMPLE against LLM-specific models on the same dataset. For each model and validation protocol, we report the coefficient of determination () and the Mean Absolute Percentage Error (MAPE). All three protocols show similar comparative results.
Cross Validation When comparing LOOCV results, SOTA approaches of Zhan et al. [43] and Vartziotis et al. [36] achieve values of 0.456 and 0.645, respectively. The proposed LLM-agnostic SweetSpot outperforms SOTA models, reaching an of 0.780, showing that extending the previously proposed SweetSpot formulation with LLM architectural hyperparameters makes it LLM-agnostic, able to predict across LLMs without separate per-model fits, improving MAPE from 69.444 to 30.390. Despite being more accurate than SOTA models, its accuracy is far from optimal. Among OPs-centric models, Fine-Grained is the most accurate, reaching , while FLOPs-MemOPs and Prefill-Decode obtain substantially lower of 0.551 and 0.522, respectively. This shows that considering only
H. Pizzini Cavagna, A. Proia et al.: Preprint submitted to Elsevier
Page 10 of 18
Table 5
Comparison of energy models across three evaluation protocols: LOOCV, k-fold Cross Validation (CV), and the full-dataset fit, using WLS (). For cross-validation protocols, we report mean and MAPE, standard deviation across folds.
| OPs-centric | IO-centric | |||||||
|---|---|---|---|---|---|---|---|---|
| Vartziotis et al. [36] | FLOPs MemOPs | Prefill Decode | Fine Grained | Zhan et al. [43] | SweetSpot [26] | LLM-agnostic SweetSpot | SIMPLE | |
| # coefficients | 6 | 3 | 5 | 25 | 5 | 6 | 7 | 4 |
| LOOCV | ||||||||
| 0.645(±0.153) | 0.551(±0.348) | 0.522(±0.385) | 0.945(±0.046) | 0.456(±0.387) | -0.119(±0.858) | 0.780(±0.175) | 0.944(±0.057) | |
| MAPE (%) | 37.743(±14.357) | 40.392(±10.793) | 37.525(±14.091) | 14.208(±6.826) | 44.962(±13.935) | 69.444(±23.455) | 30.390(±9.393) | 13.252(±5.298) |
| k-fold CV | ||||||||
| 0.679(±0.131) | 0.505(±0.227) | 0.513(±0.215) | 0.967(±0.013) | 0.444(±0.245) | -0.024(±0.151) | 0.762(±0.108) | 0.965(±0.015) | |
| MAPE (%) | 37.734(±2.703) | 39.510(±3.245) | 34.929(±3.690) | 10.895(±1.051) | 41.707(±3.539) | 63.269(±2.607) | 27.694(±2.590) | 12.038(±0.896) |
| Full-dataset Fit | ||||||||
| 0.725 | 0.581 | 0.585 | 0.970 | 0.530 | 0.033 | 0.799 | 0.969 | |
| MAPE (%) | 37.740 | 39.384 | 34.748 | 10.658 | 41.438 | 62.665 | 27.443 | 11.974 |

Figure 3: Graphical comparison of the results in Table 5. Error bars denote standard deviation across folds.
one coefficient per operation (FLOPs and MemOPs) or per inference phase lowers the attainable accuracy, which drops by in MAPE compared to Fine-Grained.
The proposed SIMPLE model, which groups fine-grained terms into an interpretable formulation consisting of the terms corresponding to Prefill, KV-cache and Next-token costs, reduces the fitting coefficients by and achieves the highest accuracy, with an of 0.944 and a MAPE of 13.252%, compared to 0.945 and 14.208% for the Fine-Grained model, while compared to the SOTA models, SIMPLE achieves a MAPE of 2.8–3.4× lower.
The k-fold results confirm the trends observed with LOOCV, with only minor differences due to the different nature of the validation task. Together, these results show that SIMPLE generalizes well to unseen LLM architectures (LOOCV) and interpolates effectively, accurately predicting unseen workload configurations of known LLMs (k-fold).
Finally, on the full dataset, SIMPLE reaches an of 0.969 and a MAPE of 11.974, confirming the small accuracy gap with Fine-Grained observed under cross validation. The
resulting coefficients are used throughout the paper and are reported in Table 9 in Appendix A.
To validate our OPs-centric approach, which aims to give a physical meaning to the fitted coefficients, we also report the coefficients of the OPs-centric FLOPs-MemOPs model. The estimated energy per FLOP ( J) and per memory operation ( J) are on the order of picoJoules, consistent with the measured energy per operation of Tensor Cores and HBM in NVIDIA GPUs [3].
Comparison with LLM-specific Models Table 6 compares the full-dataset fit of SIMPLE with SOTA LLM-specific models [38, 43, 11, 40, 24, 26], which are fitted separately for each LLM; for these we report the mean and standard deviation of and MAPE across LLMs in the dataset. The previously proposed SweetSpot [26] model achieves the highest accuracy among SOTA formulations, with a near-perfect in-sample fit (mean , mean MAPE = 1.841%). This sets an upper bound on the accuracy attainable by the proposed LLM-agnostic model. The architecture-aware terms of SIMPLE allow it to remain LLM-agnostic: a
H. Pizzini Cavagna, A. Proia et al.: Preprint submitted to Elsevier
Page 11 of 18
Table 6
Comparison of and MAPE between SIMPLE and LLM-specific baseline models, all fitted with WLS () on . SIMPLE is fitted once across all LLMs. As LLM-specific models are fitted separately for each LLM, we report their mean and standard deviation across LLMs.
| Model | Form | Formulation | MAPE (%) | |
|---|---|---|---|---|
| Vellaisamy et al. [38]Zhan et al. [43] | Linear | 0.604(±0.339) | 38.199(±10.729) | |
| Delavande et al. [11]Wilkins et al. [40] | Bilinear | 0.886(±0.065) | 20.477(±4.890) | |
| Oviedo et al. [24] | Power-law | 0.723(±0.099) | 63.234(±24.888) | |
| SweetSpot [26] | Quadratic | 1.000(±0.000) | 1.841(±0.692) | |
| SIMPLE | Quadratic | 0.969 | 11.974 |
RQ2: Can an LLM-agnostic model remain compact and accurate enough to be a practical alternative to LLM-specific models, while generalizing to unseen LLM architectures and workloads?
SIMPLE shows that a small set of architecture-aware terms captures inference energy without per-LLM fitting. Despite using 6.25× fewer coefficients than Fine-Grained, it matches its on unseen architectures and workloads with comparable MAPE. On the full dataset, it achieves and MAPE=11.97%, the best accuracy-compactness trade-off among the evaluated models. Relative to the most accurate LLM-specific model SweetSpot [26], SIMPLE trades accuracy for generalization (MAPE 11.97% vs. 1.84%), while outperforming all other LLM-specific baselines, making it a practical LLM-agnostic alternative.
single set of coefficients covers all architectures, with no per-model fitting. This generality comes at a cost in accuracy, with MAPE increasing from 1.841% to 11.974%, while decreases only slightly, from 1.000 to 0.969.
Nevertheless, SIMPLE outperforms all other LLM-specific baselines in both and MAPE. Its MAPE is 41.5% lower than that of the bilinear models [11, 40], and 3.2× and 5.3× lower than those of the linear [38, 43] and power-law [24] models, resp. The box above summarizes the answer to RQ2.
7. Use Cases of the SIMPLE Law
The accuracy and generalizability of SIMPLE, demonstrated in Section 6, establish its analytical formulation beyond a predictive model: its architecture-aware terms allow it to be applied as a law, from which structural insights on LLM inference energy can be derived. In this section, we apply SIMPLE as such to explain a family of notable trade-offs in LLM inference: (i) how LLM size and architecture impact (Section 7.1), (ii) how input/output
sequence yields an energy minimum in , and how this minimum shapes , and, through it, the Intelligence per Joule attained under increasing reasoning token budgets (Section 7.2), and (iii) how of a single query shifts from non-agentic to agentic AI workloads (Section 7.3). We use the SIMPLE law coefficients fitted on the full dataset (coefficients in Table 9).
To aid readability, we recall here the three contributions of the SIMPLE law to , color-highlighted consistently with the figures:

7.1. Impact of LLM Size and Architecture on Energy
Figure 4 shows the contribution of each SIMPLE law term to the predicted as a function of the individual key architectural hyperparameters: the hidden dimension , the number of layers , and the KV-to-query head ratio . We set and use Llama 3.1 8B architectural hyperparameters as a reference.
In Figure 4 (a), the Prefill Amortization term grows quadratically with , while the Decode Accumulation terms grow only linearly: the KV-cache term is proportional to , and the Next-token term is affine in due to the constant offset . This quadratic dependence dominates the overall scaling, producing a rapid increase in for large hidden dimensions and marking as one of the most sensitive LLM architectural design hyperparameter. Moreover, it suggests that the energy penalty of LLMs with a larger is amplified in prefill-dominated scenarios where long contexts are paired with short outputs.
The number of layers , shown in Figure 4 (b), multiplies the Prefill Amortization and KV-cache terms, and the
H. Pizzini Cavagna, A. Proia et al.: Preprint submitted to Elsevier
Page 12 of 18

Prefill Amortization Decode Accum. KV-cache Decode Accum. Next-token Total
Figure 4: Term-wise decomposition of the predicted under the SIMPLE law, varying hidden dimension (a), number of layers (b), and KV head ratio (c), using Llama 3.1 8B architectural hyperparameters, with . Each band represents the additive contribution of one term of the SIMPLE law.

Figure 5: Term-wise decomposition of the predicted under the SIMPLE law, using Llama 3.2 1B, Qwen2 1.5B, OPT 1.3B, and Llama 3.1 8B, with .
component of the Next-token term. Only the constant offset is independent of , so grows proportionally with model depth. Finally, Figure 4 (c) shows the energy impact of the attention head configuration. The Decode Accumulation KV-cache is the only term that depends on . It scales linearly with and , so a smaller (i.e., a larger , corresponding to more aggressive GQA grouping) reduces the KV-cache cost during decoding, making LLM architectures with higher GQA grouping more efficient on long output sequences. In the given example, is mJ/tok under , compared to mJ/tok under standard MHA (), a reduction of approximately . How do these dependencies impact the token energy consumption across (i) LLMs of the same family with growing size and (ii) LLMs of the same size but different families?
Figure 5 shows the contribution of each SIMPLE term to the predicted at , using Llama 3.2 1B as the reference and comparing it against three other models: Qwen2 1.5B and OPT 1.3B, which are similar in size, and Llama 3.1 8B, which belongs to the same family but is larger. Qwen2 1.5B shows an similar to Llama 3.2 1B (15 vs. 14 mJ/tok) but a different breakdown: its smaller (1536 vs. 2048) and (1/6 vs. 1/4), partially offset by a larger
RQ3: How do LLM size and architectural hyperparameters influence inference energy consumption?
SIMPLE law shows that hidden dimension is the most sensitive architectural hyperparameter, with prefill energy scaling quadratically with , while layer depth contributes linearly. Attention architecture matters strongly: more aggressive GQA KV grouping () reduces by up to relative to standard MHA (), identifying it as an impactful architectural choice for reducing inference energy. Applied across LLMs of different sizes and families, it explains how the energy cost changes and which term accounts for it. These results confirm that architectural hyperparameters are key determinants of inference energy efficiency, capturing effects that model size alone cannot explain.
(28 vs. 16), reduce the KV-cache share from 48% to 39%; the combined effect of its smaller and larger keeps the Prefill Amortization nearly unchanged, while increasing the Next-token share from 35% to 46%. At longer sequences, these structural differences favor Qwen2 1.5B, whose lower KV-cache coefficient increasingly dominates, making it more energy-efficient than Llama 3.2 1B. A starker contrast is seen with OPT 1.3B, which has the same as Llama 3.2 1B but a larger (24 vs. 16) and uses MHA () instead of GQA (). As a result, the KV-cache share grows from 48% to 78%, increasing the KV-cache energy from 6 mJ/tok to 40 mJ/tok, resulting in an overall increase from 14 mJ/tok to 51 mJ/tok. Comparing Llama 3.2 1B with the larger Llama 3.1 8B, the Prefill Amortization share increases from 17% to 26% while the KV-cache share decreases from 48% to 38%: as both (4096 vs. 2048) and (32 vs. 16) double, Prefill Amortization grows 8x while the KV-cache term grows only 4x, due to the quadratic contribution of , despite the same .
These results show that the SIMPLE law explains the energy differences between LLMs (Figure 1) as well as their expected scalability to longer input/output sequences through the architectural hyperparameters that drive each
H. Pizzini Cavagna, A. Proia et al.: Preprint submitted to Elsevier
Page 13 of 18

(a) Qwen3-1.7B
Architectural hyperparameters: d = 2048, L = 28, R = 8/16.
(b) DeepSeek-R1-Distill-Llama-8B
Architectural hyperparameters: d = 4096, L = 32, R = 8/32.
Figure 6: Estimated contour maps generated by the SIMPLE law of Qwen3-1.7B (a) and DeepSeek-R1-Distill-Llama-8B (b).

Figure 7: additive components of DeepSeek-R1-Distill-Llama-8B predicted by the SIMPLE law, with .
inference phase, which model size alone cannot capture. The box above summarizes the answer to RQ3.
7.2. From Energy Minimum to Reasoning Efficiency
Throughout, Qwen3-1.7B and DeepSeek-R1-Distill-Llama-8B to derive the minimum analytically and to map over a wide input/output token range and connect to Intelligence per Joule.
and Input/Output Sequence Figure 7 shows the predicted for DeepSeek-R1-Distill-Llama-8B as a function of , with fixed at an arbitrary length of 64. The colored regions correspond to the additive components of the SIMPLE law (Prefill Amortization, and Decode Accumulation, comprising separate KV-cache and Next-token regions), with the black curve giving the total. The Prefill Amortization energy cost decreases as , so its decreases hyperbolically as more output tokens are generated. In contrast, the Decode Accumulation cost of the KV-cache term increases linearly with , reflecting the accumulation of KV-cache entries with each new output token.
The remaining cost of the Next-token term is independent of the output length and contributes a constant energy. The balance between the decreasing prefill contribution and the increasing decode contribution produces a minimum in the curve, corresponding to the sweet spot [26] of inference energy efficiency. The location of this optimum can be obtained analytically from the SIMPLE law by differentiating with respect to and setting the derivative to zero. Since d and L are strictly positive by definition, the common factor can be divided out, yielding:
Solving for yields the optimal output sequence length:
This result gives a closed-form expression for the sweet spot, i.e., the output sequence length that minimizes the energy per generated token. In particular, the optimal output length grows proportionally to , and is inversely proportional to the KV-to-query head ratio . Consequently, larger input lengths require longer generations to amortize the prefill cost, while architectures with a larger R reach the energy optimum with shorter outputs.
Figure 6 shows the landscape generated by the SIMPLE law, over the input token range [16, 65536] and output token range [4, 16384], using Qwen3-1.7B and DeepSeek-R1-Distill-Llama-8B architectural hyperparameters. These spans cover the LLM workloads used in conversation and coding [32], agentic [18] and reasoning [21, 30]. Both predicted landscapes closely mirror the non-linear efficiency pattern empirically observed in the dataset of [26] (Figure 2), capturing both the prefill-amortization and the decode-dominated regimes within a single surface. For a fixed , the surface exhibits the expected amortization effect, with reaching a minimum before rising again as the linear decode cost dominates. For the shortest input ( ), this minimum lies at tokens for Qwen3-1.7B and for DeepSeek-R1-Distill-Llama-8B, and
H. Pizzini Cavagna, A. Proia et al.: Preprint submitted to Elsevier
Page 14 of 18
Table 7
Accuracy on AIME-24 dataset from [30] and SIMPLE estimation of and for Qwen3-1.7B and DeepSeek-R1-Distill-Llama-8B as a function of reasoning token budgets. Ratios (in parentheses) are relative to the minimum budget, corresponding to . Intelligence per Joule (IPJ) is computed as accuracy (%) divided by (J). For both models, the mean of the dataset is used ().
| Reasoning[tok] | Acc.[%] | [mJ/tok] | [J] | IPJ[%/kJ] |
|---|---|---|---|---|
| Qwen3-1.7B | ||||
| 2048 (1.0x) | 3.0 (1.00x) | 43.6 (1.00x) | 89.3 (1.00x) | 33.7 (1.00x) |
| 4063 (2.0x) | 14.0 (4.67x) | 73.6 (1.69x) | 298.9 (3.35x) | 46.8 (1.39x) |
| 6978 (3.4x) | 27.0 (9.00x) | 117.0 (2.68x) | 816.5 (9.14x) | 33.1 (0.98x) |
| 9510 (4.6x) | 38.0 (12.67x) | 154.8 (3.55x) | 1471.9 (16.48x) | 25.8 (0.77x) |
| 11896 (5.8x) | 46.0 (15.33x) | 190.4 (4.37x) | 2264.5 (25.36x) | 20.3 (0.60x) |
| DeepSeek-R1-Distill-Llama-8B | ||||
| 2048 (1.0x) | 2.0 (1.00x) | 64.0 (1.00x) | 131.1 (1.00x) | 15.3 (1.00x) |
| 3515 (1.7x) | 15.0 (7.50x) | 88.7 (1.39x) | 311.6 (2.38x) | 48.1 (3.15x) |
| 5086 (2.5x) | 28.0 (14.00x) | 115.3 (1.80x) | 586.3 (4.47x) | 47.8 (3.13x) |
| 7330 (3.6x) | 41.0 (20.50x) | 153.4 (2.40x) | 1124.6 (8.58x) | 36.4 (2.39x) |
| 8145 (4.0x) | 44.0 (22.00x) | 167.3 (2.61x) | 1362.6 (10.39x) | 32.3 (2.11x) |
corresponds to the most energy-efficient point in the token space, at and mJ/tok, respectively. As increases, the contours elongate along the output axis, reflecting the growing weight of the prefill term relative to the linear decoding contribution. The effect is strongest for short outputs, where the prefill cost is amortized over only a handful of tokens: the least energy-efficient point in the token space is located at and , where reaches J/tok for Qwen3-1.7B and J/tok for DeepSeek-R1-Distill-Llama-8B.
Reasoning Cost and Intelligence per Joule Reasoning (or thinking) is widely referred to as the process of generating intermediate tokens before producing the final response, thereby leveraging additional test-time computation to improve accuracy [21, 30]. Throughout this section, we refer to the total number of generated tokens, including explicit reasoning tokens, as the reasoning token budget. Since SIMPLE already models all generated tokens as , increasing the reasoning token budget directly increases and hence . To assess how this energy cost translates into reasoning efficiency, we combine the predicted by SIMPLE with task accuracy, measured as Intelligence per Joule (IPJ = accuracy / ). We draw on results from [30], which reported the accuracy of a set of SOTA LLMs (including Qwen3-1.7B [34] and DeepSeek-R1-Distill-Llama-8B [10]) on widely used benchmarks while varying reasoning budget.
From the results of [30], we report in Table 7 the accuracy as a function of the reasoning token budget for Qwen3-1.7B and DeepSeek-R1-Distill-Llama-8B on the AIME-24 dataset [45], for which both models report results across a comparable range of reasoning token budgets. In the same table, we also report the estimated and using the

Figure 8: Graphical comparison of the accuracy (a), (b) and Intelligence per Joule (c) results reported in Table 7.
SIMPLE law, at the corresponding reasoning token budget, together with their ratios with respect to the minimum considered reasoning token budget, . As input length, we use AIME-24 mean prompt length ().
Figure 8 shows that accuracy increases consistently with the reasoning token budget for both models, as does . For Qwen3-1.7B, accuracy rises from 3.0% to 46.0% as grows from 2048 up to 11896 tokens, corresponding to a reasoning budget the minimum. Over the same range, rises from 43.6 mJ/tok up to 190.4 mJ/tok, increasing by 25.4x and lowering IPJ to 0.60x of its initial value. DeepSeek-R1-Distill-Llama-8B shows a similar trend: accuracy improves from 2.0% to 44.0% as grows from 2048 to 8145 tokens, increasing by 10.4x. Unlike Qwen3-1.7B, this causes an IPJ increase of 2.11x.
Despite these opposite trends at the two reasoning extremes, both models show an IPJ peak neither at the minimum nor the maximum reasoning budget, but at an intermediate level, as visible in Figure 8(c). This arises because all reported budgets lie well past the minimum predicted by SIMPLE ( tokens for Qwen3-1.7B and tokens for DeepSeek-R1-Distill-Llama-8B), so grows super-linearly as and increase together, while the marginal accuracy gain per additional token decreases. Concretely, at the IPJ peak, the accuracy gain exceeds the increase for both models; for Qwen3-1.7B (4063 tokens), accuracy grows by 4.67x against by 3.35x, yielding an IPJ gain of 1.39x; for DeepSeek-R1-Distill-Llama-8B (3515 tokens), 7.5x against 2.38x, yielding an IPJ gain of 3.15x.
This application of the SIMPLE law provides a quantitative framework for identifying the reasoning budget that
H. Pizzini Cavagna, A. Proia et al.: Preprint submitted to Elsevier
Page 15 of 18
RQ4: How does the reasoning token budget affect inference energy and Intelligence per Joule?
The SIMPLE law analytically derives the output length that minimizes per-token energy (the sweet spot) showing that practical reasoning token budgets lie well beyond this minimum, driving super-linear growth in . Although accuracy grows with the reasoning budget, energy grows faster: Intelligence per Joule peaks at an intermediate budget and falls by up to 3.14x at the lowest and highest budgets across a 4.0x range.
maximizes inference energy, measured as IPJ. The box above summarizes the answer to RQ4.
7.3. Energy Cost in Agentic Workloads
So far, SOTA works [11, 24, 12] have focused on evaluating the environmental impact of conversational AI. Agentic AI workloads are changing this landscape, and no existing work proposes a theoretical framework that can capture and explain the resulting transformation in energy cost, as they lack a way of accounting for prompt/prefix caching. Liu et al. [18] present an extensive analysis of the GitHub Copilot [7] coding agent production workload. Unlike conversational AI, characterized by queries with a median prompt length () of 750–1050 tokens and a median completion length () of 80–105, the reported agentic workload follows a long-tail distribution with a median context length () of 68K tokens and a median completion length of 247 tokens. Moreover, they report a median prefix KV-cache of 63K tokens, which corresponds to a hit rate of . This means that in the average query only 5K input tokens (out of 68K) are newly computed in the prefill stage.
We apply the SIMPLE law with the following adaptation. Let be the number of input tokens served from the cache. Only the uncached suffix needs to be pre-filled, so the Prefill Amortization term in the SIMPLE law () scales with instead of .
Table 8 quantifies this effect for Llama 3.1 8B on the median GitHub Copilot request, comparing three scenarios. In the non-agentic scenario, for which we consider only the non-cached input (, ), the request costs 138.1 J, with Prefill (88.8 J) as the dominant term and the KV-cache contribution (43.2 J) playing a secondary role. Moving to the agentic scenario (, ), both context-dependent terms grow approximately proportionally to : Prefill increases by 13.6x and KV-cache by 13.3x, while the Next-token term is unchanged, bringing to 1787.7 J (13.0x). Prefix caching (, ) is highly effective on the Prefill term in this setting: only the 5K uncached tokens are processed, reducing Prefill contribution back to 88.8 J (-93%) and reducing by 2.7x (668.7 J). However, the agentic cached request still consumes 4.8x more energy than the non-agentic one. This is because the KV-cache term is unaffected by prefix caching: the full 68K context must still be read and attended to at every decoding step, accounting for 86% of the remaining energy.
Table 8
SIMPLE law estimation of the per-request energy, decomposed by contributions, for Llama-3.1-8B on the median GitHub Copilot coding-agent request from [18] (). In parentheses, the ratio w.r.t. the non-agentic case. is the energy cost of one additional token ().
| Term [J] | Non-Agentic | Agentic | Agentic Cached |
|---|---|---|---|
| Prefill | 88.8 (1.0x) | 1207.8 (13.6x) | 88.8 (1.0x) |
| KV-cache | 43.2 (1.0x) | 573.8 (13.3x) | 573.8 (13.3x) |
| Next-token | 6.1 (1.0x) | 6.1 (1.0x) | 6.1 (1.0x) |
| [J/tok] | 0.56 (1.0x) | 7.24 (12.9x) | 2.71 (4.8x) |
| Total | 138.1 (1.0x) | 1787.7 (13.0x) | 668.7 (4.8x) |
| (+1 tok) | 0.20 (1.0x) | 2.35 (11.8x) | 2.35 (11.8x) |
RQ5: How does the energy cost of a single query shift from non-agentic to agentic workloads?
Moving from a non-agentic () to an agentic () request raises the energy per request by 13.0x, as both the prefill and KV-cache terms grow with . Prefix caching removes most of the prefill cost (-93%, 2.7x lower ), but the KV-cache term, which accounts for 86% of the remaining energy, is unaffected: a cached agentic request still costs 4.8x more than a non-agentic one. Likewise, each additional generated token costs 11.8x more, with or without caching.
The last row reports the energy cost of generating one additional token (). For the non-agentic request, it is 0.20 J. In the agentic scenario, it rises to 2.35 J (11.8x), driven by KV-cache and Next-token energy growth, while the Prefill energy is unchanged. Since caching only affects Prefill, the cost of the additional generated token is identical in the agentic scenario with or without prefix caching. The box above summarizes the answer to RQ5.
8. Conclusions
This paper presented the SIMPLE law, an architecture-aware closed-form expression for predicting the energy cost of dense decoder-only LLM inference, derived from the computational and memory-access complexity of the prefill and decode phases. SIMPLE expresses energy consumption with a compact and interpretable formulation, which explains prefill and decode energy costs as a function of LLM architectural hyperparameters and input/output sequence lengths. By explicitly modeling the attention mechanism, SIMPLE closes a gap in the literature, as the first analytical energy law able to generalize across LLM architectures. With only four parameters fitted once across all LLMs, it reduces the error of previous SOTA models by 3.1–3.5x, reaching a MAPE of 11.97%.
Beyond predictive accuracy, the SIMPLE law quantitatively explains three of the most prominent effects in modern LLM inference: how LLM size and architecture
H. Pizzini Cavagna, A. Proia et al.: Preprint submitted to Elsevier
Page 16 of 18
Table 9 Fitted coefficients of the SIMPLE Law (, MAPE = 11.974%) and of the OPs-centric FLOPs-MemOPs model (, MAPE = 39.384%).
| Coeff. | Estimate | Std. Err. | t | P>|t| |
|---|---|---|---|---|
| SIMPLE | ||||
| 0.000 | -4.412 | < 0.001 | ||
| 48.631 | < 0.001 | |||
| 84.004 | < 0.001 | |||
| 25.208 | < 0.001 | |||
| FLOPs-MemOPs | ||||
| 7.566 | < 0.001 | |||
| 20.196 | < 0.001 | |||
| 7.221 | < 0.001 | |||
affect energy cost, how the reasoning token budget drives super-linear energy growth and shapes the Intelligence per Joule, and how agentic AI transforms energy consumption. Taken together, these results establish the SIMPLE law as an analytical foundation for sustainable LLM inference.
Our approach is subject to a few limitations, which we group into three categories. First, our evaluation is restricted to dense, single-GPU LLMs and does not cover mixture-of-experts models. We also restrict our evaluation to MHA and GQA attention mechanisms; validation on more recent attention variants, LLM sizes, and architectures is left for future work. Second, the SIMPLE law does not explicitly model batch size or the number of concurrent requests as hyperparameters of the formulation. We plan to explicitly incorporate such additional workload parameters to extend the law. Finally, the reference dataset was collected using TensorRT-LLM on a single H100 GPU. Therefore, the SIMPLE law captures the energy behavior of single-device inference, and does not account for the additional costs of multi-GPU deployments, such as inter-device communication, tensor or pipeline parallelism, and distributed KV-cache management. As such, the fitted coefficients are specific to this hardware-framework pair. How the coefficients would change using other accelerators, multi-GPU deployments, and other inference frameworks remains to be explored in future work.
Acknowledgements
The research has been partially funded by EuroHPC JU SEANERGYS (g.a. 101177590), DARE (g.a. 101143421) and Spoke “FutureHPC & BigData” of the ICSC.
A. Coefficients and Predictions
Table 9 reports the values of SIMPLE and the OPs-centric FLOPs-MemOPs models coefficients , fitted over the full dataset, together with their standard errors, t-statistics, and p-values, obtained using WLS ().
References
[1] Ainslie, J., Lee-Thorp, J., de Jong, M., Zemlyanskiy, Y., Lebron, F., Sanghai, S., 2023. GQA: Training generalized multi-query transformer models from multi-head checkpoints, in: Bouamor, H., Pino, J., Bali, K. (Eds.), Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, Association for Computational Linguistics, Singapore. pp. 4895–4901. URL: https://aclanthology.org/2023.emnp-main.298/, doi:10.18653/v1/2023.emnp-main.298.
[2] Almazrouei, E., Alobeidli, H., Alshamsi, A., Cappelli, A., Cojocaru, R., Debbah, M., Étienne Goffinet, Hesslow, D., et al., 2023. The falcon series of open language models. URL: https://arxiv.org/abs/2311.16867, arXiv:2311.16867.
[3] Antepara, O., Zhao, Z., Austin, B., Ding, N., Oliker, L., Wright, N.J., Williams, S., 2025. Benchmark-driven models for energy analysis and attribution of gpu-accelerated supercomputing, in: Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis, Association for Computing Machinery, New York, NY, USA. p. 888–904. URL: https://doi.org/10.1145/3712285.3759815, doi:10.1145/3712285.3759815.
[4] Chen, L., Zhang, C., He, Y., Stoica, I., Zaharia, M., Zou, J., 2026. The price reversal phenomenon: When cheaper reasoning models cost more. URL: https://arxiv.org/abs/2603.23971, arXiv:2603.23971.
[5] Chen, Y., Wu, Y., Song, C., Thai, Z.L., Shen, X., Han, X., Liu, Z., Sun, M., 2025. Cost-optimal grouped-query attention for long-context modeling, in: Christodoulopoulos, C., Chakraborty, T., Rose, C., Peng, V. (Eds.), Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, Association for Computational Linguistics, Suzhou, China. pp. 5360–5376. URL: https://aclanthology.org/2025.emnp-main.272/, doi:10.18653/v1/2025.emnp-main.272.
[6] Chung, J.W., Ma, J.J., Wu, R., Liu, J., Kweon, O.J., Xia, Y., Wu, Z., Chowdhury, M., 2025. The ml.energy benchmark: Toward automated inference energy measurement and optimization, in: Belgrave, D., Zhang, C., Lin, H., Pascanu, R., Koniusz, P., Ghassemi, M., Chen, N. (Eds.), Advances in Neural Information Processing Systems, Curran Associates, Inc. URL: https://proceedings.neurips.cc/paper_files/paper/2025/file/9dc51e03d7b0b3b2a58ffed7a3ad6b0f-Paper-Datasets_and_Benchmarks_Track.pdf, doi:10.52202/085713-3652.
[7] Copilot, G., 2025. Github copilot. URL: https://github.com/features/copilot.
[8] Corporation, N., 2025. Python bindings for nvidia management library (pynvml). https://pypi.org/project/nvidia-ml-py3/. Accessed: 2025-09-12.
[9] DeepSeek-AI, 2024. Deepseek-v2: A strong, economical, and efficient mixture-of-experts language model. URL: https://arxiv.org/abs/2405.04434, arXiv:2405.04434.
[10] DeepSeek-AI, 2025. Deepseek-r1: Incentivizing reasoning capability in lms via reinforcement learning. URL: https://arxiv.org/abs/2501.12948, arXiv:2501.12948.
[11] Delavande, J., Pierrard, R., Luccioni, S., 2026. Small talk, big impact: The energy cost of thanking ai. URL: https://arxiv.org/abs/2601.22357, arXiv:2601.22357.
[12] Elsworth, C., Huang, K., Patterson, D., Schneider, I., Sedivy, R., Goodman, S., Townsend, B., Ranganathan, P., Dean, J., Vahdat, A., et al., 2025. Measuring the environmental impact of delivering ai at google scale. arXiv preprint arXiv:2508.15734.
[13] Fernandez, J., Na, C., Tiwari, V., Bisk, Y., Luccioni, S., Strubell, E., 2025. Energy considerations of large language model inference and efficiency optimizations, in: Che, W., Nabende, J., Shutova, E., Pilehvar, M.T. (Eds.), Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), Association for Computational Linguistics, Vienna, Austria. pp. 32556–32569. URL: https://aclanthology.org/2025.acl-long.1563/, doi:10.18653/v1/2025.acl-long.1563.
[14] Grattafiori, A., Dubey, A., Jauhri, A., Pandey, A., Kadian, A., Al-Dahle, A., Letman, A., Mathur, A., et al., 2024. The llama 3 herd of models. URL: https://arxiv.org/abs/2407.21783, arXiv:2407.21783.
H. Pizzini Cavagna, A. Proia et al.: Preprint submitted to Elsevier
Page 17 of 18
[15] Jegham, N., Abdelatti, M., Elmoubarkhi, L., Hendawi, A., 2025. How hungry is ai? benchmarking energy, water, and carbon footprint of llm inference. URL: https://arxiv.org/abs/2505.09598, arXiv:2505.09598.
[16] Kaplan, J., McCandlish, S., Henighan, T., Brown, T.B., Chess, B., Child, R., Gray, S., Radford, A., Wu, J., Amodei, D., 2020. Scaling laws for neural language models. URL: https://arxiv.org/abs/2001.08361, arXiv:2001.08361.
[17] Liakopoulos, D., Sinha, P., Hu, T., Lee, M., Yadwadkar, N.J., 2025. Maveriq: Fingerprint-guided extrapolation and fragmentation-aware layering for intent-based llm serving, in: Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis, Association for Computing Machinery, New York, NY, USA. p. 1676–1696. URL: https://doi.org/10.1145/3712285.3759867, doi:10.1145/3712285.3759867.
[18] Liu, B., Qiu, H., Iñigo Goiri, Fonseca, R., Bianchini, R., Choukse, E., 2026. Agentic coding in the wild: Characterizing github copilot traces at production scale. URL: https://arxiv.org/abs/2608.00101, arXiv:2608.00101.
[19] Maliakel, P.J., Ilager, S., Brandic, I., 2026. Characterizing llm inference energy-performance tradeoffs across workloads and gpu scaling, in: 2026 IEEE 26th International Symposium on Cluster, Cloud and Internet Computing (CCGrid), pp. 33–43. doi:10.1109/CCGrid68966.2026.00013.
[20] Mishra, M., Stallone, M., Zhang, G., Shen, Y., Prasad, A., Soria, A.M., Merler, M., Selvam, P., et al., 2024. Granite code models: A family of open foundation models for code intelligence. URL: https://arxiv.org/abs/2405.04324, arXiv:2405.04324.
[21] Muennighoff, N., Yang, Z., Shi, W., Li, X.L., Fei-Fei, L., Hajishirzi, H., Zettlemoyer, L., Liang, P., Candès, E., Hashimoto, T., 2025. s1: Simple test-time scaling, in: Christodoulopoulos, C., Chakraborty, T., Rose, C., Peng, V. (Eds.), Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, Association for Computational Linguistics, Suzhou, China. pp. 20275–20321. URL: https://aclanthology.org/2025.emnlp-main.1025/, doi:10.18653/v1/2025.emnlp-main.1025.
[22] Niu, C., Sencer, B., Zhang, W., Chen, Y., 2026. The token-energy law of llm decode: Active bytes and realized time account for joules per token. URL: https://arxiv.org/abs/2610.28576, arXiv:2610.28576.
[23] NVIDIA, 2023. TensorRT-LLM. https://github.com/NVIDIA/TensorRT-LLM. Version X.Y.Z, accessed October 2026.
[24] Oviedo, F., Kazhamiaka, F., Choukse, E., Kim, A., Luers, A., Nakagawa, M., Bianchini, R., Lavista Ferres, J.M., 2026. Energy use of ai inference, efficiency pathways, and test-time scaling. Joule 10, 102430. URL: http://dx.doi.org/10.1016/j.joule.2026.102430, doi:10.1016/j.joule.2026.102430.
[25] Palladino, V., Palermo, G., Papka, M.E., Lan, Z., 2026. Energylens: Interpretable closed-form energy models for multimodal llm inference serving. URL: https://arxiv.org/abs/2605.10556, arXiv:2605.10556.
[26] Pizzini Cavagna, H., Proia, A., Madella, G., Esposito, G.B., Antici, F., Cesarini, D., Kiziltan, Z., Bartolini, A., 2026. Sweetspot: An analytical model for predicting energy efficiency of llm inference, in: Proceedings of the 17th ACM/SPEC International Conference on Performance Engineering, Association for Computing Machinery, New York, NY, USA. p. 83–95. URL: https://doi.org/10.1145/3777884.3797011, doi:10.1145/3777884.3797011.
[27] Saad-Falcon, J., Narayan, A., Akengin, H.O., Griffin, J.W., Shandilya, H., Lafuente, A.G., Goel, M., Joseph, R., Natarajan, S., Guha, E.K., Zhu, S., Athiwaratkun, B., Hennessy, J., Mirhoseini, A., Ré, C., 2026. Intelligence per watt: Measuring intelligence efficiency of local ai URL: https://arxiv.org/abs/2511.07885, arXiv:2511.07885.
[28] Samsi, S., Zhao, D., McDonald, J., Li, B., Michaleas, A., Jones, M., Bergeron, W., Kepner, J., Tiwari, D., Gadepally, V., 2023. From words to watts: Benchmarking the energy costs of large language model inference, in: 2023 IEEE High Performance Extreme Computing Conference (HPEC), pp. 1–9. doi:10.1109/HPEC58863.2023.10363447.
[29] Shazeer, N., 2019. Fast transformer decoding: One write-head is all you need. CoRR abs/1911.02150, 0. URL: http://arxiv.org/abs/
1911.02150, arXiv:1911.02150.
[30] Shi, D., Asi, A., Li, K., Yuan, X., Pan, L., Lee, W., Xiao, W., 2026. Swireasoning: Switch-thinking in latent and explicit for pareto-superior reasoning llms. URL: https://arxiv.org/abs/2510.05069, arXiv:2510.05069.
[31] Stojkovic, J., Choukse, E., Zhang, C., Goiri, I., Torrellas, J., 2024. Towards greener llms: Bringing energy-efficiency to the forefront of llm inference, in: EMC2 at ASPLOS. URL: https://arxiv.org/abs/2403.20306.
[32] Stojkovic, J., Zhang, C., Goiri, I., Torrellas, J., Choukse, E., 2025. Dynamollm: Designing llm inference clusters for performance and energy efficiency, in: 2025 IEEE International Symposium on High Performance Computer Architecture (HPCA), pp. 1348–1362. doi:10.1109/HPCA61900.2025.00102.
[33] Team, G., Mesnard, T., Hardin, C., Dadashi, R., Bhopuratiraj, S., Pathak, S., Sifre, L., Rivière, M., et al., 2024. Gemma: Open models based on gemini research and technology. URL: https://arxiv.org/abs/2403.08295, arXiv:2403.08295.
[34] Team, Q., 2025. Qwen3 technical report. URL: https://arxiv.org/abs/2505.09388, arXiv:2505.09388.
[35] Tschand, A., Idgunji, S., Rajan, A.T.R., Kanter, D., Reddi, V.J., 5555. MLPerf Power: Addressing the AI Power Wall. IEEE Micro, 1–9URL: https://doi.ieeecomputersociety.org/10.1109/MM.2026.3700126, doi:10.1109/MM.2026.3700126.
[36] Vartziotis, T., Kosteli, R., Vartziotis, E., Dasoulas, G., Keckeisen, M., Skianis, K., Kotsopoulos, S., Dominici, F., 2026. From tokens to watt-hours: Analytical energy estimation for llm inference on modern gpus. URL: https://arxiv.org/abs/2607.26571, arXiv:2607.26571.
[37] Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, L., Polosukhin, I., 2017. Attention is all you need, in: Proceedings of the 31st International Conference on Neural Information Processing Systems, Curran Associates Inc., Red Hook, NY, USA. p. 6000–6010.
[38] Vellaisamy, P., Lam, V., Blanton, S., Shen, J.P., 2026. Characterization of request and token energy costs for llm inference workloads on gpu platforms. URL: https://arxiv.org/abs/2608.28044, arXiv:2608.28044.
[39] Wilhelm, P., Wittkopp, T., Kao, O., 2025. Beyond test-time compute strategies: Advocating energy-per-token in llm inference, in: Proceedings of the 5th Workshop on Machine Learning and Systems, Association for Computing Machinery, New York, NY, USA. p. 208–215. URL: https://doi.org/10.1145/3721146.3721953, doi:10.1145/3721146.3721953.
[40] Wilkins, G., Keshav, S., Mortier, R., 2025. Offline energy-optimal llm serving: Workload-based energy models for llm inference on heterogeneous systems. SIGENERGY Energy Inform. Rev. 4, 113–119. URL: https://doi.org/10.1145/3727200.3727217, doi:10.1145/3727200.3727217.
[41] Yang, A., Yang, B., Hui, B., Zheng, B., Yu, B., Zhou, C., Li, C., Li, C., et al., 2024. Qwen2 technical report. URL: https://arxiv.org/abs/2407.10671, arXiv:2407.10671.
[42] Yuan, Z., Shang, Y., Zhou, Y., Dong, Z., Zhou, Z., Xue, C., Wu, B., Li, Z., Gu, Q., Lee, Y.J., Yan, Y., Chen, B., Sun, G., Keutzer, K., 2024. Llm inference unveiled: Survey and roofline model insights. URL: https://arxiv.org/abs/2402.16363, arXiv:2402.16363.
[43] Zhan, J., Shen, H., Guo, M., Huang, Z., He, T., 2026. Seeing is free, speaking is not: Uncovering the true energy bottleneck in edge vlm inference. URL: https://arxiv.org/abs/2607.09520, arXiv:2607.09520.
[44] Zhang, S., Roller, S., Goyal, N., Artetxe, M., Chen, M., Chen, S., Dewan, C., Diab, M., et al., 2022. Opt: Open pre-trained transformer language models. URL: https://arxiv.org/abs/2205.01068, arXiv:2205.01068.
[45] Zhang, Y., Math-AI, T., 2024. American invitational mathematics examination (aime) 2024.
H. Pizzini Cavagna, A. Proia et al.: Preprint submitted to Elsevier
Page 18 of 18