Claude Code multi-model setup thumbnail: 3 models, 1 workflow with Sonnet, Opus and Haiku

Claude Code Multi-Model Setup: 3 Powerful Models, One Smart Workflow

Before I built my Claude Code multi-model setup, I used one model for everything. Renaming a button? Same model. Planning a new database layer? Same model. Searching through 300 files to find where a token gets refreshed? You guessed it.

It worked. However, it never felt right. You don’t call your most senior architect to look up a file path, and you don’t ask a junior to redesign your author system. So, instead, I started treating Claude Code like a small team instead of a single person, and gave each model a job it’s actually good at.

Here’s the Claude Code multi-model setup I use now, how I configured it on Windows and on Claude Code Web, and how to undo all of it in a couple of minutes if it’s not for you.

Claude Code multi-model setup thumbnail: 3 models, 1 workflow with Sonnet, Opus and Haiku

Quick answer: what is a Claude Code multi-model setup?

A Claude Code multi-model setup means you use Sonnet 5.5 as the main coding model (/model sonnet), turn on Opus 5.5 as an advisor for hard decisions (/advisor opus), and add a read-only Haiku 5.5 Explore sub-agent for searching the code base (a small Explore.md file in .claude/agents). It works in the Claude Code terminal, the desktop app and Claude Code Web, and you can undo it with /advisor off, /model and deleting one file.

The Claude Code multi-model setup in one table

ModelIts job
Sonnet 5.5The main developer. Writes and changes the code.
Opus 5.5The advisor. Weighs in on architecture and hard decisions.
Haiku 5.5The scout. Searches files, traces dependencies, reports back.

In practice, a task flows like this. First, I give Sonnet the requirement. Then Sonnet starts working. When it hits a tricky decision, it can check with Opus. When it needs to understand a part of the code base, it can send Haiku off to look. Finally, Sonnet takes what comes back, finishes the work and verifies the changes.

One thing that confused me at first: the Opus advisor and the Haiku sub-agent are two different features. The advisor gives recommendations. A sub-agent actually goes and does a delegated task. Either way, Sonnet stays in charge of the implementation and the final result.

Step 1: Make Sonnet the main model

Open Claude Code (terminal or desktop) and run:

/model sonnet

That switches you to Sonnet 5.5 and saves it as the default for new sessions. Run /model on its own any time you want to check what’s selected.

Why Sonnet as the main driver? Because for day to day work it hits a good balance between coding ability and usage. On top of that, it handles multi-file changes comfortably, and it plays well with Opus sitting beside it as an advisor.

Step 2: Bring in Opus as the advisor

This is the part I was most curious about. Instead of flipping between Sonnet and Opus by hand, you can keep Sonnet as the main model and set Opus as an advisor:

/advisor opus

You should see:

Advisor set to Opus 5.5

The advisor is still an experimental feature. As a result, the main model can consult it at the moments that matter, for example before committing to a complicated approach, when the same error keeps coming back, when there’s a real architectural call to make, or before saying a big task is done. The advisor sees the conversation context, including tool calls and their results, and sends back its recommendation. After that, Sonnet decides what to do with it.

In other words, you don’t have to remember to ask Opus. It’s just there when needed.

A couple of related commands:

/advisor       # check the current advisor
/advisor off   # turn the advisor off

That said, here’s a fair warning: advisor consultations use extra usage. (If usage is a worry for you, I also wrote a practical guide to reducing token usage in AI coding agents.) I haven’t seen any fixed percentage of savings from this setup, so don’t go in expecting one. What you get is better decisions on the hard parts, not a discount.

Step 3: Give Haiku the exploring work

Claude Code already ships with a built-in Explore agent. Even so, for this Claude Code multi-model setup I made my own version, because I wanted to pin it to Haiku and spell out exactly what it’s allowed to do (look, don’t touch).

On Windows (desktop and terminal)

Open CMD and create the agents folder:

mkdir "%USERPROFILE%\.claude\agents"

Then create the agent file:

notepad "%USERPROFILE%\.claude\agents\Explore.md"

If Notepad asks whether to create the file, click Yes, and paste this in:

---
name: Explore
description: Fast codebase exploration, file searching and dependency analysis
model: haiku
tools: Read, Grep, Glob
---

You are a codebase exploration specialist.

Responsibilities:
- Search files and functions.
- Trace dependencies and application flow.
- Identify relevant components and APIs.
- Analyze existing code.
- Find bugs and potential issues.
- Summarize findings for the main agent.

Rules:
- Work in read-only mode.
- Never modify project files.
- Never implement features.
- Return concise, structured findings.
- Report exact file paths and line numbers.

Save it. Your folder should now look like this:

C:\Users\YourUsername\
└── .claude\
    └── agents\
        └── Explore.md

Quick sanity check:

dir "%USERPROFILE%\.claude\agents"

You should see Explore.md in the list. Restart Claude Code or start a fresh session, then run /agents to confirm it’s picked up. When Explore is actually running, /tasks shows it, and you can see which model the task is using. I’d check that at least once rather than trusting the config blindly.

Making the Claude Code multi-model setup work on Claude Code Web

This caught me out at first. Everything above lives in your Windows user profile, and Claude Code Web runs in the cloud, so it never sees those files. Therefore, the fix is to put the agent in the repository itself.

  1. Go to https://claude.ai/code and connect your GitHub repo with Add repository.
  2. In the repo, create .claude/agents/Explore.md and paste the same agent definition from above.
  3. Commit and push:
git add .claude/agents/Explore.md
git commit -m "Add Haiku Explore agent"
git push

Then go back to https://claude.ai/code, open the repo and start a new session. The repo-level agent loads from there.

