GuidesRunning & maintaining

Claude Code models: Fable, Opus, Sonnet, Haiku and /model

Which models Claude Code runs as of November 2026, the default on each plan, /model, --model and settings, pinning, effort, 1M context, and Fable on a plan.

November 23, 2026The Everpod team
The short answer

As of November 2026 (Claude Code 2.1.330), Claude Code runs four current Claude models, each with a 1M-token context window: Fable 5.2 (alias fable, the most capable of the four and the priciest), Opus 5.5 (opus), Sonnet 5.5 (sonnet) and Haiku 5.5 (haiku). Pro, Max, Ultra, Team and Enterprise plans and Anthropic API keys all start new sessions on Opus 5.5, and no account starts on Fable. Older models such as Opus 5, Sonnet 5 and Opus 4.8 stay available by their full IDs.

Switch with /model in a session (Enter also saves it as your default, s switches for this session only), claude --model sonnet for one launch, ANTHROPIC_MODEL, or "model" in ~/.claude/settings.json. Aliases move to newer models when Claude Code updates, so pin with a full ID such as claude-opus-5-5. On Amazon Bedrock, Google Cloud’s Agent Platform (formerly Vertex AI) and Microsoft Foundry some aliases point at older models, so pin those with ANTHROPIC_DEFAULT_OPUS_MODEL and its siblings. On a Claude plan every model draws on the same allowance, except Fable: Pro and Team Standard seats pay for it in usage credits, and Max, Ultra and Team Premium seats can spend up to half the weekly limit on it.

The models and aliases, as of Claude Code 2.1.330

From Anthropic’s model configuration page and models overview, read November 23, 2026. Prices are per million input and output tokens on an API key; on a Claude plan the model draws on your allowance instead.

ModelAliasFull IDAPI price, in / outNeeds Claude Code
Fable 5.2
fableclaude-fable-5-2$8 / $402.1.321 or later
Opus 5.5
opus, bestclaude-opus-5-5$4 / $202.1.280 or later
Sonnet 5.5
sonnetclaude-sonnet-5-5$2 / $102.1.284 or later
Haiku 5.5
haikuclaude-haiku-5-5$0.10 / $0.50; $0.50 / $2.50 for a prompt over 100,000 tokens2.1.293 or later

Anthropic’s one-line descriptions, in the same order: fable is for “your hardest and longest-running tasks”, opus for “complex reasoning tasks”, sonnet for “daily coding tasks” and haiku for “simple tasks”. The model setting takes a few other values:

The /model picker shows the current lineup, and /model claude-opus-4-8 selects an older model by name. To keep older models in the picker itself, list them under modelPicker in ~/.claude/settings.json (Claude Code 2.1.242 or later; the key is ignored in project and local settings, so a repository you clone cannot relabel your picker):

{
  "modelPicker": {
    "options": [
      { "model": "claude-opus-4-8", "label": "Opus 4.8" },
      { "model": "claude-sonnet-5", "label": "Sonnet 5" }
    ]
  }
}
Copied

The rows go after the built-in ones unless you add "replaceBuiltInOptions": true. For a single extra row, the ANTHROPIC_CUSTOM_MODEL_OPTION environment variable does the same.

Which one to use

Anthropic’s own pages lean two ways. The models overview says “start with Claude Opus 5.5 for most workloads” and to use Fable 5.2 “for demanding reasoning and long-horizon agentic work, or when your evals on Claude Opus 5.5 at higher effort still fall short.” Claude Code’s cost guide says “Sonnet handles most coding tasks well and costs less than Opus. Reserve Opus for complex architectural decisions or multi-step reasoning.” Claude Code’s defaults match the first: every kind of account except Foundry starts on Opus 5.5.

