Topic 5 of 5 · 3 min read
Routing routine work to cheaper models
Goal: Split a workflow into routine and hard steps and assign a model tier to each with a reason.
You do not need one model for a whole workflow. Give routine steps to a small, fast model and keep the strong, costly model for the steps where mistakes are expensive.
Check yourself · 1 of 3
Which step in a support workflow is the best candidate for a small, fast model?
Why it matters
Most workflows are mostly easy work with a few hard moments. Sorting, extracting fields, reformatting and short replies are routine. Planning, judging edge cases and writing something a customer will rely on are harder. Running everything on the top tier pays top price and waits top time for work a small model does well. Running everything on the small tier saves money until a hard step fails.
How to split a workflow
- List the steps. Write each step of the job in one line.
- Mark each step easy or hard. Ask: is the answer easy to check? Is the input clean? Does a mistake cost much? Easy to check, clean and cheap to fix means routine.
- Assign a tier. Routine steps get a small, fast model. Hard steps get a larger one, or a reasoning mode.
- Test each assignment. Run a handful of real cases through the small model on its steps. If it fails more than you can accept, move that step up a tier.
- Add an escape route. Let the small model hand off when it is unsure, for example by flagging low confidence or an unusual input, so the strong model or a person takes it.
Before and after
Before: "Every support email goes through the large model: classify, look up the order, draft the reply."
After:
- Classify the email: small model (short input, easy to check).
- Pull the order number: small model (fixed pattern).
- Draft the reply for a normal case: small model, with a human review.
- Draft the reply for a complaint or legal threat: large model, then a human.
- If the classifier is unsure, send it to the large model.
Code branch (optional)
For engineers, routing is a small function.
def pick_model(step):
if step.kind in {"classify", "extract", "reformat"}:
return "small-model"
if step.risk == "high" or step.confidence < 0.7:
return "large-model"
return "medium-model"
What goes wrong
- Routing by guess and never testing the small model on real cases.
- Sending hard cases to the small model with no way for it to say it is unsure.
- Splitting so finely that the extra calls and glue cost more than they save.
- Forgetting that a cheap early step that makes mistakes poisons every later step.
Examples
Invoice processing
| Step | Tier | Reason |
|---|---|---|
| Read fields from clean invoices | Small | Fixed layout, easy to check |
| Match to purchase order | Small | Rule-based lookup |
| Explain a mismatch to the buyer | Medium | Needs clear wording |
| Decide on a disputed amount | Large, then a person | Money and a contract at stake |
Escape route
The small model tags each email with a category and a confidence flag. Anything tagged "unclear" or "legal" is passed to the large model and queued for a person. The cheap model handles the bulk and admits what it cannot.
Key points
- Most workflows mix routine steps and a few hard ones, and each can use a different model tier.
- A step is routine when its input is clean, its answer is easy to check and a mistake is cheap.
- Test the small model on real cases for each routine step before trusting it.
- Give the small model a way to hand off when it is unsure.
- Do not split so finely that the extra calls cost more than they save.
Common mistakes
- Using the top tier for every step out of habit.
- Moving everything to the small tier without testing the hard steps.
- Giving the small model no way to flag uncertainty.
- Over-splitting the workflow until orchestration costs more than the savings.
Check yourself · 2 of 3
What makes a workflow step routine?
Check yourself · 3 of 3
A small model classifies emails and is sometimes wrong on odd ones. What change protects quality without moving everything to the large model?
Practice items, not counted towards your mastery.
Start here
- Choosing a model (Claude docs) (opens in a new tab)DocsFree
Anthropic's guide to matching a model to a task, with advice to test on your own evaluations.
- Model selection guide (OpenAI) (opens in a new tab)DocsFree
OpenAI's method: set an accuracy target first, then cut cost and latency while meeting it.
- Artificial Analysis (opens in a new tab)ToolFree
Independent side-by-side charts of quality, price and speed for many models.