Also, keep in mind that the two copies are separate. User-level agents are yours on your machine; repo-level agents travel with the project (and with anyone else on the team who clones it). If you want the same agent everywhere, you maintain both.

Does the Claude Code multi-model advisor work everywhere?

It’s a Claude Code feature, so it works wherever Claude Code runs. Here’s what I saw when I tried it:

Where/advisor opus
Claude Code in the terminalWorks
Claude Code in the desktop appWorks
Claude Code WebWorked in my test
Regular Claude.ai chatNot a thing there

In the terminal, start claude from CMD or PowerShell and run /model sonnet then /advisor opus. Similarly, in the desktop app, go to the Code section, open your project, and run the same two commands. Likewise, on Claude Code Web, start a session on your connected repo and do the same. My cloud session replied with Advisor set to Opus 5.5, so it’s working there too.

The one place it doesn’t apply is normal chat at claude.ai/chat. Typing /advisor opus there does nothing, and picking Opus as your chat model isn’t the same thing as the Claude Code advisor.

How I split work in a Claude Code multi-model workflow

Most of my projects are some mix of React, Node.js, Flutter, Python and MySQL. This is roughly how the work lands in my Claude Code multi-model setup:

TaskWho handles it
Small UI changesSonnet
Building APIsSonnet
Writing database queriesSonnet
Planning architectureOpus as advisor
Nasty debuggingSonnet, checking with Opus
Finding your way around the codebaseHaiku Explore
Security and performance reviewSonnet, checking with Opus
Final verificationThe main agent

To be clear, though, this is how I think about it, not a routing rule Claude follows. Claude itself decides when to call the advisor or hand something to a sub-agent.

Useful Claude Code commands for this setup

CommandWhat it does
/model sonnetSet Sonnet as the main model
/modelCheck or change the main model
/advisor opusTurn on the Opus advisor
/advisor offTurn the advisor off
/advisorShow the advisor setting
/agentsList available agents
/tasksSee running agent tasks
/statusSession info
/usageUsage info
/doctorDiagnose your install and config

How to undo the Claude Code multi-model setup

Luckily, nothing here is permanent. You don’t need to reinstall anything or touch your project code. To undo the Claude Code multi-model setup, there are just three things to reverse.

1. Turn off the advisor.

/advisor off

Your main model stays as it was.

2. Go back to the default model. Run /model and pick Default if it’s offered. Or open %USERPROFILE%\.claude\settings.json and remove the model line if it looks like this:

{
  "model": "sonnet"
}

Meanwhile, leave the rest of your settings alone, save, and start a new session. Note, however, that “default” depends on your account, organization and environment, so it may not be the same model for everyone.

3. Remove the custom Explore agent.

del "%USERPROFILE%\.claude\agents\Explore.md"

If the folder is empty afterwards and you want it gone too:

rmdir "%USERPROFILE%\.claude\agents"

That only removes the agent definition. Claude Code and your project files are untouched.

If you added the agent to a repo for Claude Code Web, remove it from there as well:

git rm .claude/agents/Explore.md
git commit -m "Remove custom Haiku Explore agent"
git push

Or just leave the file in the repo and ignore it. That’s fine too.

Once that’s done, run /model, /advisor and /agents once more and check that you’re on Default, the advisor is off, and your custom Explore is gone.

Want it all back later? /model sonnet, /advisor opus, recreate Explore.md, and you’re there again.

Before you try a Claude Code multi-model setup

  • The advisor is experimental, so expect it to change.
  • Advisor calls and parallel agents both eat into your usage.
  • Your advisor has to be compatible with your main model and your account.
  • Agents in your user folder don’t follow you into cloud sessions. Agents in the repo do, and your teammates get them too.
  • Advisors and sub-agents are different tools for different jobs.
  • The main agent is still the one responsible for reviewing and validating the final code. So are you.
  • Cloud sessions share rate limits with the rest of your Claude and Claude Code usage.
  • Always check which model a sub-agent is really running on. Don’t assume the config took.
  • If sub-agents are new to you, my post on what a SKILL.md is and how to build an AI agent that can take actions are good background reading.

Is the Claude Code multi-model setup worth it?

Overall, the biggest shift for me wasn’t technical. Instead, it was dropping the habit of throwing the strongest model at every little thing. Sonnet does the everyday building, Opus steps in when a decision actually needs more thought, and Haiku does the legwork of reading through the code base. Put simply, a Claude Code multi-model setup feels a lot more like working with a team.

And if it doesn’t suit the way you work, don’t worry, because you’re three commands away from where you started.

FAQ: Claude Code multi-model setup

What is the Claude Code advisor?

It is an experimental Claude Code feature that lets your main model consult a second model, such as Opus, at important decision points. The advisor sees the conversation context and returns recommendations, while the main model keeps doing the work.

Is the advisor the same as a sub-agent?

No. An advisor only gives advice to the main model. A sub-agent, like the Haiku Explore agent, actually carries out a delegated task, such as searching files, and reports back.

Does this setup save usage?

Not by a fixed amount. Advisor calls and parallel agents use extra usage. The benefit is better decisions on hard problems and cheaper exploration with Haiku, not a guaranteed saving.

Will my Windows agent file work in Claude Code Web?

No. Files in your user profile stay on your machine. For Claude Code Web, add the same agent file to your repository under .claude/agents and push it.

Can I use /advisor in normal Claude.ai chat?

No. The advisor is a Claude Code feature. It works in the Claude Code terminal, the desktop app and Claude Code Web, but not in regular chat.

How do I go back to the normal Claude Code setup?

Run /advisor off, choose Default with /model, and delete Explore.md from your agents folder (and from your repo if you added it there).

Official docs

Written by Sweetan Mariyappan, based on my own setup and testing on Windows and Claude Code Web.

Leave a Reply