For the choice task by task, Anthropic’s post on model and effort in Claude Code (July 2026) reduces it to two questions: “If Claude has all the pertinent context, clearly tried, and still got it wrong, that’s a signal to pick a more capable model. If Claude got it wrong by skipping a file, not running the tests, or bailing on a refactor partway through, pick a higher effort level.” Its point on cost cuts both ways: on routine work a larger model reaches the same result with more tokens at a higher price, while on work that stretches the smaller model, the larger one can come out cheaper per task.

Which model a new session starts on

With nothing set, the default setting decides, and it depends on how you sign in:

Before 2.1.280, Claude Code started Pro and Team Standard seats on Sonnet 5, and other plans and API keys on Opus 5 or older, so a machine that has not updated in a while starts somewhere else. No account starts on Fable, but once you pick it with /model it is saved, and later sessions start on it.

Two settings move the starting point. On Enterprise, an admin can set an organization default for everyone or per role (Claude Code 2.1.196 or later); the picker’s Default row then reads Org default, and if the admin also lets it override your own pick, /model tells you Your organization's default (<model>) applies on restart. And ANTHROPIC_DEFAULT_MODEL (2.1.236 or later) sets your own starting model, used only when no flag, ANTHROPIC_MODEL, settings file or organization default chooses one; it is ignored when set to default, inherit, opusplan or haiku.

To see which model you are on, run /status, or put the model in your status line. Since 2.1.326 the picker’s Default row names your plan’s default model, not one you saved.

Switching models, and which setting wins

Five places set the model. When more than one does, the higher one in this list wins:

  1. /model <alias or ID> in a session, or /model alone for the picker
  2. claude --model <alias or ID> at launch
  3. The ANTHROPIC_MODEL environment variable
  4. "model" in a settings file
  5. ANTHROPIC_DEFAULT_MODEL
claude --model sonnet                # this session only
claude --model claude-opus-5-5       # a pinned version
ANTHROPIC_MODEL=haiku claude -p "list the TODOs in src/"
Copied

In the picker, Enter switches and saves the model as your default, by writing model to ~/.claude/settings.json; s on a row switches for this session only, and the left and right arrows set the effort level on models that have one. Typing /model sonnet behaves like Enter. --model and ANTHROPIC_MODEL cover only the session they launch, which is how to run different models in two terminals at once: Anthropic’s advice is a separate --model for each, not /model. In a claude -p run, /model applies to that run only (2.1.205 or later).

For a fixed default, use a settings file. ~/.claude/settings.json covers you in every project, a project’s .claude/settings.json covers everyone who uses the repository, and your own .claude/settings.local.json in that project overrides the shared one for you alone:

{
  "model": "sonnet"
}
Copied

Two things catch people out. A mistyped name in --model, ANTHROPIC_MODEL or model is not rejected at startup (at most a warning suggests the closest name); the session opens and its first request fails with:

There's an issue with the selected model (claude-...). It may not exist or you may not have access to it. Run /model to pick a different model.
Copied

And a switch mid-conversation has a cost: each model keeps its own prompt cache, so the next request re-reads the whole conversation with no cache hits, which is why Claude Code asks you to confirm a switch while the cache is still warm. A switch also reaches the subagents that inherit your session’s model.

When a new session starts on another model

Pinning a version

An alias is a pointer that Claude Code moves when a new model ships. The model configuration page’s version history lists the moves on the Anthropic API: opus to Opus 5.5 at 2.1.280, sonnet to Sonnet 5.5 at 2.1.284, haiku to Haiku 5.5 at 2.1.293 and fable to Fable 5.2 at 2.1.321. A setup that names an alias therefore changes model on an ordinary update. To hold a version, use the full ID wherever you set the model, or point the alias itself at an ID:

