Use when choosing which Claude model runs work — opus/sonnet/haiku/fable for a subagent, headless run or Workflow stage, or setting an agent's model field.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Model Routing?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/getty-model-routing)
---
name: model-routing
description: "Use when choosing which Claude model runs work — opus/sonnet/haiku/fable for a subagent, headless run or Workflow stage, or setting an agent's model field."
---
# Model Routing
Route work by the **hardest single dimension it routinely hits — never by
size, volume, or average difficulty.** A 2000-record extraction is fast-tier
work; a three-line auth diff is strong-tier work.
## The ladder
Four tiers. The mapping below is a cache (2026-11) — when it smells stale,
`claude --help` and the models API are the authority; the *tier logic* does
not change when the names do.
| Tier | Model | $/MTok in/out | Note |
|---|---|---|---|
| Frontier | Fable 5.2 (`claude-fable-5-2`) | 8 / 40 | Strongest model; 2× Opus, long turns on hard tasks; thinking always on |
| Strong | Opus 5.5 (`claude-opus-5-5`) | 4 / 20 | **Default for judgment-heavy work**; thinking always on |
| Mid | Sonnet 5.5 (`claude-sonnet-5-5`) | 2 / 10 | Default for well-scoped engineering |
| Fast | Haiku 5.5 (`claude-haiku-5-5`) | 0.10 / 0.50 | High-volume, latency-sensitive work; all four have 1M context |
**Fable 5.2 is stronger than Opus 5.5** — Anthropic's most capable model,
built for the most demanding reasoning and long-horizon agentic work, at twice
the price; a single request on a hard task can run for many minutes. It is a
regular tier: work whose worst dimension sits at the top of the rubric goes
there directly. Opus 5.5 stays the default for judgment-heavy work below that
line and carries most strong-tier work at half the cost.
**Effort is the second dial.** On current models `low`–`max` effort shifts
cost and depth *within* a tier; a strong model at low effort is still a
strong model — dropping effort keeps judgment quality on mechanical stretches,
dropping tier does not. Tune effort before switching tiers when the work is
the same kind but lighter. Fable 5.2 starts at `high`; go above it only where
a gain is measured.
## The dimensions
Score work on whichever of these is worst; that dimension picks the tier.
| Dimension | Pushes down (fast/mid) | Pushes up (strong/frontier) |
|---|---|---|
| Spec clarity | Exact pattern/rubric given, decisions closed | Open-ended, the task includes deciding what "right" means |
| Judgment depth | One obviously correct output | Many plausible outputs, subtle differences matter |
| Cost of error | Cheap, visible, reversible | Security, data loss, irreversible, silently wrong |
| Verifiability | Tests/schema/grep will catch mistakes | No external check; the model's answer is the check |
| Context breadth | One file, one record at a time | Cross-file/cross-system synthesis, long-horizon state |
| Novelty | Seen-a-thousand-times shape | Genuinely new problem, no template |
Tier anchors: **fast** — specified transforms at volume (extraction,
formatting, renames with a given pattern, commit messages for explained
changes, classification with a rubric). **Mid** — scoped implementation,
tests for specified behavior, debugging with a reproducer, medium synthesis.
**Strong** — architecture, security review, debugging without a reproducer,
ambiguous specs, verification of high-stakes work. **Frontier** —
long-horizon autonomous work across files and systems, problems where several
dimensions max out at once, and work a strong-tier attempt failed on (pass
that attempt along).
## Splitting tasks so they route cheap
Cut work so the judgment is small and the volume is cheap:
- **Sandwich:** strong model writes the spec (closing every decision) → fast
model executes the volume → strong model verifies. Most tokens run cheap.
- **Generation and verification are separate routes.** Cheap generation is
fine exactly when verification is strong — up-tier the checker, not the
typist. Never down-tier verification of high-stakes work because the diff
is small.
- **A split is wrong if the cheap side inherits open decisions.** If the
executor must choose (naming, ordering, edge-case behavior), either close
the choice in the spec or move that piece up-tier.
- **Escalate, don't retry sideways:** on failure or "unsure", go one tier up
and pass the failed attempt along as context. Instruct subordinates to
surface uncertainty — a cheap model saying "unsure" routes correctly; a
cheap model guessing routes a defect downstream.
## Sizing agent roles (for agent builders)
An agent definition is static — its model must carry the **hardest task the
lane routinely sees**, not the median:
- Worker/implementer lanes: mid, strong when the codebase is subtle or specs
arrive open. Reviewer, security, release-checker lanes: strong — their
entire job is the judgment dimension. Formatter/extractor/board-keeping
lanes: fast.
- **A role whose load spans tiers is two roles.** Don't buy a strong model
for a lane that is 90% mechanical — split the mechanical part into its own
fast-tier agent and keep the judgment lane small. This is the same sandwich,
frozen into the team.
- Give cheap lanes an explicit escalation path ("if unsure, report back —
never guess") so uncertainty flows to a strong-tier lane instead of into
the work.
- Where the choice lands: `model:` in `.claude/agents/*.md` frontmatter, the
Agent tool's `model` parameter, `opts.model` per Workflow stage, `--model`
on a headless run (skill `claude-headless`). Default: **omit and inherit the
session model** — override only when the rubric gives you a reason. A
headless `claude -p` child inherits nothing: it reads the saved default, so
pass `--model` explicitly there.
## Anti-patterns
| Mistake | Why it's wrong |
|---|---|
| Routing by size ("big task → big model") | Volume is a cost argument *for* the fast tier; difficulty is what buys tiers |
| "Small diff → small model" | Cost of error and judgment depth don't scale with line count |
| Everything on frontier "to be safe" | Pays 2× Opus and much longer turns for work that never reaches the top of the rubric |
| Everything cheap "to save cost" | Rework and silent defects cost more than the tier difference |
| One do-everything agent on a strong model | Freeze the sandwich into roles instead — see sizing above |
| Forgetting the effort dial | Same-tier low effort often beats a tier drop for lighter work of the same kind |