Switchcraft: AI Model Router for Agentic Tool Calling

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.

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

Key Capabilities

  • 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