Route each step to the model it needs
Decide the model tier and effort for each step of a Claude system, and defend each choice against a cheaper and a more capable alternative with evidence from your own evals.
Scenario
A freight forwarder's customs pipeline reads 30,000 documents a day. The prototype ran every step on the most capable model, and the demo was flawless. The pilot's projected bill is six times the budget.
Finance proposes the obvious fix: move everything to the smallest model. That would break the one step where mistakes cost fines, and save little on the steps that were already cheap to get right.
Both plans make the same mistake. They pick a model for the system. The decision belongs to each step.
Explanation
Decide per step, not per system. A production system has steps with different needs: classify, extract, reason, write, verify. Each one gets its own model and effort setting.
What you weigh. Anthropic's guide names three criteria: capabilities, speed and cost. A fourth lever sits inside one model: effort, which trades intelligence for latency and cost. The docs call tuning effort "often a better lever than switching models".
The tiers. From lowest cost and latency to most capable: Haiku, Sonnet, Opus, and at the time of writing a tier above Opus for demanding reasoning and long-horizon agentic work. The models overview describes Haiku for high-volume, latency-sensitive tasks such as classification, extraction and routing, and the cost guide suggests trying it first for high-volume work with outputs you can check. Names, versions and prices change with each release, so check the current models overview; the way you decide does not change.
Four questions per step:
- Can the output be checked? A schema, a test or a downstream step that bounces bad results makes a cheaper setting safe: run low, re-run the failures higher. In one Anthropic measurement, that policy slightly beat an all-
highpass rate for a little over half the cost. - How hard is the hardest tenth? Price the tail, not the median. A failed task still bills its tokens, then the retry, then whatever the failure costs downstream.
- Is anyone waiting? Work nobody waits on can go through the Batch API at a discount, with results within 24 hours.
- What does a mistake cost? A wrong queue label that bounces back in minutes is not a wrong tariff code that draws a fine.
Measure the right thing. Compare models on cost per completed task, not per token. A more capable model can finish with less work, and the ranking flips by workload, so only your own eval set tells you which way.
One model before two. Sweep effort on one model first. Add a second model only if the pairing beats that curve:
- Advisor: a cheaper model runs the loop and consults a stronger one on hard decisions. It helps only when the executor actually consults it.
- Orchestrator: a strong model plans and synthesizes; cheaper workers do the bulk. In Anthropic's measurements it paid off for independent pieces of work and for work larger than one context window. For one dependent chain, the single model at lower effort came out ahead.
Defend against both neighbours. A justified choice says why not the tier below (what the eval shows it fails, and what that failure costs) and why not the tier above (that the eval shows no gain worth its cost on this step).
Worked example
The freight forwarder's architect reworks the pipeline step by step.
Tiers below: smallest is Haiku, mid is Sonnet, capable is Opus, top is the tier above Opus.
| Step | Before | After | Why |
|---|---|---|---|
| Sort each document into one of 6 types | Top tier | Smallest tier | 30,000 a day, the next step rejects a wrong type, and labelling is not hard reasoning |
| Extract 22 fields into a validated schema | Top tier | Mid tier, low effort, failures re-run at high | A validator checks every result, so the cheap setting is safe |
| Choose the tariff code for the 8% of goods with ambiguous descriptions | Top tier | Capable tier at its default effort | Many interacting rules, and a wrong code means a fine |
| Nightly exceptions report for the compliance lead | Top tier, live | Mid tier through the Batch API | Nobody waits for it overnight |
Her justification for the tariff step, against both neighbours:
- Why not cheaper: on 400 past ambiguous cases, the mid tier picked the wrong code noticeably more often, and each wrong code costs an audit.
- Why not the top tier: on the same set the top tier scored within run-to-run noise of the capable tier, at several times the cost per completed case.