Not All Tokens Are Equal: Inflation-Aware Routing for Agentic LLM Systems
Abstract
When a language model fails to answer a query on the first attempt, an agentic system retries, consuming additional tokens each time. This retry overhead creates a gap between what a model's per-token price implies and what a full workflow actually costs. We call this gap \emph{token inflation} and define it as the ratio of true workflow cost to single-call cost. Systems like FrugalGPT route based on the latter, which can underestimate real cost by more than on difficult tasks. We address this with InflationAgent, a four-stage router that (1) measures token inflation systematically across model tiers and task types, finding inflation as high as for a 7B model on multi-hop question answering; (2) introduces CoT Branching Entropy (CBE), a pre-execution difficulty signal computed entirely from local inference, which predicts high inflation with AUROC 0.887; and (3) selects models by maximizing a Semantic Exchange Rate (SER) that divides expected accuracy by predicted true cost, with a fresh-escalation policy that discards failed chains before routing to a stronger model. On GSM8K under a fixed budget, InflationAgent achieves 94.7\% accuracy versus 91.0\% for FrugalGPT while using 31\% fewer tokens, and we show that forwarding a failed reasoning chain to GPT-4o reduces its accuracy by up to 34.8 percentage points, validating the fresh-escalation design.
Create a lesson
Metadata
- Categories
- cs.CL, cs.AI
Related papers
Sports Agent: A Self-Evolving System for Conversational Data Analytics
Shared title terminologycs.CLChao Chen, Fuqi Lin, Ze Chen et al.
MASCA: LLM based-Multi Agents System for Credit Assessment
Shared title terminologycs.CLGautam Jajoo, Atharva Pandey, Pranjal A Chitale et al.
Memory-Orchestrated Semantic System (MOSS): An Auditable Agentic Memory Architecture
Shared title terminologycs.CLSerge Lacasse, Jérémie Hatier, Alex Baker
ProACT: Towards Breakdown-Aware Proactive Agent in Multi-User Collaboration
Shared title terminologycs.CLShu Yang, Difei Xu, Jiaxin Pei et al.
AgenticRAGTracer: A Hop-Aware Benchmark for Diagnosing Multi-Step Retrieval Reasoning in Agentic RAG
Shared title terminologycs.CLQijie You, Wenkai Yu, Wentao Zhang
Parity-Aware Byte-Pair Encoding: Improving Cross-lingual Fairness in Tokenization
Shared title terminologycs.CLNegar Foroutan, Clara Meister, Debjit Paul et al.