The Research Report
Microsoft Switchcraft: AI Model Router for Agentic Tool Calling
For End Users
Your AI agents might soon cost a lot less to run, and you will not notice the difference.
Microsoft Research published Switchcraft, a system that picks the cheapest AI model for each tool call an agent makes. It works behind the scenes. The agent still gets the right answer, but the bill drops by 84 percent.
Right now, most developers default to the biggest, most expensive model for every task because they fear a smaller model will mess up a tool call. Switchcraft shows that fear is often wrong. In tests on five function-calling benchmarks, it matched the accuracy of the best single model while cutting inference cost from over $4,200 to about $600 per million queries.
For you, this means agent-based services could get cheaper and faster without losing quality. The savings get passed down.
For Engineers and Researchers
Switchcraft is the first model router built specifically for agentic tool calling, not generic chat completion.
The problem is straightforward. Existing routers optimize for question-answering quality. They ignore the unique dynamics of function calling: tool schemas, argument filling, and multi-step reasoning chains. In tool use, a nominally cheaper model can burn more tokens through verbose reasoning and end up costing more than a larger, faster model.
Microsoft's approach uses a DistilBERT-based classifier that runs inline, under a strict latency budget. It examines each incoming tool call, predicts which model will solve it correctly at lowest cost, and routes the request accordingly.
Key numbers from the paper (arXiv:2605.07112):
- 82.9% accuracy, matching or exceeding the best individual model
- 84% cost reduction
- Over $3,600 saved per million queries
- Larger models do not consistently outperform smaller models on tool-use tasks
The classifier is trained on function-calling benchmark data and handles the full routing decision in milliseconds. It is a practical, deployable system rather than a theoretical proposal.
The implication is clear. Cost-aware routing should be standard infrastructure for any production agent stack.
The Skeptical Take
The 84% cost savings sound great, but the benchmarks are standardized function-calling datasets. Real-world agent workflows are messier: malformed tool schemas, ambiguous user intent, and cascading failures when a single bad call derails a multi-step chain. Switchcraft has not been evaluated on those conditions yet. Also, DistilBERT itself adds inference overhead. For very low-latency use cases, the router cost could eat into the savings. The paper is clear about its scope, but production teams should test it on their own workloads before assuming the headline numbers transfer.
Word count: ~420
Written at: 2026-05-16T23:42:00Z