Skip to main content

Model Catalog, Aliases, and Pricing

Choose a Model​

The list runs from highest to lowest priority. Source: Model Configuration: Setting Your Model.

ItemStatusWhat it does
/model <alias|name>
Documented: An official docs page names this item.
Switches now. With no argument it opens the picker. Enter saves your choice as the default. s switches for this session only.
--model <model>
Documented: An official docs page names this item.
Sets the model for one session.
ANTHROPIC_MODEL
Documented: An official docs page names this item.
Sets the model with the same values as --model.
model
Documented: An official docs page names this item.
The settings key that stores the default.
ANTHROPIC_DEFAULT_MODEL
Documented: An official docs page names this item.
Sets the default for new sessions.
availableModels
Documented: An official docs page names this item.
An allowlist in managed settings. It limits /model, --model, the env vars, and alias resolution. Entries can be a family (sonnet), a version prefix (claude-sonnet-4-5), or a full ID.
modelOverrides
Documented: An official docs page names this item.
Maps an Anthropic model ID to the provider string Claude Code sends, such as a Bedrock inference profile ARN. Since 2.1.305, /effort and /autocompact settings apply even when the model name differs from a modelOverrides value by letter case or a [1m] tag (v2.1.305 release).
modelPicker
Documented: An official docs page names this item.
Lists your own rows for the /model picker, in your order and labels.
ANTHROPIC_CUSTOM_MODEL_OPTION
Documented: An official docs page names this item.
Adds one custom entry to the picker. Claude Code does not validate the ID. Add _NAME and _DESCRIPTION for a label.
CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY
Documented: An official docs page names this item.
Fills the picker from the gateway /v1/models endpoint. Off by default.
CLAUDE_CODE_GATEWAY_MODEL_DISCOVERY_TIMEOUT_MS
Documented: An official docs page names this item.
The timeout of that request. The default is 3000.
CLAUDE_CODE_SUBAGENT_MODEL
Documented: An official docs page names this item.
The default model for subagents, teammates, and workflow agents with no model set.
--include-unsupported-models
Undocumented: Only the program shows this item. It can change without notice.
Offers models your account can use that this version does not know.
PreModelSwitch, PostModelSwitch hooks
Documented: An official docs page names this item.
They run around a switch. PreModelSwitch can block it.

Aliases​

An alias is a short name for the newest model of a family. The catalog holds opus, sonnet, haiku, and fable. The help text of --model names fable, opus, and sonnet.

AliasStatusResolves toExceptions
default
Documented: An official docs page names this item.
Clears the override. The model is then the runtime default for your account. The default is Opus 5.5 on the Anthropic API, on the paid plans, and on AWS and Google Cloud.It is not an alias in the strict sense.
opus
Documented: An official docs page names this item.
claude-opus-5-5Foundry uses claude-opus-4-6. Gateways use claude-opus-4-7.
sonnet
Documented: An official docs page names this item.
claude-sonnet-5-5Bedrock, Vertex, Foundry, and Mantle use claude-sonnet-4-5. Claude Platform on AWS and gateways use claude-sonnet-4-6.
haiku
Documented: An official docs page names this item.
claude-haiku-5-5Every other provider uses claude-haiku-4-5.
fable
Documented: An official docs page names this item.
claude-fable-5-1Gateways use claude-fable-5. In Claude apps gateway sessions, fable and best resolve to Fable 5.
best
Documented: An official docs page names this item.
The model that fable resolves to, where you have Fable. Otherwise it is the same as opus.
opusplan
Documented: An official docs page names this item.
opus in plan mode, then sonnet to run the plan.
sonnet[1m], opus[1m], fable[1m]
Documented: An official docs page names this item.
The alias with a 1M window.No effect when the alias already has a native 1M window. Since 2.1.311, Claude Code drops the suffix from the names and IDs it shows, and the (1M context) label, where the suffix has no effect. It still accepts the suffix.

Sources: Model Configuration for the aliases, and the program for the exceptions. The [1m] change is in the Claude Code changelog. In the program, chunk-r1ht672j.js:23699 removes the tag when the name without it has a known window on its own. chunk-r1ht672j.js:24801 and :25045 add the (1M context) label only when the tag remains and the model allows the suffix. Opus 5.5 needs Claude Code v2.1.280 or later, Sonnet 5.5 needs v2.1.284, Haiku 5.5 needs v2.1.293, and Fable 5.1 needs v2.1.257.

