TwinRouterBench: Fast Static and Live Dynamic Evaluation for Realistic Agentic LLM Routing
cs.LG, cs.AI
Submitted: 2026-05-14
Updated: 2026-09-30
Code: https://github.com/CommonstackAI/TwinRouterBench
License: http://creativecommons.org/licenses/by/4.0/
The gist: LLM routing matters most in long-horizon applications such as coding agents, deep research systems, and computer-use agents, where a single user request triggers many model calls.
Terminology
Abstract
LLM routing matters most in long-horizon applications such as coding agents, deep research systems, and computer-use agents, where a single user request triggers many model calls. Routing each call to the cheapest sufficient model can cut costs without sacrificing quality, yet existing router benchmarks evaluate routers only on one-shot prompts. They never expose the router-visible prefix at an intermediate agent step, never test whether a cheaper replacement preserves downstream task success, and often rely on online LLM judges at evaluation time. We introduce TwinRouterBench, a step-level routing benchmark with two tracks. The static track provides 970 router-visible prefixes from 520 instances across SWE-bench, BFCL, mtRAG, QMSum, and PinchBench, each paired with an execution-verified target tier estimated under a released downgrade-and-cascade protocol; scoring is deterministic arithmetic over tier labels, trajectory membership, and token costs, with no online evaluator-side LLM judge. The dynamic track supplies a harness that runs routers on the full 500-case SWE-bench Verified suite; in this paper we report a 100-case held-out evaluation disjoint from the static SWE supervision split. At each LLM call the router selects a concrete model from a locked pool, and success is measured by official task resolution and realized API spend. The two tracks support fast offline iteration followed by end-to-end validation under live agent execution. Code and data are available at https://github.com/CommonstackAI/TwinRouterBench.
Sources
- GraphRouter: A Graph-based Router for LLM Selections
- RouterBench: A Benchmark for Multi-LLM Routing System
- LLMRouterBench: A Massive Benchmark and Unified Framework for LLM Routing
- RouterArena: An Open Platform for Comprehensive Comparison of LLM Routers
- TRIM: Hybrid Inference via Targeted Stepwise Routing in Multi-Step Reasoning Tasks
- Doing More with Less: A Survey on Routing Strategies for Resource Optimisation in Large Language Model-Based Systems
- Triage: Routing Software Engineering Tasks to Cost-Effective LLM Tiers via Code Quality Signals
- vLLM Semantic Router: Signal Driven Decision Routing for Mixture-of-Modality Models
Related papers
- Polynomial-Augmented Neural Networks (PANNs) with Weak Orthogonality Constraints for Enhanced Function and PDE Approximation
- AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learning
- Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation
- Convergence issues in Relational Concept Analysis based on AOC-posets
- Beliefs Beyond Posteriors: The Predictive Cost of ELBO Binding
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks