deniedModels
A Claude Code settings key, read out of the shipped bundle. It has been in the build since v2.1.283, including the newest one read.
Block specific models, even ones availableModels permits
Anthropic's own wording. Read off All settings, captured 2026-09-28.
In the changelogs
6Releases whose published page names deniedModels.
-
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
4The 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
1Build by build
1One 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.