Skip to content
BENIBIX Learn

deniedModels

AI⌨️ Claude CodeConfiguration

Also known as deniedModels setting, model denylist

A list of models no one may use, set by the company.

Think of it like

It is like a menu with some dishes crossed out. You cannot order those.

Example

Lucy's work has not yet checked the newest model. IT adds it to deniedModels until the check is done.

Why it matters

It blocks one model and leaves the rest of the list alone.

Definition

deniedModels is a key for managed settings. It blocks the models it names, even when availableModels lets them in. Blocked models drop out of the /model list. A family name such as opus blocks the whole family. An ID such as claude-opus-5 also blocks later ones, such as Opus 5.5. It is read from managed settings only.

Example code

json
{
  "deniedModels": ["claude-opus-5-5"]
}
Block Opus 5.5 in every spelling of its name.

Common mistake

Writing claude-opus-5 to block only Opus 5. That blocks later versions too, so write claude-opus-5-0.

Key takeaways

  1. 1
    Blocks named models. Beats the allow list.
  2. 2
    Family or version. opus, an ID.
  3. 3
    Managed only. Ignored elsewhere.

Compare