{"name":"ANTHROPIC_CUSTOM_MODEL_OPTION","slug":"anthropic-custom-model-option","family":"env","title":"Environment variables","noun":"environment variable","description":"Model ID to add as a custom entry in the `\/model` picker. Use this to make a non-standard or gateway-specific model selectable without replacing built-in aliases. See [Model configuration](\/docs\/en\/model-config#add-a-custom-model-option)","description_source":"docs","described_by":{"doc":"claude-code\/env-vars","title":"Environment variables"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.308","builds":149,"mined_builds":149,"first_cited":{"version":"2.1.78","released_at":"2026-03-17 21:04:05","spans":1}},"aliases":[],"entries":[{"version":"2.1.242","anchor":"new-modelpicker-setting-curates-the-model-list","heading":"New modelPicker setting curates the \/model list","line":"A new modelPicker setting curates or replaces the model list you see in \/model.","released_at":"2026-08-24 19:16:14","reason":"named in this entry, found in this entry's text"},{"version":"2.1.201","anchor":"claude-sonnet-5-added-to-model-compatibility-list","heading":"claude-sonnet-5 added to model compatibility list","line":null,"released_at":"2026-07-03 20:52:33","reason":"found in this entry's text"},{"version":"2.1.78","anchor":"custom-model-picker-via-environment-variables","heading":"Custom Model Picker via Environment Variables","line":null,"released_at":"2026-03-17 21:04:05","reason":"found in this entry's text"}],"entries_total":3,"docs":[{"source":"claude-code","path":"env-vars","title":"Environment variables","documented":true},{"source":"claude-code","path":"model-config","title":"Model configuration","documented":false},{"source":"claude-code","path":"settings-reference","title":"All settings","documented":false}],"docs_total":3,"gates":[],"related":[{"name":"ANTHROPIC_CUSTOM_MODEL_OPTION_DESCRIPTION","slug":"anthropic-custom-model-option-description","description":"Display description for the custom model entry in the `\/model` picker. Defaults to `Custom model (<model-id>)` when not set"},{"name":"ANTHROPIC_CUSTOM_MODEL_OPTION_NAME","slug":"anthropic-custom-model-option-name","description":"Display name for the custom model entry in the `\/model` picker. When not set, the entry shows the model's name if Claude Code [recognizes the ID](\/docs\/en\/model-config#customize-pinned-model-display-and-capabilities), and the model ID otherwise"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/anthropic-custom-model-option","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}