Data centers & energy · Research feature

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

The research examines how two prompt properties—cognitive load and phrasing pattern—affect energy use in on-device large language models.

Adapted from research by Wei Hu, Xiaolong Tu, Dawei Chen and colleagues.

arXiv preprint revision · 2026-09-01 · Attribution & reuse
In this article
Editorial illustration of server racks.

Editor’s introduction

The research examines how two prompt properties—cognitive load and phrasing pattern—affect energy use in on-device large language models. It shows that cognitively demanding prompts increase energy per token during decode phase, while different phrasing patterns alter token count and overall energy burden without changing the task’s semantic intent. Response quality is maintained across prompt variants when ground-truth answers are used, confirming that energy differences stem from design, not correctness. The findings indicate that energy efficiency depends on model-specific prompt characteristics, suggesting that prompt design must be tailored to each model. However, the study’s scope is limited to just two prompt properties. It does not explore other linguistic factors such as emotional tone, style, or adversarial framing, which could also influence energy use.

Introduction

The deployment of Large Language Models (LLMs) is increasingly expanding beyond cloud serving toward on-device execution on mobile and edge platforms. This trend is driven by the growing demand for stronger user privacy guarantees, lower inference latency, and reliable offline access. However, unlike cloud-based inference, where energy consumption is amortized across large-scale infrastructure and has little immediate impact on users, on-device inference is powered by finite batteries, making energy efficiency a strict and user-visible constraint. As a result, energy efficiency has emerged as a key bottleneck limiting widespread adoption of on-device LLMs.

Prior research on efficient LLMs has overwhelmingly focused on model-centric optimization techniques, including quantization, pruning, architectural compression, and distillation. These approaches improve inference efficiency primarily by reducing model size and computational cost through parameter or architectural modification, and have become the dominant strategy for on-device LLM deployment. In addition, several recent studies have examined prompt sensitivity by analyzing how variations in prompt phrasing, structure, and formatting affect the quality and stability of model outputs. However, a fundamental question remains largely unexplored: how does prompt design itself affect the energy consumption of on-device LLM inference? If different prompt variations induce substantially different energy costs, even when producing comparable outputs, prompting could serve as a new, model-agnostic approach to improving energy efficiency beyond model-centric optimization.

Studying how prompt variations affect the energy consumption of on-device LLMs is non-trivial. First, prompts are linguistic artifacts, whereas energy consumption depends on the computation they trigger inside the model, and there is no direct mapping between the two. Understanding why a prompt is energy-consuming therefore requires carefully designed empirical analysis that systematically links prompt variations to differences in computational behavior and measured power consumption. Second, it is challenging to construct prompt variants in a principled way. Prompt variants can differ along many dimensions, such as phrasing, cognitive load, or length, and naïve changes may unintentionally alter task semantics. Designing prompt variants that isolate specific prompt properties while preserving comparable task intent is essential for attributing observed energy differences to prompt design. Finally, deriving generalizable insights requires moving beyond isolated examples to identify consistent patterns that hold across prompt variants, tasks, models, and hardware devices.

Prompt Properties

Phrasing pattern. Prior studies have shown that semantically equivalent paraphrases can induce substantial variability in model behavior, raising concerns about robustness and evaluation reliability. Motivated by this sensitivity, we study phrasing pattern as a prompt property that characterizes variations in tone, linguistic style, and presentation structure while maintaining semantic intent. Drawing on the taxonomy of phrasing styles introduced by for the CLEF 2025 ELOQUENT Lab, we consider seven sub-properties: Aggressive Tone, Conversational Tone, Chain-of-Thought (CoT), Formatting Differences, Persona-Based Prompts, Polite Tone, and Technical/Jargon-Heavy Prompts.

Cognitive load. Cognitive Load Theory categorizes cognitive load into intrinsic load, extraneous load, and germane load, emphasizing that problem-solving requires meticulous management of cognitive load. Recent work conceptualizes cognitive load as a prompt-level property that systematically influences model reasoning behavior. In this paper, we examine cognitive load through three sub-properties: Intrinsic Load, Extraneous Load, and Germane Load. Each sub-property is represented by explicit prompt cues that vary the reasoning demand while preserving the original task intent.

Prompt Datasets

New dataset construction for cognitive load. As no existing public benchmark is designed to capture cognitive load across its three sub-properties (intrinsic, extraneous, and germane load), we construct a new dataset for cognitive load property using a manually designed template that guides the LLM in generating prompt variants (see Appendix B). For each sub-property, we create dedicated prompt variants while minimizing confounding cues from the other sub-properties. We sample base prompts as semantic anchors from three public datasets that represent distinct reasoning types: SVAMP (arithmetic word problems), BoolQ (binary yes/no question answering), and AI2-ARC (multiple-choice science questions).

