CLAUDE_CODE_MODEL_CATALOG
Updated by Alex Sorokoletov
CLAUDE_CODE_MODEL_CATALOG is a Claude Code environment variable: Forces the served model catalog off. The catalog (model families, context windows, aliases fetched for an account) is otherwise gated behind the allow_model_catalog policy, first-party claude.ai auth, and an organization; setting this variable short-circuits all of that and reports the catalog as env_off. Added between v2.1.247 and v2.1.252 and still present in v2.1.318. It is not in the official reference.
| Status | Present in v2.1.318 |
|---|---|
| Added | Added between v2.1.247 and v2.1.252 |
| Category | Models and thinking |
| Official docs | Not listed |
How to set it
For one session, export it in the shell that starts Claude Code:
export CLAUDE_CODE_MODEL_CATALOG=<value>
claudeTo apply it to every session, add it to the env object of a settings file:
// ~/.claude/settings.json
{
"env": {
"CLAUDE_CODE_MODEL_CATALOG": "<value>"
}
}Release notes that mention it
- Claude Code Version Tracker: Undocumented Env Vars, Feature Gates & Models
- claude-code-env-vars-v2-1-311
- claude-code-env-vars-v2-1-252
Related variables
ANTHROPIC_CUSTOM_MODEL_OPTIONANTHROPIC_CUSTOM_MODEL_OPTION_DESCRIPTIONANTHROPIC_CUSTOM_MODEL_OPTION_NAMEANTHROPIC_CUSTOM_MODEL_OPTION_SUPPORTED_CAPABILITIESANTHROPIC_DEFAULT_FABLE_MODELANTHROPIC_DEFAULT_FABLE_MODEL_DESCRIPTIONANTHROPIC_DEFAULT_FABLE_MODEL_NAMEANTHROPIC_DEFAULT_FABLE_MODEL_SUPPORTED_CAPABILITIES
Frequently asked questions
What does CLAUDE_CODE_MODEL_CATALOG do?
Forces the served model catalog off. The catalog (model families, context windows, aliases fetched for an account) is otherwise gated behind the allow_model_catalog policy, first-party claude.ai auth, and an organization; setting this variable short-circuits all of that and reports the catalog as env_off.
Which Claude Code version has CLAUDE_CODE_MODEL_CATALOG?
Added between v2.1.247 and v2.1.252 and still present in v2.1.318.
How do I set CLAUDE_CODE_MODEL_CATALOG?
Export it before starting Claude Code (export CLAUDE_CODE_MODEL_CATALOG=value), or add it to the "env" object in ~/.claude/settings.json to apply it to every session.
All variables, searchable: Claude Code environment variables.