跳到正文
arXiv cs.CY· Xiaoyang Zhang, Yuejun Yan, Qingang Zhang, Yonggang Wen·· 12 小时前AI 评分31

CarbonRouter:面向多轮 LLM Web 服务的碳感知路由框架

Context Is Not Free: Carbon-Aware LLM Routing for Multi-Turn LLM Web Services across Geo-Distributed Data Centers

AI 导读

CarbonRouter 是一个在线框架,为每个查询联合选择模型、GPU 类型和区域以最小化碳排放,并引入缓存感知碳成本模型,将历史重算成本计入每个候选部署。在覆盖 5 个 LLM、3 种 GPU、4 个区域的两个真实对话数据集实验中,其碳排放较 FairCarbon 平均降低 16.1%,超过 30 轮的长会话降幅达 23.1%,同时提升预测答案质量与估计延迟。

正文

View PDF HTML (experimental)

Abstract:The sustainability of the Web has drawn growing attention, as large language model (LLM)-based web services leave a substantial carbon footprint. These services typically run in geo-distributed data centers whose grid carbon intensity varies across regions and over time, so routing each query to a cleaner region or a smaller model can reduce emissions. A conversation, however, is a stateful web session: each turn reuses the key--value (KV) cache of its history, which resides only where earlier turns were served. Serving a turn on another deployment requires recomputing this history, whose carbon cost grows with the conversation and can outweigh the saving of the move. Existing carbon-aware LLM routers treat a conversation's queries as independent and ignore this cost. We present CarbonRouter, an online framework that jointly selects the model, GPU type, and region for each query to minimize carbon emissions. CarbonRouter introduces a cache-aware carbon cost model, which charges history recomputation to every candidate deployment using cached-token counts from the serving backends, and uses a lightweight gate that keeps a session on its cached deployment when it would likely move back at the next turn and rebuild its history again. We evaluate CarbonRouter in trace-driven experiments on two real-world conversation datasets with five LLMs, three GPU types, and four regions, where it achieves the lowest carbon of all policies. CarbonRouter reduces CO$_2$ by 16.1\% on average relative to FairCarbon, a state-of-the-art carbon-aware router with the same action space, while also improving predicted answer quality and estimated latency. Moreover, the saving rises further to 23.1\% for sessions longer than 30 turns.
Subjects: Distributed, Parallel, and Cluster Computing (cs.DC); Artificial Intelligence (cs.AI); Computers and Society (cs.CY)
Cite as: arXiv:2610.35230 [cs.DC]
  (or arXiv:2610.35230v1 [cs.DC] for this version)
  https://doi.org/10.48550/arXiv.2610.35230

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Xiaoyang Zhang [view email]
[v1] Mon, 26 Oct 2026 11:20:26 UTC (191 KB)

来源:arXiv cs.CY · arxiv.org