Prompt Variation Generation

For cognitive load property, we generate three variants for each base prompt, corresponding to intrinsic, extraneous, and germane load. We employ Gemini-2.5-Pro API as the generator. Given a base prompt sampled from public datasets, the generator produces candidate prompt variations that target a specific prompt sub-property while preserving semantic meaning. The generation process follows three rules: (i) Single-property isolation, where each variation instantiates only one prompt sub-property to avoid property overlap; (ii) Semantic preservation, where the original task intent and expected answer remain unchanged; and (iii) Sub-property consistency, where each individual variation strictly follows the precise definition of its intended target sub-property.

Prompt Variation Validation

To ensure that the generated prompt variants are valid and aligned with the intended cognitive load sub-property, all candidates are passed through a rigorous validation process: (i) Property purity: confirming that each candidate strictly reflects its target sub-property while avoiding overlap with other sub-properties. (ii) Semantic similarity: verifying that each candidate remains semantically aligned with the base prompt, with alignment quantified using embedding-based cosine similarity.

Prompt variation scoring. For prompt variation quality control, we adopt the rubric-based scoring system from, which provides not only the definitions but also the standardized evaluation template for cognitive load properties (see Appendix C). Specifically, we invert the standard scoring direction for extraneous load, so that a higher score indicates a stronger presence of irrelevant and redundant information and better alignment with the intended extraneous load sub-property.

On-Device LLM Inference Profiling

Response logging. For each run, we record the generated response and run-level metadata, including device, model, prompt ID, token counts, and timestamps. These records support traceable analysis across prompts, models, devices, and energy measurements. Detailed latency, energy, token, and quality statistics are provided in Appendix F.

Response Quality Evaluation

Cognitive load tasks. For cognitive load datasets with ground-truth answers, we measure response quality with Exact Match (EM) accuracy. Since prompt variations preserve semantic intent, models should produce the same correct answer across variants. EM helps ensure that energy differences are not attributable to degraded correctness.

Phrasing pattern tasks. For phrasing pattern tasks, strict accuracy is unsuitable because the prompts are open-ended and can elicit multiple valid responses. In addition, the reference answers are LLM-generated rather than objective ground truth. We score each open-ended response along six dimensions: Relevance, Correctness, Coherence, Completeness, Instruction Adherence, and Internal Consistency. Each dimension is scored on a 0-1 rubric, with the dimension definitions and evaluation rubric provided in Appendix E.

RQ1: Per-token Energy Analysis

Observation 2: Absolute per-token energy is primarily model-dependent. Across both prompt properties, absolute per-token energy is primarily determined by the executed model rather than the prompt sub-property. Across both phrasing pattern and cognitive load, the separation between model curves is much larger than the variation across prompt sub-properties within the same model. This indicates that model architecture and scale remain the dominant factors in per-token execution cost.

Observation 3: Phrasing pattern exhibits limited normalized per-token energy variation. For phrasing pattern variants, the normalized heatmaps remain close to the base prompt across most models and sub-properties. Most values fluctuate around 1.0 in both prefill and decode, indicating that surface-level changes in tone, persona, formatting, politeness, or technical wording do not substantially alter the cost of processing each token. While some models show small deviations for specific sub-properties, these changes are modest compared with the absolute differences across models.

RQ2: Token Footprint Analysis

Observation 1: Phrasing patterns substantially reshape token usage. The top row shows that CoT and aggressive prompts consistently increase token usage relative to Base, while format, polite, and technical prompts stay closer to Base and sometimes reduce tokens. Therefore, surface-level phrasing alone can alter inference computation, even when per-token energy shifts are small.

Observation 2: Token usage effects are model dependent. The same phrasing pattern can lead to different token expansion across models. For example, CoT produces much larger total token ratios on SmolLM2-360M and Qwen-2.5-0.5B than on Gemma-2-2B or LLaMA-3.2-1B. This suggests that phrasing patterns affect not only the input prompt but also model generation behavior.

Observation 3: Phase burden differs across phrasing patterns. The bottom row shows that token-related energy burden is not distributed uniformly across inference phases. CoT and aggressive prompts often increase decode burden, indicating stronger effects on response generation. In contrast, format prompts can increase prefill burden while reducing or weakly increasing decode burden, suggesting that some phrasing patterns shift cost toward input processing rather than generation.

RQ3: Energy-quality Trade-off Analysis