Pin the Models behind an Alias​

Environment variableStatusEffect
ANTHROPIC_DEFAULT_OPUS_MODEL
Documented: An official docs page names this item.
The model for opus, and for opusplan in plan mode.
ANTHROPIC_DEFAULT_SONNET_MODEL
Documented: An official docs page names this item.
The model for sonnet, and for opusplan outside plan mode.
ANTHROPIC_DEFAULT_HAIKU_MODEL
Documented: An official docs page names this item.
The model for haiku and for background work.
ANTHROPIC_DEFAULT_FABLE_MODEL
Documented: An official docs page names this item.
The model for fable. It also marks the ID as a Fable model for fallback.
ANTHROPIC_SMALL_FAST_MODEL
Documented: An official docs page names this item.
Deprecated: The program or the official docs call this deprecated. Use ANTHROPIC_DEFAULT_HAIKU_MODEL
Deprecated. Use ANTHROPIC_DEFAULT_HAIKU_MODEL.
ANTHROPIC_DEFAULT_<FAMILY>_MODEL_NAME
Documented: An official docs page names this item.
The name of the pinned model that the picker shows. It works on third-party providers and gateways.
ANTHROPIC_DEFAULT_<FAMILY>_MODEL_DESCRIPTION
Documented: An official docs page names this item.
The description in the picker.
ANTHROPIC_DEFAULT_<FAMILY>_MODEL_SUPPORTED_CAPABILITIES
Documented: An official docs page names this item.
A comma list that tells Claude Code what the pinned model supports. Values: effort, xhigh_effort, max_effort, thinking, adaptive_thinking, interleaved_thinking.

<FAMILY> is OPUS, SONNET, HAIKU, or FABLE. The _NAME, _DESCRIPTION, and _SUPPORTED_CAPABILITIES suffixes also work with ANTHROPIC_CUSTOM_MODEL_OPTION. Pin versions before you deploy Claude Code on a third-party provider, because the alias default can lag the newest model. A native 1M model runs with 1M with no suffix when the pinned ID contains its Anthropic API ID. For a model that reaches 1M through [1m] (Opus 4.6, Sonnet 4.6), add [1m] to the variable.

Catalog​

The catalog is a JavaScript object in the program with the comment Hand-maintained baked-in model catalog. It holds the provider names, the window, the output limits, the price, the default effort, and the capability flags of each model. Since 2.1.311, on Bedrock, Mantle, Vertex, and Foundry, Claude Code can also load model settings from a signed file. CLAUDE_CODE_MODEL_CATALOG turns this off (see Models and Effort). A row is

Documented: An official docs page names this item.
when an official docs page names the model. It is
Undocumented: Only the program shows this item. It can change without notice.
when no page names it. The docs do not list the catalog fields, so the window, the limits, and the prices are program facts for all rows.

"Larger window" says how to get a bigger one. native 1M means the model has 1M already. context-1m is the beta that asks the API for it. [1m] is the suffix for --model. "Output" shows the default and the highest output limit in tokens. Prices are in Pricing and default efforts are in Effort.

