
Claude Code starts on Opus, the stronger and more expensive model, on every plan. Type /model opusplan and it uses Opus only while it works out a plan in plan mode, then switches to Sonnet to make the changes.
So: ask for a plan first (press Shift+Tab until you see plan mode, or start your message with /plan), read it, and approve it. The planning runs on Opus and the building on Sonnet. To go back to the usual model, type /model default.
/model opusplan/model defaultWhy it works
Sonnet handles most building work well and costs less than Opus, so the expensive model only does the part where careful thinking pays off.
Watch out
Opus only runs while you're in plan mode. If you never plan, everything runs on Sonnet, so for a hard problem ask for a plan first. /model also keeps your choice for new conversations until you change it.