Attention to Detail: Evaluating Energy, Performance, and Accuracy Trade-offs Across vLLM Configurations
Not on the map. Why?
Abstract (arXiv)
Large Language Models are reshaping how software is developed and maintained. They are typically deployed in production using inference engines such as vLLM, which can efficiently serve pre-trained, highly configurable models. While prior work has focused on model architectures and hardware acceleration, the impact of inference engine configuration on energy consumption, performance, and output quality remains poorly understood. In this paper, we present a large-scale controlled study of three selected vLLM configuration options: attention kernel type, prefix caching, and chunked prefill. We evaluate all combinations of these configurations across 5 open-weight LLMs and 5 diverse inference tasks, totaling 9,000 runs and 93,600 measures. We analyze energy consumption, latency, and accuracy, and examine both main effects and interaction effects between configuration options and tasks. Our results show that the studied configuration options significantly impact energy and performance, mainly driven by attention type and prefix caching, while chunked prefill has a limited effect under the default vLLM serving configuration and evaluated workloads. These effects are highly model- and workload-dependent, and no configuration is universally optimal. We further show that model choice dominates global trade-offs, while configuration tuning provides local improvements along the Pareto frontier. Unexpectedly, inference options can also affect model accuracy.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 34 of its 63 references that are in the map. First posted on arXiv 10 Jul 2026.
Builds on
34 of 63 references.
References · 34
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 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
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2024WildChat: 1M ChatGPT Interaction Logs in the Wildcited by 598
- 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 367
- 2025FlashInfer: Efficient and Customizable Attention Engine for LLM Inference Servingcited by 248
- 2021Sustainable AI: Environmental Implications, Challenges and Opportunitiescited by 242
- 2023Power Hungry Processing: Watts Driving the Cost of AI Deployment?cited by 186
- 2023From Words to Watts: Benchmarking the Energy Costs of Large Language Model Inferencecited by 168
- 2024A Thorough Examination of Decoding Methods in the Era of LLMscited by 112
22 more
- 2025How Hungry is AI? Benchmarking Energy, Water, and Carbon Footprint of LLM Inferencecited by 73
- 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
- 2024LLM Inference Serving: Survey of Recent Advances and Opportunitiescited by 46
- 2024Top Leaderboard Ranking = Top Coding Proficiency, Always? EvoEval: Evolving Coding Benchmarks via LLMcited by 38
- 2025Sustainable LLM Inference for Edge AI: Evaluating Quantized LLMs for Energy Efficiency, Output Accuracy, and Inference Latencycited by 32
- 2024Offline Energy-Optimal LLM Serving: Workload-Based Energy Models for LLM Inference on Heterogeneous Systemscited by 27
- 2024Decoding Decoded: Understanding Hyperparameter Effects in Open-Ended Text Generationcited by 26
- 2024LLMCO2: Advancing Accurate Carbon Footprint Prediction for LLM Inferencescited by 19
- 2025Guidelines for Empirical Studies in Software Engineering involving Large Language Modelscited by 18
- 2025Seesaw: High-throughput LLM Inference via Model Re-shardingcited by 15
- 2024LLM-Pilot: Characterize and Optimize Performance of your LLM Inference Servicescited by 14
- 2025A Survey on Inference Engines for Large Language Models: Perspectives on Optimization and Efficiencycited by 12
- 2025Taming the Long-Tail: Efficient Reasoning RL Training with Adaptive Draftercited by 12
- 2023On the Suitability of Hugging Face Hub for Empirical Studiescited by 8
- 2024Green My LLM: Studying the key factors affecting the energy consumption of code assistantscited by 6
- 2024The Impact of Hyperparameters on Large Language Model Inference Performance: An Evaluation of vLLM and HuggingFace Pipelinescited by 5
- 2026Understanding Efficiency: Quantization, Batching, and Serving Strategies in LLM Energy Usecited by 4
- 2024A Beginner's Guide to Power and Energy Measurement and Estimation for Computing and Machine Learningcited by 3
- 2025Benchmarking Energy Efficiency of Large Language Models Using vLLMcited by 3
- 2026Towards Green AI: Decoding the Energy of LLM Inference in Software Developmentcited by 2
- 2026Pimp My LLM: Leveraging Variability Modeling to Tune Inference Hyperparameterscited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.