idStatusNameKnowledge cutoffWindowLarger windowOutput
claude-3-5-haiku
Undocumented: Only the program shows this item. It can change without notice.
Haiku 3.5-not set-8,192 / 8,192
claude-haiku-4-5
Documented: An official docs page names this item.
Haiku 4.5February 2025200,000[1m] suffix32,000 / 64,000
claude-haiku-5-5
Documented: An official docs page names this item.
Haiku 5.5June 20261,000,000native 1M, context-1m128,000 / 128,000
claude-3-5-sonnet
Undocumented: Only the program shows this item. It can change without notice.
Sonnet 3.5-not set-8,192 / 8,192
claude-3-7-sonnet
Undocumented: Only the program shows this item. It can change without notice.
Sonnet 3.7-not set-32,000 / 64,000
claude-sonnet-4-0
Undocumented: Only the program shows this item. It can change without notice.
Sonnet 4January 2025200,000context-1m, [1m]32,000 / 64,000
claude-sonnet-4-5
Documented: An official docs page names this item.
Sonnet 4.5January 2025200,000context-1m, [1m]32,000 / 64,000
claude-sonnet-4-6
Documented: An official docs page names this item.
Sonnet 4.6August 2025200,000context-1m, [1m]32,000 / 128,000
claude-sonnet-5
Documented: An official docs page names this item.
Sonnet 5January 20261,000,000native 1M, context-1m64,000 / 128,000
claude-sonnet-5-5
Documented: An official docs page names this item.
Sonnet 5.5June 20261,000,000native 1M, context-1m128,000 / 128,000
claude-opus-4-0
Undocumented: Only the program shows this item. It can change without notice.
Opus 4January 2025200,000[1m] suffix32,000 / 32,000
claude-opus-4-1
Documented: An official docs page names this item.
Opus 4.1January 2025200,000[1m] suffix32,000 / 32,000
claude-opus-4-5
Documented: An official docs page names this item.
Opus 4.5May 2025200,000[1m] suffix32,000 / 64,000
claude-opus-4-6
Documented: An official docs page names this item.
Opus 4.6May 2025200,000context-1m, [1m]64,000 / 128,000
claude-opus-4-7
Documented: An official docs page names this item.
Opus 4.7January 20261,000,000native 1M, context-1m, [1m]64,000 / 128,000
claude-opus-4-8
Documented: An official docs page names this item.
Opus 4.8January 20261,000,000native 1M, context-1m, [1m]64,000 / 128,000
claude-opus-5
Documented: An official docs page names this item.
Opus 5May 20261,000,000native 1M, context-1m, [1m]64,000 / 128,000
claude-opus-5-5
Documented: An official docs page names this item.
Opus 5.5June 20261,000,000native 1M, context-1m, [1m]128,000 / 128,000
claude-fable-5
Documented: An official docs page names this item.
Fable 5January 20261,000,000native 1M, context-1m64,000 / 128,000
claude-fable-5-1
Documented: An official docs page names this item.
Fable 5.1June 20261,000,000native 1M, context-1m64,000 / 128,000
claude-mythos-5
Documented: An official docs page names this item.
Mythos 5January 20261,000,000native 1M, context-1m64,000 / 128,000
claude-mythos-5-1
Undocumented: Only the program shows this item. It can change without notice.
Mythos 5.1June 20261,000,000native 1M, context-1m64,000 / 128,000

Notes:

  • A model with no window in the table has no context entry in the catalog.
  • The catalog keeps a rank for each model for the advisor tool (--advisor). The ranks run from 1 for claude-haiku-4-5 to 9 for claude-fable-5-1 and claude-mythos-5-1.
  • A model can name a model to use instead on a third-party provider. For example, claude-opus-5-5 falls back to claude-opus-5, and claude-fable-5-1 falls back to claude-fable-5.
  • The Mythos models have a name on the Anthropic API only, and none on the cloud providers.

Other Model IDs in the Program​

These IDs are not catalog rows. The program names them for one task each. All rows are

Undocumented: Only the program shows this item. It can change without notice.
.

idStatusWhere the program uses it
claude-3-opus, claude-3-sonnet, claude-3-haiku
Undocumented: Only the program shows this item. It can change without notice.
The Read tool refuses a whole-PDF read on these models. Use the pages parameter instead.
claude-haiku-3-5, claude-sonnet-3-7
Undocumented: Only the program shows this item. It can change without notice.
Short names in a table that shortens a model name for the commit and pull request attribution line. A name that contains haiku-3-5 or sonnet-3-7 maps to the ID.
claude-mythos-preview
Undocumented: Only the program shows this item. It can change without notice.
The model-name validation accepts it as a known name, next to the aliases. It has no catalog row.
claude-sonnet-4-5-20250929[1m]
Undocumented: Only the program shows this item. It can change without notice.
On the Anthropic API, a startup migration changes a user-settings model of this value to sonnet[1m].
claude-fable-5[1m]
Undocumented: Only the program shows this item. It can change without notice.
A startup migration changes a user-settings model of this value to fable[1m].
claude-sonnet-4-6[1m], claude-opus-4-6[1m]
Undocumented: Only the program shows this item. It can change without notice.
The value of the "1M context" entries in the /model picker on the Anthropic API.
claude-opus-5[1m], claude-opus-5-5[1m], claude-sonnet-5-5[1m]
Undocumented: Only the program shows this item. It can change without notice.
The refusal fallback table treats each like the ID without [1m].
claude-sonnet-5[1m], claude-opus-4-8[1m]
Undocumented: Only the program shows this item. It can change without notice.
Keys of a built-in per-model threshold table (severityByModel), next to the same IDs without [1m].

