# ANTHROPIC_CUSTOM_MODEL_OPTION

> It adds one model of your own to the /model picker.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** ANTHROPIC_CUSTOM_MODEL_OPTION_NAME, ANTHROPIC_CUSTOM_MODEL_OPTION_DESCRIPTION

## Think of it like

It is like you add one more dish to the end of a menu.

## Definition

ANTHROPIC_CUSTOM_MODEL_OPTION adds one more row to the /model picker for a model ID you give it. The built-in rows stay as they are. Claude Code does not check the ID, so any name your endpoint accepts works. _NAME and _DESCRIPTION set the row's label. If a model allowlist is set, the ID must be on it too.

## Example

Lucy's gateway offers a test model with an odd name. She adds it with this variable, and it shows up last in /model, ready to pick.

## Example code

```bash
export ANTHROPIC_CUSTOM_MODEL_OPTION="my-gateway/claude-opus-5-5"
export ANTHROPIC_CUSTOM_MODEL_OPTION_NAME="Opus via Gateway"
claude
```

Add a gateway model to the picker.

## Why it matters

You can try a model Claude Code does not list, without losing the usual choices.

## Common mistake

Forgetting the allowlist. If one is set and the ID is not on it, the row is hidden.

## Three principles

- **One extra row.** Built-ins stay.
- **Not checked.** Any ID works.
- **Allowlist too.** Or it is hidden.

## Related terms

- [/model Command](https://learn.benibix.com/term/ai/model-command)
- [ANTHROPIC_DEFAULT_OPUS_MODEL_NAME](https://learn.benibix.com/term/ai/anthropic-default-opus-model-name-variable)
- [LLM Gateway](https://learn.benibix.com/term/development/llm-gateway)

---

Source: https://learn.benibix.com/term/ai/anthropic-custom-model-option-variable
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.
