Model configuration changedmodel-config
Nearest release: v2.1.331, published under an hour before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 23 Nov 2026 18:50 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 23 Nov 2026 19:02 UTC.
Upstream edited
Recorded here
Lines+5added
Lines−5removed
From line
365
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits108to this page, all time
The whole hunk
from line 365, old and new numbered
/
from line 365
365365* **`model`**: sets the initial model selection when a session starts
366366* **`ANTHROPIC_DEFAULT_SONNET_MODEL`** / **`ANTHROPIC_DEFAULT_OPUS_MODEL`** / **`ANTHROPIC_DEFAULT_HAIKU_MODEL`** / **`ANTHROPIC_DEFAULT_FABLE_MODEL`**: control what the `sonnet`, `opus`, `haiku`, and `fable` aliases resolve to, and which version the [account-type default](#default-model-setting) uses
367367
368This example starts users on Sonnet 4.5, limits the picker to Sonnet and Haiku, and ensures Default resolves to a model on the allowlist rather than the tier default:
368This example starts users on Sonnet 5, limits the picker to Sonnet 5.x and Haiku, and ensures Default resolves to a model on the allowlist:
369369
370370```json theme={null}
371371{
372 "model": "claude-sonnet-4-5",
373 "availableModels": ["claude-sonnet-4-5", "haiku"],
372 "model": "claude-sonnet-5",
373 "availableModels": ["claude-sonnet-5", "haiku"],
374374 "enforceAvailableModels": true,
375375 "env": {
376 "ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-4-5"
376 "ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-5"
377377 }
378378}
379379```
from line 681
681681>
682682> A level you pick from the effort control on a phone or browser connected through [Remote Control](https://code.claude.com/docs/en/remote-control.md#what-connected-devices-see) applies to that session only.
683683
684When you set a level with `/effort` in a [`-p` run](https://code.claude.com/docs/en/headless), Claude Code applies it to that session only and doesn't save it as your default.
684When you set a level with `/effort` in a [`-p` run](https://code.claude.com/docs/en/headless), Claude Code applies it to that session only.
685685
686686The `/effort` slider also has an **Ultracode** toggle. Ultracode is a Claude Code setting rather than a model effort level: with it on, Claude orchestrates [dynamic workflows](https://code.claude.com/docs/en/workflows.md) for substantive tasks, at whichever effort level the session runs at. For where it can be set persistently, see the [`ultracode`](https://code.claude.com/docs/en/settings-reference#ultracode) setting.
687687
No line in this hunk matches that.