SweetSpot: An Analytical Model for Predicting Energy Efficiency of LLM Inference
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) inference is central to modern AI applications, dominating worldwide datacenter workloads, making it critical to predict its energy footprint. Existing approaches estimate energy consumption as a simple linear function of input and output sequence. However, by analyzing the autoregressive structure of Transformers, which implies a fundamentally non-linear relationship between input and output sequence lengths and energy consumption, we demonstrate the existence of a generation energy minima. Peak efficiency occurs with short-to-moderate inputs and medium-length outputs, while efficiency drops sharply for long inputs or very short outputs. Consequently, we propose SweetSpot, an analytical model derived from the computational and memory-access complexity of the Transformer architecture, which accurately characterizes the efficiency curve as a function of input and output lengths. To assess accuracy, we measure energy consumption using TensorRT-LLM on NVIDIA H100 GPUs across a diverse set of LLMs ranging from 1B to 9B parameters, including OPT, LLaMA, Gemma, Falcon, Qwen2, and Granite. We test input and output lengths from 64 to 4096 tokens and achieve a mean MAPE of 1.79%. Our results show that aligning sequence lengths with these efficiency "sweet spots" reduce energy usage, up to 33.41x, enabling informed truncation, summarization, and adaptive generation strategies in production systems.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 11 of its 28 references that are in the map. First posted on arXiv 5 Feb 2026.
Builds on
11 of 28 references.
References · 11
- 2017Attention Is All You Needcited by 59,932
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2024Qwen2 Technical Reportcited by 2,076
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
- 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,278
- 2022DeepSpeed Inference: Enabling Efficient Inference of Transformer Models at Unprecedented Scalecited by 403
- 2024Granite Code Models: A Family of Open Foundation Models for Code Intelligencecited by 116
- 2024Towards Greener LLMs: Bringing Energy-Efficiency to the Forefront of LLM Inferencecited by 59
- 2025Energy Considerations of Large Language Model Inference and Efficiency Optimizationscited by 54
- 2024Offline Energy-Optimal LLM Serving: Workload-Based Energy Models for LLM Inference on Heterogeneous Systemscited by 27
Built on by
Citing papers per year: 2026: 6.
6 papers.
- 2026Characterization of Request and Token Energy Costs for LLM Inference Workloads on GPU Platformscited by 2
- 2026The Workload-Router-Pool Architecture for LLM Inference Optimization: A Vision Paper from the vLLM Semantic Router Projectcited by 1
- 2026EnergyLens: Interpretable Closed-Form Energy Models for Multimodal LLM Inference Servingcited by 0
- 2026Agentic AI for Bilevel Long-Term Optimization of Policy-Driven Physical Layer Systemscited by 0
- 2026Where Should Agents Live? Energy-Memory Characterization of Agentic AI for the Edge-Cloud Continuumcited by 0
- 2026Analytical Power-Aware Provisioning for Prefill-Decode Disaggregated AI Inferencecited by 0
- 2026Analytical Power-Aware Provisioning for Prefill-Decode Disaggregated AI Inference21 Sep 2026
- 2026Where Should Agents Live? Energy-Memory Characterization of Agentic AI for the Edge-Cloud Continuum16 Sep 2026
- 2026Characterization of Request and Token Energy Costs for LLM Inference Workloads on GPU Platforms28 Aug 2026
- 2026Agentic AI for Bilevel Long-Term Optimization of Policy-Driven Physical Layer Systems23 Jun 2026
- 2026EnergyLens: Interpretable Closed-Form Energy Models for Multimodal LLM Inference Serving11 May 2026
- 2026The Workload-Router-Pool Architecture for LLM Inference Optimization: A Vision Paper from the vLLM Semantic Router Project22 Mar 2026