Model Router: the cheapest model that can do the job
The Model Router is an internal tool we use on multi-part work. It decides which Claude model each part of a task needs, so the largest model is used only where its reasoning matters.
- Type
- Internal tool
- Models
- Small, mid-size and large Claude models
- Scoring
- A small judgement model, scale of 0 to 3
- Status
- In daily use
The problem
Once our pipelines and agents were running every day, the AI bill became a real cost. Looking at the usage, the cause was plain. Simple jobs such as fetching data, sorting a list or formatting a report were being done by the same large model as research and system design. We were paying top rate for work a small model does equally well.
How it works
The router first splits a request into two or three subtasks, five at most. Each subtask has to be one kind of work and has to make sense on its own, with its inputs and expected output named. Mixing fetch the data with decide the strategy in a single subtask is exactly what makes routing fail, so the split keeps them apart.
Each subtask is then scored by a small judgement model. It returns a difficulty score from 0 to 3, a confidence value and a risk value. Low scores go to the small model: tool calls, lookups, sorting, short summaries. Middle scores go to the mid-size model: interpreting data, writing copy, focused research, code changes across several files. High scores go to the large model: open-ended research, strategy, system design, hard debugging.
Two safety rules sit on top. If the judgement model is not confident, the subtask moves up one tier. If the work is outward-facing, it never goes to the smallest model, whatever its score.
Checking the cheap answers
Every answer from the small or mid-size model that feeds the final result is checked. The same judgement model is asked whether the answer does what the subtask required. A failing answer is rerun once on the next model up, with a note on what was missing. If it fails again, the coordinator finishes the subtask itself. There is no endless loop.
At the end, the router prints a short routing summary: which subtask went to which model, its score, and any escalations. That record is how we tune the thresholds over time, using real past tasks with a known right answer and a separate set the tuning has never seen.
What it means for you
If you pay an AI bill, some share of it is probably large-model spend on small-model work. The same method applies to any workload with a mix of easy and hard tasks. We set it up as part of our AI cost optimisation service.
Tell us the job you want off your plate.
A 30-minute call. We will tell you if AI can do it and what the first step looks like.