Skip to content

How Do Prompt Variations Affect Energy Consumption in On-Device LLMs?

Sep 2026 · 0 citations · 47 references
Computer Science

TL;DR

This paper aims to understand how two prompt properties, cognitive load and phrasing pattern, shape the energy behavior of on-device LLM inference, and conducts a broad empirical study covering prompt properties, datasets, models, and devices.

Abstract

Large language models (LLMs) are increasingly deployed on mobile devices, making energy efficiency a key deployment constraint, yet the energy impact of prompt design remains underexplored. This paper aims to understand how two prompt properties, cognitive load and phrasing pattern, shape the energy behavior of on-device LLM inference. We conduct a broad empirical study covering prompt properties, datasets, models, and devices, with phase-level profiling that separates prefill and decode energy. We find that cognitive load primarily affects the energy cost per token, while phrasing pattern affects energy largely through token usage. Our energy-quality analysis further shows that prompt design reshapes the attainable frontier differently across models, highlighting the need for model-aware prompt design in energy-efficient on-device LLM inference. Code, datasets, and scripts are available at https://amai-gsu.github.io/PromptProperty/.

View source

Similar papers

Preprint Aug 2026

Understanding the Energy Scaling of Large Language Model Inference Across Context Lengths and Attention Architectures

Results show that attention mechanism is the primary factor governing how decode energy scales with context length, and model size primarily determines absolute energy consumption, while batching reduces both energy per generated token and request latency by up to 87%.

Molka Chkir, Syed Muhammad Danish, Jos Höll et al. · 0 citations
Preprint Sep 2026

Green AI: Cost of LLM-Based Code Completion

Code completion is one of the most widely used applications of large language models (LLMs) in software development. Open-weight LLMs are increasingly adopted for locally deployed code completion systems, partly due to privacy concerns. Despite advances in LLM accuracy, the energy cost of inference remains underexplore...

Negar Alizadeh, Nishant Saurabh, F. Castor · 0 citations
Preprint Aug 2026

Where Does the Energy Go? Profiling LLM Agent Inference on Blackwell GPUs

Context-management techniques such as summarization and selective retrieval may help reduce energy consumption in agent deployments, and suggest that context-management techniques such as summarization and selective retrieval may help reduce energy consumption in agent deployments.

Qi Luo, Kun Li, Zi-Wen Wang et al. · 0 citations
Review

Toward Sustainable On-Device Intelligence: A Survey on Energy-Efficient RAG Systems with Small Language Models

The three-way intersection of on-device AI inference optimization, retrieval-augmented generation, and Green AI / sustainability has not previously been drawn together into a unified system-design perspective, and this survey undertakes that cross-domain synthesis.

Zhiyuan Cheng, Longying Lai, Yue Liu et al. · 6 citations

Related blog posts

Microsoft Research Blog Oct 22, 2026

Flint-interactive: A language for creating interactive data visualizations

Flint-interactive gives AI agents a language for creating interactive visualizations. Click a chart, filter data, highlight related content, and explore beyond the view the author originally chose. The post Flint-interactive: A language for creating interactive data visualizations appeared first on Microsoft Research.

MIT News · Artificial Intelligence Oct 15, 2026

AI model decodes the language cells use to communicate

A new computational approach reveals how cells communicate to assemble into tissues. This could accelerate stem cell engineering, improve disease models, and inform therapies.

Microsoft Research Blog Oct 15, 2026

Proof-based general-purpose computing with Magnetar

Zero-knowledge proofs can verify computing results without rerunning workloads or exposing sensitive data. Magnetar helps bring them into the mainstream with support for standard programming languages, major speed gains, and quantum-resistant security. The post Proof-based general-purpose computing with Magnetar appeared first on Microsoft Research.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.