AI engineering · 13 of 42

Model Routing

Pick the right model for each request

Scroll

Pick the right model for each request

Sending every request to your strongest model is simple, and it means paying reasoning prices to answer “what are your opening hours”. Sending everything to the cheapest is cheap and frequently wrong.

A router inspects each request and picks a model to match: a small fast one for lookups, a reasoning model for analysis, a vision model for images.

The trap is treating the router as infrastructure rather than as a component that can be wrong. It makes a judgment on every request, it will misroute some of them, and a misrouted hard question produces a cheap confident bad answer. Test its decisions, define a fallback, and track what it sends where.

Orchestration
NOT EVERY REQUEST NEEDS THE BIG MODEL quick lookup hard reasoning an image router intent + cost small, fast FAQ, lookups reasoning analysis, planning vision OCR, captioning Sending everything to the strongest model is simple and wasteful. Sending everything to the cheapest is cheap and wrong. The router is now a component that can be wrong too: test its choices,
Three kinds of request sorted by a router to a fast model, a reasoning model and a vision model.