# deniedModels

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

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** deniedModels setting, model denylist

## Think of it like

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

## 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

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

## Example code

```json
{
  "deniedModels": ["claude-opus-5-5"]
}
```

Block Opus 5.5 in every spelling of its name.

## Why it matters

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

## Common mistake

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

## Three principles

- **Blocks named models.** Beats the allow list.
- **Family or version.** opus, an ID.
- **Managed only.** Ignored elsewhere.

## Related terms

- [availableModels](https://learn.benibix.com/term/ai/available-models-setting)
- [model Setting](https://learn.benibix.com/term/ai/model-setting)
- [/model Command](https://learn.benibix.com/term/ai/model-command)

## Told apart from

- [availableModels vs deniedModels](https://learn.benibix.com/compare/available-models-setting-vs-denied-models-setting): People think these are one list said two ways. availableModels names the only models people may pick, and works from any file. deniedModels names models that are blocked even when the first list has them. It only works from managed settings. IT uses it to hold back one new model and leave the rest of the list alone.

---

Source: https://learn.benibix.com/term/ai/denied-models-setting
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-16
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
