Skip to the workspace
Pebellslearn by building
Claude Workflow  ›  Lesson

Choosing a Model: Opus, Sonnet, Haiku

Opus 12 minOpus suits hard reasoning and planning, Sonnet suits everyday coding, and Haiku suits quick mechanical jobs, so you start in the middle and move up or down as the task demands.

claude code / Choosing a Model: Opus, Sonnet, Haiku

Explore each scene at your own pace.

01 · The rule

The rule

Choosing a Model: Opus, Sonnet, Haiku

Claude Code can run on different Claude models. They are not simply "good, better, best": each trades depth of reasoning against speed and cost, and the right pick depends on the task in front of you.

The rule

Opus for hard thinking, Sonnet for daily work, Haiku for quick jobs.

  • Opus is the most capable family. It shines at tricky debugging, design decisions and planning large changes. It is slower and the most expensive per token, and on a subscription it uses up your allowance fastest.
  • Sonnet is a strong, fast coder and a sensible choice for most everyday work: features, bug fixes, tests.
  • Haiku is the fastest and cheapest. It suits simple, well-defined jobs: small edits, short summaries, quick questions. It is also a natural fit for light helper work, such as a subagent that only searches.

Model versions change often; these family roles are the durable part. Your default depends on your plan and account and changes over time, so check /status or /model to see which model you are on.

Switching is quick: use /model inside a session, or choose when you start.

claude --model sonnet
claude --model opus

Some setups also offer a hybrid setting that plans with a stronger model and carries out the plan with a faster one. /model shows the options your version offers.

Scene 1 of 5
Hover to wake the cannons. Drag to move, or use arrow keys when focused. Press Enter to fire a shot.