{"name":"ANTHROPIC_DEFAULT_OPUS_MODEL","slug":"anthropic-default-opus-model","family":"env","title":"Environment variables","noun":"environment variable","description":"Model ID that the `opus` alias resolves to, and that `opusplan` uses while Plan Mode is active. See [Model configuration](\/docs\/en\/model-config#environment-variables)","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":null},"aliases":[],"entries":[{"version":"2.1.284","anchor":"gateway-config-validation-warns-about-empty-or-default-less","heading":"Gateway config checks warn about model lists that would reject every request","line":"Gateway checks now warn when availableModels is empty or leaves out the default model, both of which get requests refused","released_at":"2026-09-28 17:11:59","reason":"found in this entry's text"},{"version":"2.1.283","anchor":"opus-with-1m-context-label-now-checked-per-model","heading":"The \"with 1M context\" label for Opus now depends on the model chosen","line":"The model picker now shows \"with 1M context\" for Opus only when the chosen model offers it as an option, not from one global check","released_at":"2026-09-25 18:46:11","reason":"found in this entry's text, named in this entry"},{"version":"2.1.227","anchor":"bedrock-and-vertex-share-one-stale-model-check","heading":"Bedrock and Vertex share one stale-model check","line":"Bedrock and Vertex now share one check for outdated pinned model variables.","released_at":"2026-08-10 20:56:57","reason":"found in this entry's text"},{"version":"2.1.207","anchor":"default-model-upgraded-to-claude-opus-4-8","heading":"Default Model Upgraded to Claude Opus 4.8","line":null,"released_at":"2026-07-10 22:25:09","reason":"found in this entry's text"},{"version":"2.1.207","anchor":"model-env-var-whitespace-trimming","heading":"Model Env Var Whitespace Trimming","line":null,"released_at":"2026-07-10 22:25:09","reason":"found in this entry's text"},{"version":"2.1.170","anchor":"fable-5-environment-variables-for-custom-providers","heading":"Fable 5 Environment Variables for Custom Providers","line":null,"released_at":"2026-06-09 16:15:44","reason":"found in this entry's text"},{"version":"2.0.51","anchor":"default-model-logic-for-max-team-users","heading":"Default Model Logic for Max\/Team Users","line":null,"released_at":"2025-11-24 18:27:18","reason":"found in this entry's text"}],"entries_total":7,"docs":[{"source":"claude-code","path":"env-vars","title":"Environment variables","documented":true},{"source":"claude-code","path":"amazon-bedrock","title":"Claude Code on Amazon Bedrock","documented":false},{"source":"claude-code","path":"changelog","title":"Claude Code changelog","documented":false},{"source":"claude-code","path":"claude-platform-on-aws","title":"Claude Code on Claude Platform on AWS","documented":false},{"source":"claude-code","path":"google-vertex-ai","title":"Claude Code on Google Cloud's Agent Platform","documented":false},{"source":"claude-code","path":"llm-gateway-connect","title":"Connect Claude Code to an LLM gateway","documented":false},{"source":"claude-code","path":"llm-gateway-rollout","title":"Roll out an LLM gateway for your organization","documented":false},{"source":"claude-code","path":"microsoft-foundry","title":"Claude Code on Microsoft Foundry","documented":false},{"source":"claude-code","path":"model-config","title":"Model configuration","documented":false},{"source":"claude-code","path":"sub-agents","title":"Create custom subagents","documented":false}],"docs_total":11,"gates":[],"related":[{"name":"ANTHROPIC_DEFAULT_OPUS_MODEL_DESCRIPTION","slug":"anthropic-default-opus-model-description","description":"Display description for the pinned Opus model in the `\/model` picker. When not set, the row shows a default description that begins `Custom Opus model`. See [Model configuration](\/docs\/en\/model-config#customize-pinned-model-display-and-capabilities)"},{"name":"ANTHROPIC_DEFAULT_OPUS_MODEL_NAME","slug":"anthropic-default-opus-model-name","description":"Display name for the pinned Opus model in the `\/model` picker. When not set, the row shows the model's name if Claude Code recognizes the pinned ID, and the pinned ID otherwise. See [Model configuration](\/docs\/en\/model-config#customize-pinned-model-display-and-capabilities)"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/anthropic-default-opus-model","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}