VariableWhat it sets
ANTHROPIC_DEFAULT_FABLE_MODEL
fable
ANTHROPIC_DEFAULT_OPUS_MODEL
opus, and opusplan while planning
ANTHROPIC_DEFAULT_SONNET_MODEL
sonnet, and opusplan once you build
ANTHROPIC_DEFAULT_HAIKU_MODEL
haiku and background work; replaces the deprecated ANTHROPIC_SMALL_FAST_MODEL
CLAUDE_CODE_SUBAGENT_MODEL
Subagents, agent-team teammates and workflow agents that have no model of their own
export ANTHROPIC_DEFAULT_OPUS_MODEL=claude-opus-5-5
export ANTHROPIC_DEFAULT_SONNET_MODEL=claude-sonnet-5-5
Copied

Each value must be a full model ID, or your provider’s form of one, and the alias variables also decide which version your account’s default runs on.

The other direction fails loudly: a model newer than your Claude Code is refused by the API with a 400 naming the version it needs, and the table above lists today’s minimums. As of November 23, 2026 npm’s stable tag is 2.1.323 and latest is 2.1.330, so both run every current model, but a model launched later can need a version the stable channel has not reached. The fix, channel switch included, is in “Claude Code does not support this model”, and the update commands for each install method in how to update Claude Code.

Two moves happen on their own. On Pro, Max and Ultra, a claude-fable-5-1 saved in your user settings becomes the fable alias, and so Fable 5.2, the first time you run 2.1.321 or later, and the startup line can show (auto-updated) once; on Team and Enterprise the move waits on your organization’s settings, and Console accounts, cloud providers and a claude-fable-5-1 in project, local or managed settings keep 5.1. And when a model you name is scheduled for retirement or remapped, Claude Code warns at startup. In claude -p that warning goes to stderr with text output; with --output-format json it is suppressed, and the model that answered is in the result’s modelUsage field.

Effort, thinking and fast mode

Effort controls how much work Claude does per turn, and both its range and its starting point depend on the model:

ModelEffort levelsClaude Code’s default
Fable 5.2, Opus 5.5, Sonnet 5.5, Haiku 5.5
low, medium, high, xhigh, maxmedium
Fable 5.1 and 5, Opus 5, Sonnet 5, Opus 4.8
low to maxhigh
Opus 4.7
low to maxxhigh
Opus 4.6, Sonnet 4.6
low, medium, high, maxhigh
Any other model, such as Haiku 4.5
No effort settingNone

Set it with /effort (a slider, or /effort high), the arrows in /model, claude --effort high for one session, the CLAUDE_CODE_EFFORT_LEVEL environment variable, or per model in your settings. Claude Code takes the first of these that applies: the environment variable, then a level picked in the session, then --effort, then settings, then the model’s default. A level you save is stored per model:

{
  "modelSettings": {
    "claude-opus-5-5": {
      "effortLevel": "high"
    }
  }
}
Copied

Thinking cannot be switched off on Fable, Opus 5.5, Sonnet 5.5 or Haiku 5.5. The Option+T (macOS) or Alt+T toggle and the /config row show Thinking can't be turned off there, and MAX_THINKING_TOKENS=0 has no effect; lower the effort instead. On the Anthropic API, to run without thinking, pick an older model by ID, such as claude-opus-5, claude-sonnet-5 or claude-haiku-4-5, since the aliases all land on models where thinking stays on. On Bedrock and Foundry, adaptive models may still think with it off.

Fast mode (/fast) runs the same model up to 2.5 times faster at a higher price per token. On the Anthropic API it works on Fable 5.2, Opus 5.5, Opus 5 and Opus 4.8, not on Sonnet or Haiku, and turning it on from an unsupported model switches you to Opus. Per the fast mode page it costs $8 / $40 per million tokens on Opus 5.5 (against $4 / $20) and $16 / $80 on Fable 5.2, and on a Claude plan it runs on usage credits only. Fast mode for Opus 4.8 will be removed on November 30, 2026, after which the API rejects those requests: switch to Opus 5.5, or run /fast off to stay on Opus 4.8 at normal speed.

Context window: 1M tokens by default

