What
- A failed model switch now returns a machine-readable
code. The code is one ofalias_1m_disabled,alias_1m_unsupported,restricted_by_org,unavailable_for_account,not_offered,check_failedor, when a hook blocked the switch,blocked_by_hook. A hook is a command you configure to run on events. - Error messages mention
/modelonly where that command exists. Elsewhere, they say "Switch to a different model." or just "Try again." Before, they always said to run/model. - The "Couldn't confirm model" error is now marked retryable.
- A model picked at launch, for example by the SDK or in print mode (
-p), is no longer checked against the server. The switch passesconfirmWithServer: false, which becomesserverProbe: false, and the model is accepted as valid. The server check is also skipped when no deadline is given. - The print and SDK session now reports when a pick is a launch pick (
isLaunchModelPick).
Why
The SDK is the library for running Claude Code from your own programs, and programs that embed Claude Code often have no /model command. Those hosts now get messages that make sense and a code they can act on. Starting with a model chosen at launch no longer waits on a server check, which matters most on a slow network.
Names in the bundle/model
/model
Connect Claude Desktop to Claude for Government modified, medium confidence
* New and retired models appear in the model picker without any profile change; model access is controlled through [seat tiers](/docs/government/org-admin/seat-tiers). [Models in Claude Desktop](/docs/government/desktop/models) covers a mo…see the edit
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed since
Anthropic's documentation has since written up /model, on optimizing-for-cost-and-intelligence.
| You want agent runs to finish sooner | Tell the model that time matters, and show it the elapsed time; on DRACO, HLE, and an internal physics set, runs took 33% to 69% less time at a 28% to 54% lower cost per task, with scores up to 1.9 …about-claude/models/optimizing-for-cost-and-intelligence see the edit
Added since
A small documentation edit on Deploy managed settings touched a line naming /model after this was published.
Wherever the session runs, claude.ai applies the admin console's [`strictKnownMarketplaces`](/docs/en/settings-reference#strictknownmarketplaces) and [`blockedMarketplaces`](/docs/en/settings-reference#blockedmarketplaces) lists itself whe…managed-settings see the edit
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agrees
/model on Connect Claude Desktop to Claude for Government
Anthropic's release notes agree
Fixed /model showing the raw API error JSON and request ID when the API refuses the picked model; it now shows the server's message and says…