# The SIMPLE Law for Energy Cost of LLM Inference

DevFeed: [The SIMPLE Law for Energy Cost of LLM Inference](<https://devfeed.tech/articles/the-simple-law-for-energy-cost-of-llm-inference-115445.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.03330>)

Author: Hiari Pizzini Cavagna, Andrea Proia, Daniele Cesarini, Zeynep Kiziltan, Andrea Bartolini

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Sustainable Computing](<https://devfeed.tech/topics/sustainable-computing.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>)

Tags: [agentic](<https://devfeed.tech/tags/agentic.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [budget](<https://devfeed.tech/tags/budget.md>), [cache](<https://devfeed.tech/tags/cache.md>), [caching](<https://devfeed.tech/tags/caching.md>), [complexity](<https://devfeed.tech/tags/complexity.md>), [cost](<https://devfeed.tech/tags/cost.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [cs-pf](<https://devfeed.tech/tags/cs-pf.md>), [decode](<https://devfeed.tech/tags/decode.md>), [dimension](<https://devfeed.tech/tags/dimension.md>), [energy](<https://devfeed.tech/tags/energy.md>), [gqa](<https://devfeed.tech/tags/gqa.md>), [inference](<https://devfeed.tech/tags/inference.md>), [input](<https://devfeed.tech/tags/input.md>), [intelligence](<https://devfeed.tech/tags/intelligence.md>), [joule](<https://devfeed.tech/tags/joule.md>), [kv-cache](<https://devfeed.tech/tags/kv-cache.md>), [law](<https://devfeed.tech/tags/law.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llm-inference](<https://devfeed.tech/tags/llm-inference.md>), [simple](<https://devfeed.tech/tags/simple.md>)

## AI overview

SIMPLE estimates LLM inference energy with a four-parameter analytical model that separates prefill, KV-cache, and next-token computation. Across traces of 13 dense models from six families on NVIDIA H100 GPUs, it reports R²=0.969 and 11.97% MAPE, 3.1-3.5x lower error than the cited fitted model, without per-LLM calibration. The abstract reports that prefill energy grows quadratically with hidden dimension, while more aggressive GQA grouping cuts per-token energy by up to 3x versus MHA. Longer reasoning budgets can push output past the model's energy minimum: energy then grows faster than accuracy, and Intelligence per Joule peaks at an intermediate budget. Agentic requests use 13x the energy of non-agentic requests in the reported comparison; prefix caching cuts most prefill cost, but leaves KV-cache cost intact, so cached agentic requests still use 4.8x as much energy.

## Source excerpt

arXiv:2611.03330v1 Announce Type: new 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 the most accurate SOTA model is a fit, not a law: it absorbs architecture into fitted coefficients, requiring per-LLM fitting. We derive closed-form expressions of the computational and memory-access complexity of LLM inference in terms of architectural hyperparameters, covering MHA and 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 on NVIDIA H100 GPUs, it attains R2 = 0.969 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.