Observation 2: Phrasing patterns affect quality dimensions unevenly. Phrasing patterns show relatively stable performance on relevance, coherence, and internal consistency, but larger variation on correctness, completeness, and instruction adherence. This indicates that stylistic changes can preserve the apparent fluency and alignment of a response, while improvements in task correctness and completeness remain less consistent.

Observation 4: Energy-quality trade-offs are model-dependent. The energy-quality effect of a phrasing pattern does not transfer uniformly across models. A sub-property that improves the energy-quality balance for one model may lead to a different trade-off profile for another. This model dependence suggests that prompt phrasing style selection should be model-aware, rather than assumed to generalize uniformly across models.

Prompt categorization and linguistic analysis. Prior work has extensively studied prompt properties from linguistic and cognitive perspectives, including phrasing patterns, syntactic and discourse structures, reasoning requirements, and cognitive complexity. Surveys and taxonomies further systematize these properties along functional and cognitive axes, while recent frameworks model prompt structure to support interpretability and prompt engineering. However, this line of work focuses on output quality and robustness, with little attention to how prompt properties affect system-level behavior such as on-device energy consumption during inference.

Prompt datasets and benchmarks. Large prompt and instruction datasets, such as Natural Instructions, Super-NaturalInstructions, and the Flan Collection, have been widely used for instruction tuning and evaluation. Tools like PromptSource further standardize prompt templates across tasks. While these resources enable broad coverage and performance-driven evaluation, prompts often vary simultaneously along multiple dimensions (e.g., semantics, length, and reasoning), making them unsuitable for isolating the impact of specific prompt properties on model or system behavior.

On-device LLM systems and energy profiling. Recent studies benchmark latency, memory, and throughput of LLM inference on mobile and edge devices and propose hardware-aware inference optimizations. Energy profiling efforts typically analyze model architectures, runtimes, or prompt-level workloads on server-class hardware. Consequently, existing work provides limited insight into how prompt properties themselves influence on-device energy consumption under controlled conditions.

Conclusion

This paper studies how prompt properties shape the energy behavior and response quality of on-device LLM inference. Through a broad empirical study covering models, devices, and prompt variants, we show that prompt-level variants can substantially affect mobile inference efficiency. In particular, cognitively demanding prompts tend to increase decode energy cost to process each token, while surface-level phrasing patterns can change token usage, phase-level energy burden, and response quality without altering the underlying task. Our analysis further shows that these effects are not uniform: different prompts can shift cost between prefill and decode phases, and the resulting energy-quality trade-offs vary across models and metrics.

These findings suggest that prompt design is not only a usability or quality concern, but also a practical optimization lever for energy-aware LLM deployment. Rather than treating energy consumption as a fixed property of a model, future systems should account for how prompts shape generation behavior and inference cost, especially in mobile and resource-constrained settings. Future work will extend this analysis to a broader prompt taxonomy and more diverse hardware platforms.

Limitations

Limited prompt property coverage. Our study primarily focuses on two prompt properties, cognitive load and phrasing pattern. However, the design space of prompts is vast, encompassing numerous other semantic and structural properties (e.g., emotional valence, stylistic constraints, or adversarial framings) that remain unexplored in our energy profiling. Future research incorporating a broader taxonomy of prompt properties would provide a more complete view of how diverse linguistic variables influence on-device energy consumption.

Limited control over prompt length. Extraneous load is defined by redundant or irrelevant information and intrinsic load by explicit step-by-step guidance; a prompt cannot carry these without becoming longer. Consequently, prompt length is not independently controlled, making it difficult to completely decouple the effects of cognitive load framing from length-related effects. Future work should construct length-matched prompt variants to better isolate these factors.

Evaluation methodology limitations. We use Gemini-2.5-Pro as the primary evaluator for prompt property scoring and response-quality assessment. Although this helps maintain internal consistency, relying on a single LLM-as-a-judge may introduce model-specific biases in scoring. In addition, embedding-based similarity and DeepEval metrics provide automatic proxies for response quality, but may not fully capture the nuanced utility perceived by human users. To strengthen evaluation reliability, we manually verify randomly sampled subsets of both prompt variation and response quality evaluations. Automated judgments that do not pass human review are replaced with human judgments.

Limited hardware coverage and profiling granularity. Our energy measurements are conducted on a limited set of mobile SoC architectures. Although these devices are representative of on-device inference settings, power profiles may differ across NPUs, GPUs, CPUs, memory systems, and runtime backends. In addition, our analysis focuses on end-to-end and phase-level energy behavior, rather than lower-level mechanisms such as KV-cache behavior, hardware counters, or operator-level traces. Future work should evaluate a wider range of mobile hardware and incorporate finer-grained profiling to explain hardware-specific energy variation.