# Switchcraft: AI Model Router for Agentic Tool Calling

**Creator:** Sharad Agarwal, Pooria Namyar, Alec Wolman, Rahul Ambavat, Ankur Gupta, Qizheng Zhang  |  **Category:** infrastructure  |  **Status:** draft

## Description

Switchcraft is the first model router specifically designed for agentic tool calling rather than general chat completion. It operates inline, using a DistilBERT-based classifier deployed under latency constraints to dynamically route queries to the most cost-effective model. The system matches or exceeds the accuracy of the best individual models while achieving significant cost savings on function-calling benchmarks.

## Key Features

- Optimized model routing for agentic tool calling
- DistilBERT-based classification for model selection
- Latency-aware inline routing
- Cost-aware deployment without sacrificing correctness
- Evaluation across five function-calling benchmarks
- 84% inference cost reduction

## Resources

- [Website](https://arxiv.org/abs/2605.07112)

---
*Source: agentprotocols.app — /protocol/switchcraft-ai-model-router-for-agentic-tool-calling*