AgentRouter: Heterogeneous Model Routing for Cost-Optimal Multi-Step Agentic Workflows

arXiv cs.AI Papers

Summary

AgentRouter is a lightweight classifier for routing steps in agentic workflows to different model tiers, achieving 72% cost reduction with minimal quality degradation compared to frontier-only models.

arXiv:2609.22951v1 Announce Type: new Abstract: Enterprise agentic systems that route every trajectory step to a frontier model waste 60-80% of their inference budget on subtasks that smaller models handle equally well. Existing routing solutions optimize single-turn query assignment but ignore a property unique to agentic workflows: subtask complexity varies widely within a single trajectory. A planning step may require frontier-class reasoning while a subsequent formatting step needs only a 7B model. We formalize step-level model routing as a sequential assignment problem over agent trajectories and propose AgentRouter, a lightweight classifier (12M parameters, <5ms overhead per step on an A100 GPU) that maps each trajectory step to one of four model tiers using five features extractable at routing time. Trained on 50,000 annotated agent trajectory steps spanning planning, coding, research, and data analysis tasks, AgentRouter achieves 72% cost reduction relative to frontier-only baselines, retaining 97.3% of frontier-only quality (less than 3% degradation in end-to-end task completion); per-step routing accuracy reaches 91% on minimal-complexity steps and 85% on efficient-tier steps, with 76-82% on the harder mid-range and frontier tiers. On the same benchmarks, RouteLLM and FrugalGPT (applied per-step) achieve only 31% and 44% cost reduction respectively, because their single-turn training signal misses trajectory-level quality dependencies.
Original Article
View Cached Full Text

Cached at: 09/23/26, 09:17 AM

# AgentRouter: Heterogeneous Model Routing for Cost-Optimal Multi-Step Agentic Workflows
Source: [https://arxiv.org/abs/2609.22951](https://arxiv.org/abs/2609.22951)
[View PDF](https://arxiv.org/pdf/2609.22951)

> Abstract:Enterprise agentic systems that route every trajectory step to a frontier model waste 60\-80% of their inference budget on subtasks that smaller models handle equally well\. Existing routing solutions optimize single\-turn query assignment but ignore a property unique to agentic workflows: subtask complexity varies widely within a single trajectory\. A planning step may require frontier\-class reasoning while a subsequent formatting step needs only a 7B model\. We formalize step\-level model routing as a sequential assignment problem over agent trajectories and propose AgentRouter, a lightweight classifier \(12M parameters, <5ms overhead per step on an A100 GPU\) that maps each trajectory step to one of four model tiers using five features extractable at routing time\. Trained on 50,000 annotated agent trajectory steps spanning planning, coding, research, and data analysis tasks, AgentRouter achieves 72% cost reduction relative to frontier\-only baselines, retaining 97\.3% of frontier\-only quality \(less than 3% degradation in end\-to\-end task completion\); per\-step routing accuracy reaches 91% on minimal\-complexity steps and 85% on efficient\-tier steps, with 76\-82% on the harder mid\-range and frontier tiers\. On the same benchmarks, RouteLLM and FrugalGPT \(applied per\-step\) achieve only 31% and 44% cost reduction respectively, because their single\-turn training signal misses trajectory\-level quality dependencies\.

## Submission history

From: Rudrendu Kumar Paul \[[view email](https://arxiv.org/show-email/b478cc24/2609.22951)\] **\[v1\]**Sat, 19 Sep 2026 11:06:57 UTC \(25 KB\)

Similar Articles

The Best Model Routing is Task Specific (6 minute read)

TLDR AI

Model routing is a hot trend to reduce inference costs, but the best routing is deeply task-specific. Teams like Harvey and Factory achieve significant cost savings by focusing on single workflows rather than generic routers.

Switchcraft: AI Model Router for Agentic Tool Calling

arXiv cs.AI

This paper introduces Switchcraft, the first AI model router specifically optimized for agentic tool calling to reduce inference costs. By using a lightweight DistilBERT classifier, it achieves significant cost savings while maintaining high accuracy in tool-use tasks.

Model Routing Is Simple. Until It Isn’t.

Hugging Face Blog

IBM Research explains why model routing in agentic systems is more complex than a simple classification problem, highlighting how caching and hidden factors like actual workload cost and task difficulty estimation make routing a systems optimization challenge.

🚀 AgentRouter Just Got Even More Powerful!

Reddit r/AI_Agents

AgentRouter is a developer platform that provides a unified API to access and switch between multiple AI models, such as GPT and Claude variants, for tasks like coding, reasoning, and automation.