Subagent Orchestration: Fable 5 Directs, Opus 5 Does the Work
In Claude Code, your main session can hand tasks off to subagents — independent workers that run in their own context. A subagent can run on a different model than your main session, which means you can let the strongest model focus purely on thinking and decisions while other models do the heavy lifting.
This is called the orchestrator pattern, and the recommended pairing is:
- Orchestrator: run your main session on Fable 5 (
claude-fable-5). It breaks the task down, briefs each subagent, reviews their reports, and decides what happens next. Fable 5 was designed for exactly this kind of long-running, multi-stage coordination - Workers: subagents run on Opus 5 (
claude-opus-5) to tackle the complex work — writing code, fixing bugs, deep reviews — then report back to the orchestrator
Why bother?
| Benefit | What it means |
|---|---|
| Better results | Each subagent gets a fresh, focused context for one job; the orchestrator keeps the big picture without drowning in detail |
| Lower cost | Fable 5 tokens are spent only on judgment; the bulk of the execution runs on Opus 5, which costs about half as much |
| Clean context | Search results, logs, and file dumps stay inside the subagent — your main conversation stays lean |
| Parallelism | Independent subtasks can run on several subagents at the same time |
In Anthropic's own internal evaluation, a "strong model orchestrating + subagents executing" setup outperformed a single model working alone by roughly 90%. The trade-off is higher total token usage — so save this pattern for complex tasks; simple ones don't need it.
The core prompt: one paragraph, two ways to use it
The paragraph below is the entire setup. Two ways to use it:
- Ad-hoc: paste it into the chat together with your task — it applies for that session
- Permanent: add it to the
CLAUDE.mdfile in your project root — it applies automatically to every future session
For multi-step tasks, act as the orchestrator: decompose the task,
delegate execution to subagents running on claude-opus-5, review
every subagent report, and decide the next step yourself. Do not
write code directly in the main session. Brief each subagent with
full context — the goal, relevant files, and what "done" looks
like — and run independent subtasks in parallel.In plain terms: the main model plans and reviews but never codes; all execution goes to subagents running Opus 5; every worker gets a clear brief; independent work runs in parallel.
Which model for which job?
| Role | Recommended model | Why |
|---|---|---|
| Main session (orchestrator) | Fable 5 (claude-fable-5) | Built for long-horizon coordination; tokens go to decisions and review only |
| Subagents (coding, bug fixing, review, lookups) | Opus 5 (claude-opus-5) | Top-tier execution at about half the price of Fable 5 |
Things to watch out for
Always name the model in the prompt
A subagent with no model specified defaults to inheriting the main session's model. If your main session runs Fable 5, an unspecified subagent also runs at Fable 5 prices — that's why the core prompt names claude-opus-5 explicitly. Don't delete that part.
The environment variable overrides everything
The CLAUDE_CODE_SUBAGENT_MODEL environment variable takes top priority — once set, every subagent is forced onto that one model, overriding the claude-opus-5 named in your prompt. Leave this variable unset when using the setup on this page.
The full model resolution order (highest priority first):
- The
CLAUDE_CODE_SUBAGENT_MODELenvironment variable - The model requested when delegating
- The main session's model
Don't over-orchestrate
For small, simple changes, letting the main session do it directly is faster. Anthropic itself cautions that in many cases a single well-prompted agent is all you need. The orchestrator pattern shines on complex tasks that are parallelizable or context-heavy.
Two more rules that help make sense of the mechanics:
- Subagents cannot spawn their own subagents — all coordination happens in the main session
- Workers never talk to each other; every decision flows back through the orchestrator. This is exactly the structure Anthropic recommends, and it keeps things easy to debug
