mlsanityData to 14 Oct 2026

Green Prompting: Characterizing Prompt-driven Energy Costs of LLM Inference

arXiv 2503.10666 ↗First posted 9 Mar 2025cs.CL cs.AI cs.LGcited by 3

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) have become widely used across various domains spanning search engines, code generation, and text creation. However, a major concern associated with their adoption is the high cost of inference, impacting both their sustainability and financial feasibility. In this study, we empirically study how different prompt and response characteristics directly impact LLM inference energy cost. We conduct experiments leveraging three open-source transformer-based LLMs across three task types-question answering, sentiment analysis, and text generation. For each inference, we analyzed prompt and response characteristics (length, semantic meaning, time taken, energy consumption). Our results demonstrate that even when presented with identical tasks, models generate responses with varying characteristics and subsequently exhibit distinct energy consumption patterns. We found that prompt length is less significant than the semantic meaning of the task itself. In addition, we identified specific keywords associated with higher or lower energy usage that vary between associated tasks. These findings highlight the importance of prompt design in optimizing inference efficiency. We conclude that the semantic meaning of prompts and certain task-related keywords significantly impact inference costs, leading the way for deeper exploration towards creating energy-adaptive LLMs.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 36 of its 50 references that are in the map. First posted on arXiv 9 Mar 2025.

Builds on

36 of 50 references.

References · 36

  1. 2017Attention Is All You Needcited by 60,361
  2. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  3. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  4. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  5. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
  6. 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
  7. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
  8. 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,554
  9. 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,254
  10. 2024Gemma: Open Models Based on Gemini Research and Technologycited by 916
  11. 2023Instruction Tuning with GPT-4cited by 686
  12. 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 632
24 more
  1. 2023Splitwise: Efficient generative LLM inference using phase splittingcited by 558
  2. 2024Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-Servecited by 526
  3. 2019Quantifying the Carbon Emissions of Machine Learningcited by 521
  4. 2023Orca: Progressive Learning from Complex Explanation Traces of GPT-4cited by 379
  5. 2022Estimating the Carbon Footprint of BLOOM, a 176B Parameter Language Modelcited by 265
  6. 2020Towards the Systematic Reporting of the Energy and Carbon Footprints of Machine Learningcited by 249
  7. 2021Sustainable AI: Environmental Implications, Challenges and Opportunitiescited by 242
  8. 2023Power Hungry Processing: Watts Driving the Cost of AI Deployment?cited by 191
  9. 2023From Words to Watts: Benchmarking the Energy Costs of Large Language Model Inferencecited by 170
  10. 2020Carbontracker: Tracking and Predicting the Carbon Footprint of Training Deep Learning Modelscited by 169
  11. 2022Ask Me Anything: A simple strategy for prompting language modelscited by 155
  12. 2023HelpSteer: Multi-attribute Helpfulness Dataset for SteerLMcited by 142
  13. 2023Black-Box Prompt Optimization: Aligning Large Language Models without Model Trainingcited by 122
  14. 2016An Analysis of Deep Neural Network Models for Practical Applicationscited by 116
  15. 2023WebGLM: Towards An Efficient Web-Enhanced Question Answering System with Human Preferencescited by 100
  16. 2022Zeus: Understanding and Optimizing GPU Energy Consumption of DNN Trainingcited by 79
  17. 2023LLMCarbon: Modeling the end-to-end Carbon Footprint of Large Language Modelscited by 72
  18. 2024Beyond Efficiency: A Systematic Survey of Resource-Efficient Large Language Modelscited by 67
  19. 2024Towards Greener LLMs: Bringing Energy-Efficiency to the Forefront of LLM Inferencecited by 61
  20. 2024A Survey of Prompt Engineering Methods in Large Language Models for Different NLP Taskscited by 47
  21. 2024Characterization of Large Language Model Development in the Datacentercited by 46
  22. 2022Hardware Approximate Techniques for Deep Neural Network Accelerators: A Surveycited by 39
  23. 2024When to Stop? Towards Efficient Code Generation in LLMs with Excess Token Preventioncited by 21
  24. 2021NPE: An FPGA-based Overlay Processor for Natural Language Processingcited by 17

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 2.

3 papers.