deniedModels
A Claude Code settings key, read out of the shipped bundle. It was in the build from v2.1.283 and was gone by v2.1.284.
Block specific models, even ones availableModels permits
Anthropic's own wording. Read off All settings, captured 2026-11-12.
In the changelogs
9Releases whose published page names deniedModels.
-
v2.1.315
Gateway checks every model in a request and adds Bedrock input tagging
The gateway now checks models nested in a request against a role's model lists, and refuses Bedrock requests it cannot prepare for its guardrail
found in this entry's text, named in this entry
-
v2.1.299
Gateway blocks models listed in a role's
deniedModelsThe gateway now rejects models in a role's
deniedModelslist and hides them from the model list, alongside theavailableModelsallowlistfound in this entry's text, named in this entry
-
v2.1.287
Claude Code explains when managed settings block a model
A new message says when a model was skipped for a check, fallback or upgrade because managed settings do not allow it
found in this entry's text
-
v2.1.283
Admins can block specific models and require exact version matches
Managed settings gain
deniedModelsto block models andavailableModelsMatchto stop an allowed ID covering later versionsfound in this entry's text, 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 in the catch-all managed policy now apply to every policy
deniedModelsin the catch-allmanaged.policiesentry is now combined with each specific policy's list instead of being replaced by itfound in this entry's text, named in this entry
-
v2.1.283
Helper requests to a denied model now use your main model instead
When an admin's
deniedModelsblocks the model a background helper request asks for, Claude Code now sends it to the main conversation modelfound in this entry's text, named in this entry
-
v2.1.283
Claude Code picks an allowed model when admin settings block the default
If managed settings block the default model, Claude Code now steps down to an allowed model, and reports a clear startup error when none is left
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
First cited
5The earliest release whose published evidence quoted deniedModels was v2.1.283, 25 Sep 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.
Presence across releases
2Build by build
36One row per release since the first build this name was read out of. Absent means the build was read and the name was not in it, never mined means no bundle for that release was ever archived, and a declared type or a default is only ever what that release's own bundle stated.
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 settings key does. All settings keys.