Skip to main content
QUICK REVIEW

[Paper Review] Sustainable LLM Inference using Context-Aware Model Switching

Yuvarani, Akashdeep Singh|arXiv (Cornell University)|Feb 25, 2026
Big Data and Digital EconomyComputer Science0 citations
TL;DR

The paper presents a context-aware model switching framework that dynamically routes LLM queries to appropriately sized models to save energy while preserving output quality, using caching, rule-based complexity scoring, ML classification, and a user-adaptive component.

ABSTRACT

Large language models have become central to many AI applications, but their growing energy consumption raises serious sustainability concerns. A key limitation in current AI deployments is the reliance on a one-size-fits-all inference strategy where most systems route every request to the same large model, regardless of task complexity, leading to substantial and unnecessary energy waste. To address this issue, we propose a context-aware model switching approach that dynamically selects an appropriate language model based on query complexity. The proposed system uses a Context-Aware Model Switching for Energy-Efficient LLM Inference that combines caching for repeated queries, rulebased complexity scoring for fast and explainable decisions, machine learning classification to capture semantic intent, and a user-adaptive component that learns from interaction patterns over time. The proposed architecture was evaluated using real conversation workloads and three open-source language models (Gemma3 1B, Gemma3 4B and Qwen3 4B) with different computational costs, measuring energy consumption (via NVML GPU power telemetry), response latency, routing accuracy, and output quality (BERTScore F1) to reflect real-world usage conditions. Experimental results show that the model switching approach can reduce energy consumption by up to 67.5% compared to always using the largest model while maintaining a response quality of 93.6%. In addition, the response time for simple queries also improved significantly by approximately 68%. These results show that model switching inference offers a practical and scalable path toward more energy-efficient and sustainable AI systems, demonstrating that significant efficiency gains can be achieved without major sacrifices in response quality.

Motivation & Objective

  • Motivate reducing energy consumption in LLM inference by avoiding a one-size-fits-all large-model routing.
  • Propose a context-aware switching architecture that selects models based on query complexity and semantic intent.
  • Demonstrate energy savings and quality trade-offs on real workloads using open-source models.
  • Incorporate caching and adaptive learning to improve routing decisions over time.

Proposed method

  • Employ caching for repeated queries to avoid redundant computation.
  • Use rule-based complexity scoring to enable fast, explainable routing decisions.
  • Apply machine learning classification to capture semantic intent of queries.
  • Incorporate a user-adaptive component that learns from interaction patterns over time.
  • Evaluate using NVML GPU power telemetry for energy, latency for response time, routing accuracy, and BERTScore F1 for output quality.
  • Test with Gemma3 1B, Gemma3 4B, and Qwen3 4B models under real conversation workloads.

Experimental results

Research questions

  • RQ1Can context-aware model switching reduce energy consumption without sacrificing output quality in LLM inference?
  • RQ2How do caching, complexity scoring, and ML-based intent classification contribute to effective model routing?
  • RQ3What are the energy, latency, routing accuracy, and quality implications when using multiple open-source models for different query complexities?
  • RQ4Does a user-adaptive component improve long-term routing decisions?

Key findings

  • Energy consumption can be reduced by up to 67.5% compared to always using the largest model.
  • Response quality remains high with a reported 93.6% (BERTScore F1) under switching.
  • Simple queries experience a significant improvement in response time of about 68%.
  • The evaluation uses real conversation workloads and three open-source models (Gemma3 1B, Gemma3 4B, Qwen3 4B).
  • The system uses NVML GPU telemetry to measure energy consumption.
  • The architecture integrates caching, rule-based scoring, ML classification, and a user-adaptive component to balance efficiency and quality.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.