9 pages for anthropic_default_model.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Claude Code on Amazon Bedrock
Claude Code CLI · in the page
amazon-bedrock
…odel. When Claude Code starts the session on the model you set with [`ANTHROPIC_DEFAULT_MODEL`](/docs/en/model-config#set-a-default-model-for-new-sessions), background tasks use that model too. Settin…
Environment variables
Claude Code CLI · in the page
env-vars
…| | `ANTHROPIC_DEFAULT_MODEL` | Model that new sessions start on by default. Requires Claude Code v2.1.23…
Claude Code on Google Cloud's Agent Platform
Claude Code CLI · in the page
google-vertex-ai
…odel. When Claude Code starts the session on the model you set with [`ANTHROPIC_DEFAULT_MODEL`](/docs/en/model-config#set-a-default-model-for-new-sessions), background tasks use that model too. Settin…
Roll out an LLM gateway for your organization
Claude Code CLI · in the page
llm-gateway-rollout
…r-third-party-deployments) and can change when developers upgrade | [`ANTHROPIC_DEFAULT_MODEL`](/docs/en/model-config#set-a-default-model-for-new-sessions) for the model new sessions start on, and the…
Model configuration
Claude Code CLI · in the page
model-config
…ault for new sessions](#set-a-default-model-for-new-sessions)**: set `ANTHROPIC_DEFAULT_MODEL=<alias|name>` `/model` saves your choice as the default for new sessions by writing the `model` field in…
Customize sessions in self-hosted environments
Claude Code CLI · in the page
self-hosted-environments-configuration
…r the provider. You can't choose the model with `ANTHROPIC_MODEL` or `ANTHROPIC_DEFAULT_MODEL` in the runner's environment, but you can pin what an alias resolves to: * **`ANTHROPIC_MODEL` and `ANTH…
All settings
Claude Code CLI · in the page
settings-reference
…={null} { "model": "claude-sonnet-5" } ``` A value here outranks [`ANTHROPIC_DEFAULT_MODEL`](/docs/en/model-config#set-a-default-model-for-new-sessions), which Claude Code uses only when nothing el…
Week 34 · August 17–21, 2026
Claude Code CLI · in the page
whats-new/2026-w34
…code blocks, inline code, and lists, the same way replies doThe new [`ANTHROPIC_DEFAULT_MODEL`](/docs/en/model-config#set-a-default-model-for-new-sessions) environment variable sets the model new sess…
What's new
Claude Code CLI · in the page
whats-new/index
…your phone so you can start a session on it from the Code tab; and **`ANTHROPIC_DEFAULT_MODEL`** sets the model new sessions start on. [Read the Week 34 digest →](/docs/en/whats-new/2026-w34.md) **W…