← All guides

Guide · Models · ★★☆☆☆

Which Claude Code model to use: Sonnet, Opus or Fable for each job

A bigger model isn't always better. It uses up your plan faster, and for a typo it's waste. Here is the rule I use, and the setup on this site that sends planning and reviews to Opus while Sonnet does the daily work.

By Arthur Hsiao · Last updated · 7 min read

Checked on 15 Nov 2026 against the model config and subagents docs, Claude Code 2.1.325. On a Claude plan, the aliases point to: sonnet = Sonnet 5.5, opus = Opus 5.5, haiku = Haiku 5.5, fable = Fable 5.2. The default on Pro, Max, Ultra, Team and Enterprise is Opus 5.5. No plan defaults to Fable: you pick it. Aliases move to newer versions over time. To stay on one version, use the full ID, such as claude-opus-5-5.

1Match the model to the job

Job Model Why
Finding files, quick lookups, renames Haiku Fast and cheap; the job needs no deep thought
Daily work: one-file edits, a guide from a clear brief, routine Git and shell Sonnet Good enough when the task is clear, and lighter on your limit
Plans, architecture choices, hard bugs with no clear cause, reviews Opus Deep thinking, where a wrong turn costs more than the model
Long multi-part builds, changes across many files, work that runs for hours alone Fable The docs: "for your hardest and longest-running tasks"

The cost side, in plain words: a bigger model uses more of your plan's limit for the same task. Using Opus for a typo is waste. Using Haiku for a hard bug often costs more in the end, because of the retries. I haven't measured the difference with /usage in a fair test, so I won't quote a number.

On this site, Fable got the research-and-planning jobs: the session logs show claude-fable-5-2 writing the roadmap for this batch of beginner guides on 14 Nov 2026. Then I switched to Sonnet to write the first guide from it.

Fable and your plan: on Pro, Fable is paid with usage credits, and the /model picker shows "Requires usage credits" on its row when that applies. Max includes Fable up to half the weekly limit. See Claude Pro vs Max.

2Switch by hand with /model

/model sonnet

On this PC that replied:

Set model to `claude-sonnet-5-5`

/model on its own opens a picker. Enter switches and saves it as your default for new sessions; s switches for this session only. Alt+P switches without clearing what you've typed. To see which model is running, run /model or /status.

My saved default is the first line of C:\Users\<you>\.claude\settings.json:

{
  "model": "sonnet"
}

One catch: each model has its own prompt cache, so the first message after a switch re-reads the whole conversation at full cost. Switch between tasks, not every other message.

3Plan on Opus, build on Sonnet: opusplan

/model opusplan

opusplan uses Opus while you're in plan mode and switches to Sonnet when you approve the plan and it starts editing. It's the easiest win: one command, and the thinking goes to the bigger model only where it matters.

GitHub has user reports of opusplan picking an older version than expected. I haven't checked that here; /status shows what is really running.

4Give a subagent its own model

A subagent is a helper Claude starts for one job, in its own context. Its file can set a model. This is the real front matter of my Opus agent, C:\Users\<you>\.claude\agents\deep-think-master.md (description cut short):

---
name: deep-think-master
description: ONLY use when the main session's model is Sonnet (e.g. claude-sonnet-5-5); on any other model (Fable, Opus, Haiku), do NOT delegate to this agent at all. On Sonnet, use for complex or planning-heavy tasks ...
model: claude-opus-5-5
---

model takes sonnet, opus, haiku, fable, a full ID like this one, or inherit (same as the main session). When several things set it, the docs say the first of these wins:

  1. A model Claude passes when it starts the subagent.
  2. The model field in the agent file.
  3. The CLAUDE_CODE_SUBAGENT_MODEL environment variable.
  4. The main session's model.

So an agent set to inherit follows whatever /model you switch to. How to write an agent from scratch: how to create a Claude Code agent.

5Hand off without being asked: CLAUDE.md rules

The agent alone isn't enough: Claude has to know when to use it. These are the real rules in my global CLAUDE.md, shortened:

Deep thinking
Sonnet only: this section applies only when the session's selected model is Sonnet.
On any other model (Fable, Opus, Haiku), don't delegate to deep-think-master.
For complex or planning tasks (architecture decisions, multi-step plans, hard
debugging, 5+ file changes), delegate to the deep-think-master agent without asking.

Escalation
On Sonnet, two failed attempts are allowed; on the third, delegate to
deep-think-master instead of trying again.

And this site's project CLAUDE.md adds a review after every Sonnet task:

When the main agent is Sonnet, finish each task by spawning the deep-think-master
agent (Opus) without asking. ... It reviews the work, fixes what is wrong or weak,
then builds and tests (npm run build, npm test). ... On any other model, skip it.

"On any other model, skip it" matters: without it, an Opus or Fable session would hand work to an Opus agent that is no stronger than itself. People have asked Anthropic for automatic routing by task type (GitHub issue 44976, closed as a duplicate). I found no sign it has shipped, so rules like these are the working answer.

A real case: the review that caught Sonnet's fix

On 14 Nov 2026, Sonnet added the Windows install guide and noticed it was missing from the sitemap. It found the cause in scripts/guides.mjs: on this Windows checkout the XML files have CRLF line endings, and the script only matched \n. Its fix worked, but the Opus review found what it left behind:

guides.mjs fix: it worked, but it left the XML files with mixed line endings, because
the new lines it wrote were LF.

Opus changed the script to convert to LF before matching and to write LF, and tested it on LF, CRLF and a file with no markers. In the same review it split a command block in the guide that had # comments inside a CMD command, "which CMD can't run". That session is also where the review rule came from. My prompt, right after Sonnet's report:

create a subagent with opus agent if sonnect is selected as main agent. this subagent
need to review what sonnect has done and improve or fix the work if needed

6Consider the advisor tool

Claude Code also has an experimental advisor: Claude keeps working on a cheaper model and asks a stronger one at key moments (before picking an approach, when an error keeps coming back, before saying it's done):

/advisor opus

The docs list "Sonnet main + Opus advisor" as a common pairing. On a plan, advisor calls count toward your usage limits. I haven't used it on this site, so I can't say how it compares with the review agent.

Read big files with a cheaper model

For reading, not thinking, the cheapest model is one outside Claude. Gemini reads large files on its own quota and Claude gets only the summary: see Claude + Gemini via MCP. More ways to stretch a plan: save tokens with Claude Code, and when to use an agent at all: skills vs subagents vs hooks. The rules above live in CLAUDE.md.

New here? Start with Claude Code for beginners.