1.1 — Claude models in Claude Code: which one to pick
The models and tools in this module change fast. Everything below was checked on November 26, 2026 against each vendor's documentation.
Claude Code runs on Anthropic's Claude models. There are four today, from the most capable to the fastest.
The four models
| Model | What it does best | Example tasks | API price, input / output |
|---|---|---|---|
| Fable 5.2 | Long, hard tasks carried out autonomously | Root-cause investigation, architecture decision, long autonomous session | $8 / $40 |
| Opus 5.5 | Reasoning about code. It is the default model | Multi-file refactoring, subtle bug, long task run by the agent | $4 / $20 |
| Sonnet 5.5 | The balance between speed and intelligence | Daily development, code review, writing tests | $2 / $10 |
| Haiku 5.5 | Speed and the lowest cost | Classification, reformatting, light task handed to a subagent | From $0.10 / $0.50 |
These are API prices in November 2026, per million tokens. All four models have a context window of one million tokens. A large part of a project therefore fits in a single session.
The default model
With no setup, Claude Code starts on Opus 5.5. That holds with a Pro, Max, Ultra, Team or Enterprise subscription, and with an Anthropic API key.
Fable 5.2 is never the default model. You pick it yourself. On a subscription, its usage can bill to usage credits, outside your plan's limits.
Switching models
# Start a session with a specific model (applies to this session)
claude --model sonnet
# Switch mid-session and save that choice as your default model
/model sonnet
# Open the picker: Enter saves the choice, s keeps it for this session
/model
# Move to Fable for a long, hard task
/model fable
The /model sonnet command switches models right away. It also saves that choice for your next sessions. To change only the current session, open the picker with /model and press s.
You may go through a cloud provider, such as Amazon Bedrock or Microsoft Foundry. In that case, an alias like sonnet can point to an older version. Pass the model's full ID instead, for example claude-opus-5-5.
How to choose
Stay on Opus 5.5 for most tasks. It is the starting point Anthropic recommends.
Move to Sonnet 5.5 for everyday, well-scoped work. It costs half the price of Opus 5.5.
Keep Haiku 5.5 for simple, repetitive tasks, for example in a subagent.
Try Fable 5.2 when the task is long and hard. Try it too when Opus 5.5 falls short, even at a higher effort level. It costs twice the price of Opus 5.5.
These models think before they answer. The /effort command sets how much they think, across five levels from low to max. The default level is medium. Module 3 covers this setting in detail.
Like any language model, Claude can invent a function or a parameter that doesn't exist. Review and test what it produces.
Key takeaways
• Claude Code starts on Opus 5.5, which suits most development tasks.
• Sonnet 5.5 costs half as much and is enough for everyday work.
• Fable 5.2 is for long, hard tasks, at twice the price of Opus 5.5.
• /model switches models and saves your choice. The s key in the picker limits it to the current session.
• /effort sets how much the model thinks.
