aiqbench analysis
This experimental routing strategy dynamically assigns models based on agent phases (exploring, implementing, verifying), achieving 46% cost reduction on SWE-bench Verified while matching Claude Opus-5 quality by reserving frontier models only for critical implementation turns. The approach relies on analyzing tool call history to stabilize phase detection without incurring additional inference latency or classifier overhead.
Subtask-Specific Routing: Same Quality, 46% Less Cost

From LiteLLM Blog
ExcerptRouting each agent turn by what the agent is doing, exploring, implementing, or verifying, instead of by how hard the prompt looks. On a SWE-bench Verified subset it matched fixed Claude Opus-5 quality for 46% less, with 86% of turns never touching a frontier model.
An experimental router that picks a model per agent phase matched fixed Claude Opus-5 quality on a SWE-bench Verified subset for 46% less money.
Frontier models are good at coding agents. They are also expensive, and most of what an agent does in a session does not need one. An agent spends the bulk of its turns reading files, grepping, and running tests.
Excerpt shown under the publisher's RSS terms · 63 words · full text and figures are on the publisher's site