Fable, Sonnet 5 and later, Haiku 5.5 and Opus 4.7 and later run with the 1M-token window with no suffix, on Bedrock, Agent Platform and Foundry too. The [1m] suffix matters only for Opus 4.6 and Sonnet 4.6, which reach 1M through it alone, and whether that costs extra depends on the plan:

Planclaude-opus-4-6[1m]claude-sonnet-4-6[1m]
Max, Ultra, Team, Enterprise
IncludedUsage credits
Pro
Usage creditsUsage credits
API key
Full accessFull access

Picked without credits on a plan that needs them, the variant fails with:

API Error: Usage credits required for 1M context · run /usage-credits to turn them on (they take effect after you restart Claude Code), or /model to switch to standard context
Copied

On an API key the 1M window is billed at the standard rate all the way, with one exception: Haiku 5.5 charges $0.50 / $2.50 per million tokens instead of $0.10 / $0.50 for any request whose prompt is over 100,000 tokens, cached tokens included, per Anthropic’s pricing page. Sessions on a 1M model compact at about 967,000 tokens by default. To compact sooner, set a smaller window for the current model with /autocompact 200k (the smallest it takes is 100K), or hold every model at 200K with CLAUDE_CODE_DISABLE_1M_CONTEXT=1.

How the model you pick draws on a Claude plan

Within a plan’s limits you pay no per-token price, but the model still sets how fast you use them up: Anthropic’s limits article names “which Claude model you’re chatting with, and the effort level you’ve selected” among what drives usage.

How much of each limit is left, and when it resets, is in checking your Claude Code usage.

On Bedrock, Agent Platform (Vertex AI) and Foundry

On a cloud provider each alias resolves to that provider’s built-in default, which can lag Anthropic’s newest release:

ProvideropussonnethaikuNew sessions start on
Anthropic API
Opus 5.5Sonnet 5.5Haiku 5.5Opus 5.5
Claude Platform on AWS
Opus 5.5Sonnet 4.6Haiku 4.5Opus 5.5
Claude Models on Google Cloud (Anthropic managed)
Opus 5.5Sonnet 5.5Haiku 4.5Opus 5.5
Amazon Bedrock, Google Cloud’s Agent Platform
Opus 5.5Sonnet 4.5Haiku 4.5Opus 5.5
Microsoft Foundry
Opus 4.6Sonnet 4.5Haiku 4.5Sonnet 4.5

So on Bedrock or Agent Platform, /model sonnet gives you Sonnet 4.5 where the Anthropic API gives Sonnet 5.5. Anthropic’s instruction for these providers is to “set the model environment variables to specific version IDs as part of your initial setup,” in your provider’s form: an inference profile ID or ARN on Bedrock (the default there reads like us.anthropic.claude-opus-5-5 in a us-* region), a version name on Agent Platform, a deployment name on Foundry. On Agent Platform, with the IDs the models overview lists for it:

export CLAUDE_CODE_USE_VERTEX=1
export CLOUD_ML_REGION=global
export ANTHROPIC_VERTEX_PROJECT_ID=YOUR-PROJECT-ID
export ANTHROPIC_DEFAULT_OPUS_MODEL='claude-opus-5-5'
export ANTHROPIC_DEFAULT_SONNET_MODEL='claude-sonnet-5-5'
Copied

The switch for Bedrock is CLAUDE_CODE_USE_BEDROCK=1 and for Foundry CLAUDE_CODE_USE_FOUNDRY=1. What else differs there:

Pointing ANTHROPIC_BASE_URL at a gateway “changes where requests are sent, not which model answers them.” Running Claude Code on models that are not Claude is a separate, unsupported setup, covered in Claude Code Router.

When the model changes without you

Run Claude Code on an always-on developer pod.

A developer pod is a permanent cloud computer (VPS), set up and secured for you, with your pick of Claude Code, Codex, OpenCode, Pi, Hermes and OpenClaw installed. Run more agents at once than your laptop can hold, and keep them working when it’s closed. From $24 a month, built in about ten minutes.