arXiv:2611.05148cs.AINov 2026

Manuscript Offprint

arXiv:2611.05148

Creating Power Flexibility in Datacenters via Query Routing

Shivam Patel, Bingqing Chen, Jared Fernandez, Guannan Qu, Gauri Joshi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

The growing energy requirements of large language model inference highlight the need for datacenters to support safe grid operation by providing power demand flexibility, while maintaining service for interactive workloads. This work investigates query routing as a mechanism to enable such capability by dynamically allocating queries across different language model instances without deferring requests. We develop a general analytical framework that connects query arrival rates and sequence length distributions to token iteration time, request residence time, serving capacity, and power consumption of model instances. Leveraging this framework, we characterize the feasible query routing allocations and the corresponding power demand flexibilities, enabling the selection of routing strategies to achieve desired power consumption behavior. We validate our framework across four GPU platforms on language models ranging from 1B to 70B parameters, obtaining 2.8% mean absolute percentage error in estimating achievable power flexibility. We evaluate our approach on a real trace-driven simulation of a 10,000 H100 GPUs datacenter, exhibiting flexibility up to 16% of total power consumption, with 90% of the desired power reduction achieved within approximately 10 seconds. These results establish query routing as an effective mechanism for datacenter power demand flexibility and demonstrate the broader applicability of our proposed framework to datacenter level planning and orchestration.

1 INTRODUCTION

Large language models (LLMs) have experienced rapid development and widespread adoption across question answering, code generation, conversational assistants, and large data applications. The growing demand and evolving use cases for these models require increasing compute capacity, driving the construction of larger GPU datacenters. Recent assessment estimates show that datacenters consumed approximately 485 TWh globally in 2025, averaging a 55 GW power demand, with AI-focused datacenter capacity increasing more than three-fold over the last 18 months (International Energy Agency, 2026). Furthermore, this demand is continuously growing as individual AI campuses are being developed at the gigawatt scale (Crusoe, 2025; Meta, 2026).

The growth of datacenters is also changing the composition of overall electricity demand, with projections estimating that datacenters could account for 9.5–15.3% of U.S. electricity consumption by 2030 (Smith et al., 2026). As these facilities contribute to an increasing proportion of grid demand, their operating characteristics must be incorporated into power-system planning and control to ensure safe and reliable grid operations. In particular, large and abrupt

changes in datacenter demand can create imbalance between the generation and load, affecting the grid voltage and distribution frequency. For example, a transmission fault in July 2024 in Northern Virginia caused approximately 1.5 GW of datacenter load to disconnect from the grid, resulting in sudden increase in voltages above normal operating levels, prompting corrective action (NERC, 2025).

Integrating datacenters into grid planning and control thus requires characterization of their load behavior, and one of the most important questions that grid operators care about is the demand flexibility of datacenters: how much power

Figure

Figure 1. Power demand flexibility through query routing. Routing queries across large and small language models enables datacenters to adjust power demand for safe grid operation without dropping or deferring inference requests.

*Equal mentoring. †Work done during an internship at Bosch Center for AI. ¹Carnegie Mellon University ²Bosch Center for AI ³Cornell University.

Preprint.

Code available at: GitHub.

can datacenter reduce when requested, during periods of high grid loads, supply shortages, and other contingencies (Norris et al., 2025)? Grid operators are progressively incorporating such power demand flexibility into agreements with datacenters, for example, Google reported contracting 1 GW of datacenter demand response capacity with U.S. utilities in March 2026 (Terrell, 2026). For datacenters serving inference workloads, adhering to these commitments requires reducing power consumption while continuing to serve inference request workloads.

Existing power reduction and curtailment strategies include deferring or rescheduling training and batch inference workloads (Radovanović et al., 2023; Xu et al., 2025), shifting computation across datacenters (Sukprasert et al., 2024), or adjusting GPU power consumption limits and clock frequencies (You et al., 2023; Chung et al., 2024; Stojkovic et al., 2025b; Hankendi et al., 2026). Demand response frameworks further coordinate power curtailment across query workloads (Xing et al., 2023), and alternative on-site power sources and storage provide additional flexibility (Norris et al., 2025). More discussion on prior work can be found in Appendix A. Deferring query workloads is suitable for delay-tolerant tasks, whereas interactive real-time inference must satisfy latency service level objectives (SLOs). This motivates examining additional sources of power demand flexibility within the inference computational workload. In this work, we aim to achieve power demand flexibility for datacenters through query routing.

Our key observation is that the choice of language model for generating response to a query provides a controllable lever for modulating power consumption. Language query routing literature has demonstrated that smaller and efficient models match the response quality of larger models on a broad distribution of queries (Chen et al., 2024; Ding et al., 2024; Ong et al., 2025). Such queries which are adequately served by varying language models present opportunities to dynamically control datacenter level power consumption. Figure 1 describes our approach where we utilize these flexible query-model assignments and existing serving headroom at model instances to predict and control the power demand flexibility by routing queries without dropping or deferring them.

Our contributions are outlined as follows:

  • Modeling LLM inference and power consumption. We develop an analytical model (Section 2) that estimates average token iteration time, mean request residence time, serving capacity and power consumption based on query arrival rates and query and response length distributions. This analytical model is validated across different hardware platforms, and language models on real and synthetic workloads. On H100 GPUs, our predictions across configurations demonstrate con-

sistent accuracy with approximately 6% error.

  • Power flexibility through query routing. We calculate the feasible routing decisions under query workloads and model instance capacity constraints, and quantify the resulting power demand flexibility. This analysis establishes the effect of query workload and available serving headroom on power flexibility, and enables the selection of routing allocations to attain desired power consumption values. Evaluations substantiate our findings, with the predicted power demand flexibility within approximately 2.8% mean error to the observed values (Section 3).

  • Power demand flexibility at datacenter scale. We simulate a deployment of 10,000 H100 GPUs using a week-long trace of inference queries on Azure platform (Stojkovic et al., 2025b). Our approach demonstrates a mean power demand flexibility of up to 1.19 MW (16%) for queries which are indifferent to model choice. We also evaluate a sustained curtailment event over four hours, with our transient response achieving 90% of the target power change in approximately 10 s. Furthermore, we study the impact of GPU resource unavailability and downtime on the available demand flexibility (Section 4).

We organize remainder of the paper as follows. Section 2 introduces the analytical model for inference state and power consumption, Section 3 derives the routing feasibility constraints and power control mechanism. Section 4 evaluates datacenter-scale power control and discusses broader applications, and Section 5 concludes our work. Related work and additional results are presented in Appendices A and B.

References (63)