Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · claude-code

Model configuration changedmodel-config

Nearest release: v2.1.335, published 8 hours 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 3 Dec 2026 06:22 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 3 Dec 2026 06:37 UTC.

Upstream edited
Recorded here
Lines+3added
Lines−3removed
From line 384 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits125to this page, all time

The whole hunk

from line 384, old and new numbered
/
lines
from line 384
384384To fully control the model experience, combine these settings:
385385 
386386* **`availableModels`**: restricts which named models users can switch to
387* **`enforceAvailableModels`**: extends the `availableModels` allowlist to the Default option, so Default cannot resolve to a model outside the list
387* **`enforceAvailableModels`**: extends the `availableModels` allowlist to the Default option
388388* **`deniedModels`** and **`availableModelsMatch`**: [block specific versions](#block-specific-models-or-versions) that an `availableModels` entry would otherwise permit
389389* **`model`**: sets the initial model selection when a session starts
390390* **`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
from line 402
402402}
403403```
404404 
405Without `enforceAvailableModels` or the `env` block, a user who selects Default in the picker gets the [runtime default](#default-model-setting) rather than the version pinned in `model`. The two settings cover different scopes: `enforceAvailableModels` makes Default obey the allowlist, while the `env` block pins which version a permitted alias such as `sonnet` resolves to. Use `enforceAvailableModels` alone when restricting model families is enough; add the `env` block when you also need to pin a specific version.
405Without `enforceAvailableModels` or the `env` block, a user who selects Default in the picker gets the [runtime default](#default-model-setting) rather than the version pinned in `model`. Use `enforceAvailableModels` alone when restricting model families is enough; add the `env` block when you also need to pin which version a permitted alias such as `sonnet` resolves to.
406406 
407407### Merge behavior
408408 
from line 690
690690 
691691After an automatic model fallback, see [Effort level after a fallback](#effort-level-after-a-fallback) for the level that applies. For subagents and teammates, see [Effort level of subagents and teammates](#effort-level-of-subagents-and-teammates).
692692 
693Opus 5.5 and models released after it ignore a top-level `effortLevel` key in your user settings file. A top-level `effortLevel` in project, local, or managed settings, or one passed with the `--settings` flag, applies to every model.
693To set a default effort level for every model, add a top-level `effortLevel` key to project, local, or managed settings, or to the settings you pass with the `--settings` flag. In your user settings file, Claude Code ignores a top-level `effortLevel` key for Opus 5.5, Sonnet 5.5, Haiku 5.5, Fable 5.2, and newer models.
694694 
695695When you set `low`, `medium`, `high`, or `xhigh` in an interactive session on your machine, you choose how long it lasts by how you confirm it:
696696 
Feedback