/model
A Claude Code slash command, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.
Switch the AI model and save it as your default for new sessions. For models that support it, use left/right arrows to adjust effort level. With no argument, opens a picker; press s on a row to switch for the current session only. See when Claude Code asks you to confirm the switch. Once you confirm the switch, if Claude Code asks, Claude Code applies the change without waiting for the current response to finish. Before v2.1.242, Claude Code decided from a feature flag it fetched from Anthropic whether to run the command mid-turn or queue it until the turn finished, and always queued it in a session that doesn't fetch feature flags, such as on a third-party provider. Also available in non-interactive mode (-p) with a model argument instead of the picker, where it applies to the current session only and isn't saved as your default; requires Claude Code v2.1.205 or later
Anthropic's own wording. Read off Commands, captured 2026-09-28.
In the changelogs
93Releases whose published page names /model.
-
v2.1.307
Model-switch messages now explain your organization's usage credits
Messages about switching models now say whether your organization's usage credits are off, capped or used up, or tell you to run
/modelfound in this entry's text
-
v2.1.304
/modelin a remote session can open a new pickerIn a remote session,
/modelnow opens a new model picker when the session has kept model rows, and falls back to the old picker otherwisefound in this entry's text, named in this entry
-
v2.1.304
/modelin cloud sessions keeps its model list and refreshes itIn a cloud session, the /model picker now keeps the session's list of models and refreshes it, instead of fetching it once each time it opens
found in this entry's text, named in this entry
-
v2.1.302
/model picker can take a preset list and keep your effort choice across picks
The
/modelpicker can now use a prepared list of options and remembers the chosen effort, saving it only if it differs from the presetfound in this entry's text, named in this entry
-
v2.1.301
Switching models now detects when you've hit your plan's shared usage limit
If /model hits a five-hour or seven-day usage limit while checking a model, Claude Code now marks that a shared limit was reached
found in this entry's text, named in this entry
-
v2.1.299
Agent view /model opens a picker for model, effort and fast mode
In the agent view, /model sets the model for new sessions from that window, and with no name it opens a picker
found in this entry's text, named in this entry
-
v2.1.299
FleetView's /model description now says it applies to new sessions only
In FleetView,
/modelis now described as setting the model for new sessions from this window, without saving itfound in this entry's text, named in this entry
-
v2.1.295
/model now says when your default model could not be saved
After switching models,
/modelnow checks whether saving it as your default worked and words its confirmation to matchfound in this entry's text, named in this entry
-
v2.1.295
Choosing a model with /model can now be checked or adjusted before it applies
In interactive mode, /model and its picker can pass your choice through a step that may refuse or change it, and report save failures
found in this entry's text, named in this entry
-
v2.1.292
Saved default model is only replaced when the model family matches
Claude Code now only overwrites your saved default model when your current model is in the same model family as the one being set
found in this entry's text
-
v2.1.292
Usage-credits consent is now remembered per model
The consent prompt for models that run only on usage credits is now stored per model, and Fable keeps its existing setting
found in this entry's text, named in this entry
-
v2.1.292
Advisor setup messages now name the model they are about
The advisor consent message and the /model hint now name the actual model and command instead of always naming Fable
found in this entry's text, named in this entry
-
v2.1.290
Remote Control users can run /effort, /model, /rename and /usage while Claude is working
Someone connected through Remote Control can now run
/effort,/model,/renameand/usagestraight away while Claude is mid-replyfound in this entry's text, named in this entry
-
v2.1.288
Permission prompts can explain why auto mode is not skipping them
New messages explain that an action is allowed but Claude still asks, because auto mode is unavailable, and say why
found in this entry's text
-
v2.1.286
/compact,/clearand/rewindask to confirm inside an agent viewTyping
/compact,/clearor/rewindwhile viewing an agent now asks you to confirm running it on the main conversationfound in this entry's text
-
v2.1.286
/modelcan now refuse a switch or ask you to confirm it/modelnow runs a check first that can block a model switch with a message or ask for extra confirmation, sometimes with a reasonfound in this entry's text, named in this entry
-
v2.1.285
/modelin a cloud session waits for the session to be readyIn a cloud session,
/modelnow waits for the cloud session to start before loading models, instead of timing out or falling backfound in this entry's text, named in this entry
-
v2.1.284
The sonnet model name now points to Sonnet 5.5 on the Anthropic API
Choosing sonnet now selects Sonnet 5.5 instead of Sonnet 5 on the Anthropic API, while Bedrock, Vertex and other providers keep older models
found in this entry's text
-
v2.1.284
/modellists Sonnet 5 as the previous Sonnet versionThe
/modelpicker now includes a Sonnet 5 row, labelled Previous Sonnet version, when that model is available to youfound in this entry's text, named in this entry
-
v2.1.284
Ultracode is now an on/off switch that works with any effort level
Ultracode is no longer an effort level that forces xhigh; you turn it on or off with
/effort ultracode onorofffound in this entry's text
-
v2.1.284
Gateway config checks warn about model lists that would reject every request
Gateway checks now warn when availableModels is empty or leaves out the default model, both of which get requests refused
found in this entry's text
-
v2.1.284
Switching models with /model no longer treats ultracode effort levels specially
On
/modelswitches, the effort level is now applied directly, including levels that came from ultracode, and ultracode state is no longer setfound in this entry's text, named in this entry
-
v2.1.284
Sonnet 4.6 is now labelled "Legacy" in the model picker
The model picker now describes Sonnet 4.6 as "Sonnet 4.6 · Legacy" instead of the previous Sonnet version
named in this entry
-
v2.1.283
Switching to the default model now respects your organization's model rules
Choosing the default model now checks availableModels and deniedModels and is refused if your organization's managed settings block it
found in this entry's text, named in this entry
-
v2.1.283
Models denied by managed policy are hidden from the /model picker
When managed policy sets deniedModels, the /model picker now leaves those models out instead of showing the full list
found in this entry's text, named in this entry
-
v2.1.282
Switching to a model that needs credits no longer fails as an invalid model
When /model gets a "credits required" answer, Claude Code handles it separately instead of reporting the model as invalid
found in this entry's text, named in this entry
-
v2.1.282
/model can switch to claude-fable- models that need credits
Switching to a claude-fable- model that needs credits goes to a confirmation step instead of being rejected as invalid
found in this entry's text, named in this entry
-
v2.1.282
One model is no longer marked for quick selection
A model with a 1M-token input limit and 128,000-token output limit lost its quick-select mark in Claude Code's model list
found in this entry's text
-
v2.1.281
/model error messages get codes and wording for hosts without the command
Failed model switches now return an error code and no longer tell you to run
/modelwhere it isn't availablefound in this entry's text, named in this entry
-
v2.1.281
/config Model picker no longer passes skipSettingsWrite
Model pickers no longer pass
skipSettingsWrite, and clicking a blank part of a/configrow now selects itfound in this entry's text
-
v2.1.281
429 and overload messages drop the /model hint in some non-interactive sessions
Some non-interactive sessions get high-load errors without the /model hint, and 429 errors report their message more reliably
found in this entry's text
-
v2.1.281
Model-validation failure is marked retryable and only suggests /model when it exists
The "Couldn't confirm model" error is now marked retryable and suggests
/modelonly when that command is availablefound in this entry's text, named in this entry
-
v2.1.281
/model validation: clearer API errors that say the model was not changed, plus a retryable flag
When /model cannot check a model name, the error is cleaner, says the model was not changed, and marks retryable cases
found in this entry's text, named in this entry
-
v2.1.280
New 'model_consent_fallback' system message for usage-credit model swaps
New system message explains when Claude Code auto-switches models over usage-credit consent
found in this entry's text, named in this entry
-
v2.1.280
/model default-set now optimistically updates local state before server confirmation
Setting a default model with /model now updates the local picker before the server confirms
found in this entry's text, named in this entry
-
v2.1.280
Selected model can now be synced to the organization's server-side default
Claude Code can now push your chosen model to your organization's shared server-side default
named in this entry
-
v2.1.274
Usage-credits 1M-context guidance message reworked with new eligibility checks
1M-context usage-credits message now varies based on whether /usage-credits is actually available to you
named in this entry, found in this entry's text
-
v2.1.274
Model-switch suggestion text now considers config sources beyond gateway
Model-unavailable suggestions now weigh more context before recommending /model or --model
named in this entry, found in this entry's text
-
v2.1.268
Stale model-access denials are now automatically re-probed and can self-heal
Claude Code now re-checks previously denied models with the server instead of caching the denial forever
found in this entry's text, named in this entry
-
v2.1.268
Team shared-budget ('group_pool') hit message
New message when your team's shared usage budget runs out, with a path to raise it or switch models
found in this entry's text, named in this entry
-
v2.1.267
Per-model "maxEffortLevel" cap now enforced client-side across settings
maxEffortLevel now combines a global cap with per-model overrides across all settings files and clamps any explicit effort request
found in this entry's text
-
v2.1.265
1M-context alias switching gets structured refusal reasons
Switching to a 1M-context model now gives a specific reason when it's refused
found in this entry's text, named in this entry
-
v2.1.265
/model 1M-context aliases get explicit availability checks
Switching to a 1M-context model with /model now gives a specific error explaining exactly why it isn't available
found in this entry's text, named in this entry
-
v2.1.265
/model default-save now confirms the write and reports failure/unconfirmed states
/model's default-save now waits to confirm the write and reports saved, unconfirmed, or failed instead of assuming success
found in this entry's text, named in this entry
-
v2.1.260
Fable 5.1 advisor feature surfaced with setup prompt
A new Fable 5.1 advisor model can be enabled by running /model fable.
found in this entry's text, named in this entry
-
v2.1.260
New unrecognized-model telemetry on /model switch
Switching to an unrecognized model now fires its own telemetry event.
found in this entry's text
-
v2.1.260
Model switch now probes availability before showing the picker
/model now shows a checking-availability step before displaying model choices.
found in this entry's text, named in this entry
-
v2.1.251
New PreModelSwitch and PostModelSwitch hooks
New PreModelSwitch and PostModelSwitch hooks let you gate or annotate every model change.
found in this entry's text
-
v2.1.251
/model switches can be blocked or held for confirmation by a hook
A PreModelSwitch hook can block or hold your /model change for confirmation.
named in this entry, found in this entry's text
-
v2.1.251
Model picker can now set an effort level and ultracode
Picking a model can now also set effort level and ultracode for the session.
named in this entry
-
v2.1.251
Fast mode now vets the model change through a hook before applying
Turning Fast mode on now runs your model-switch hook and can be refused.
found in this entry's text
-
v2.1.251
The /model menu and SDK flag changes wait on PreModelSwitch hooks
Model and effort changes from the picker now run hooks first and can be cancelled.
named in this entry, found in this entry's text
-
v2.1.248
Model-switch consent can no longer fire twice
/model can no longer apply a second model change or print a duplicate notice.
named in this entry, found in this entry's text
-
v2.1.248
Usage-limit messages stop telling you to run /usage-credits when it will not help
Limit messages stop pointing at /usage-credits when that flow isn't available to you.
found in this entry's text
-
v2.1.248
Usage-credits prompts now checked against the disable flag too
Setting DISABLE_EXTRA_USAGE_COMMAND now also hides the buy-credits prompts, which point at /model instead.
named in this entry, found in this entry's text
-
v2.1.246
Compaction retries on a fallback model when the summarizer is refused
If compaction's model is refused, it retries on an allowed fallback instead of failing outright.
named in this entry, found in this entry's text
-
v2.1.242
New
modelPickersetting curates the /model listA new modelPicker setting curates or replaces the model list you see in /model.
named in this entry, found in this entry's text
-
v2.1.239
Effort level is stored as a structured value
Effort settings are wrapped in a structured value everywhere, including the model menu and SDK.
named in this entry, found in this entry's text
-
v2.1.238
Status line no longer attributes a session model to plan mode
The status line now says "(this session only)" instead of blaming plan mode for your model.
found in this entry's text
-
v2.1.236
Cancellable waits when
/modeltalks to a cloud sessionYou can now escape the wait when /model loads or switches models on a cloud session.
named in this entry, found in this entry's text
-
v2.1.234
Search field in the model picker
The model picker has a type-to-filter search, but its entry point is hardcoded off.
named in this entry, found in this entry's text
-
v2.1.232
Advisor picker drops unavailable models and explains Fable 5 credits
The advisor picker hides unavailable models and explains Fable 5's usage-credit requirement.
named in this entry, found in this entry's text
-
v2.1.232
Choosing Fable 5 as advisor now tells you to enable usage credits
Picking Fable 5 as advisor without usage credits now points you at
/model fable.named in this entry, found in this entry's text
-
v2.1.232
Out-of-credits and spend-limit messages rewritten for non-interactive runs
Hitting credit or spend caps in non-interactive runs now suggests another model instead of untypeable commands.
named in this entry, found in this entry's text
-
v2.1.228
Bedrock requests go through middleware, and streams become real SSE
The Bedrock backend was rebuilt so streaming and errors behave like every other provider.
found in this entry's text
-
v2.1.223
Model-cycle shortcut opens /model in cloud sessions instead of just nagging
The model shortcut now actually opens the model picker in cloud sessions instead of just advising you.
named in this entry, found in this entry's text
-
v2.1.209
Background Sessions Now Support /login and /model
found in this entry's text
-
v2.1.200
Model ID Error Messages Now Suggest Alternatives
found in this entry's text
-
v2.1.198
SSH Sessions Now Support Model Catalog
found in this entry's text
-
v2.1.187
Usage credits messages — cleaner wording
found in this entry's text
-
v2.1.181
/config key=value— Set Settings from the Command Linefound in this entry's text
-
v2.1.179
Model Picker "Not Used Recently" Section
found in this entry's text
-
v2.1.179
Fable 5 Consent Flow Improvements
found in this entry's text
-
v2.1.175
Organization-Enforced Model Allowlist (
enforceAvailableModels)found in this entry's text
-
v2.1.170
Claude Fable 5 Model Support
found in this entry's text
-
v2.1.170
Fable 5 Launch Announcement Banner
found in this entry's text
-
v2.1.124
Gateway model discovery for
ANTHROPIC_BASE_URLfound in this entry's text
-
v2.1.121
Model Picker Guidance in Remote Sessions
found in this entry's text
-
v2.1.119
Fast Mode Switching in Remote Sessions
found in this entry's text
-
v2.1.117
Model Source Indicator in Status
found in this entry's text
-
v2.1.117
Managed Settings Model Pin Visibility
found in this entry's text
-
v2.1.91
Rate Limit Reduction Suggestions [Gradual Rollout]
found in this entry's text
-
v2.1.63
/model Command Shows Current Model
found in this entry's text
-
v2.1.42
Effort Level Callout for Opus 4.6
found in this entry's text
-
v2.1.32
Claude Opus 4.6 Support
found in this entry's text
-
v2.1.32
Model Issue Error Messages
found in this entry's text
-
v2.1.9
Opus 4.5 Upgrade Nudge
found in this entry's text
-
v2.0.51
Improved Rate Limit Error Messages
found in this entry's text
-
v2.0.10
Model Status Display
found in this entry's text
-
v1.0.111
API-Based Model Validation
found in this entry's text
-
v1.0.7
New Features
found in this entry's text
-
v1.0.0
New Models
found in this entry's text
-
v1.0.0
User-Facing Features
found in this entry's text
First cited
12The earliest release whose published evidence quoted /model was v2.1.91, 2 Apr 2026. That is the oldest release this project wrote about it, so it is a floor on the name's age and not the release that introduced it. It is not a presence reading: which builds carried the name is the table below.
6 further spans in the ledger name it. The list above is the earliest first and stops at 6.
Presence across releases
0The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the slash command does. All slash commands.