Pricing​

Prices are in US dollars for each million tokens. A search request costs 0.01 in every group. Haiku 5.5 costs 0.5 for input and 2.5 for output above 100,000 prompt tokens. All rows are

Undocumented: Only the program shows this item. It can change without notice.
.

ModelsInputOutputCache write 5mCache write 1hCache read
claude-sonnet-52102.540.2
claude-sonnet-5-52102.540.1
claude-3-5-sonnet, claude-3-7-sonnet, claude-sonnet-4-0, claude-sonnet-4-5, claude-sonnet-4-63153.7560.3
claude-opus-4-5, claude-opus-4-6, claude-opus-4-7, claude-opus-4-8, claude-opus-55256.25100.5
claude-opus-4-0, claude-opus-4-1157518.75301.5
claude-fable-5, claude-mythos-5105012.5201
claude-fable-5-1, claude-mythos-5-1105012.5200.25
claude-opus-5-5420580.2
claude-3-5-haiku0.8411.60.08
claude-haiku-4-5151.2520.1
claude-haiku-5-50.10.50.1250.20.01

Capabilities​

The model catalog gives each model a list of capability flags. The code tests a flag to switch a feature on for that model. The docs do not list these flags, so every row is

Undocumented: Only the program shows this item. It can change without notice.
. This page gives the meaning only where the docs or a string in the program make it clear. The column "Models" counts the models that have the flag. For pinned models on third-party providers, you can state the capabilities yourself with _SUPPORTED_CAPABILITIES (see above).

FlagStatusWhat it doesModels
context_management
Undocumented: Only the program shows this item. It can change without notice.
The model works with the context-management-2025-06-27 beta.18
effort
Undocumented: Only the program shows this item. It can change without notice.
The model accepts the effort setting.12
max_effort
Undocumented: Only the program shows this item. It can change without notice.
The model accepts the level max.12
xhigh_effort
Undocumented: Only the program shows this item. It can change without notice.
The model accepts the level xhigh.10
adaptive_thinking
Undocumented: Only the program shows this item. It can change without notice.
The model accepts adaptive thinking.12
mid_conv_tool_change
Undocumented: Only the program shows this item. It can change without notice.
The tool list can change in the middle of a conversation.8
rejects_disabled_thinking
Undocumented: Only the program shows this item. It can change without notice.
Thinking cannot be turned off, as the docs say for MAX_THINKING_TOKENS.6
per_turn_effort
Undocumented: Only the program shows this item. It can change without notice.
The model can take the effort with each message.4
per_turn_timing
Undocumented: Only the program shows this item. It can change without notice.
The model can take the current time with each message.4
lean_prompt
Undocumented: Only the program shows this item. It can change without notice.
The model-side input for the short system prompt. See The System Prompt.8
org_locked_thinking
Undocumented: Only the program shows this item. It can change without notice.
The organization locks the thinking setting.2
haiku_5_5_early_stopping_guidance
Undocumented: Only the program shows this item. It can change without notice.
Claude Code adds guidance against early stopping.1
refusal_fallback
Undocumented: Only the program shows this item. It can change without notice.
A refused request can run again on a fallback model.5
silent_turn_reminder
Undocumented: Only the program shows this item. It can change without notice.
Claude Code adds a reminder after a turn with no text.1
fast_mode
Undocumented: Only the program shows this item. It can change without notice.
The model supports /fast.3
thinking_disabled_effort_cap
Undocumented: Only the program shows this item. It can change without notice.
The program does not state the purpose.1
opus_5_prompt_bundle
Undocumented: Only the program shows this item. It can change without notice.
The model gets the prompt sections for Opus 5.1
opus_5_5_prompt_bundle
Undocumented: Only the program shows this item. It can change without notice.
The model gets the prompt sections for Opus 5.5.1
fable_5_mitigations
Undocumented: Only the program shows this item. It can change without notice.
The model gets extra safety text for Fable 5.3
fable_5_1_prompt_bundle
Undocumented: Only the program shows this item. It can change without notice.
The model gets the prompt sections for Fable 5.1.2

The flags effort, max_effort, xhigh_effort, and adaptive_thinking say which effort levels and which thinking mode a model accepts. The betas per-turn-control-2026-07-01 and timing-2026-09-09 match the flags per_turn_effort and per_turn_timing.