Search the documentation
7 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…
Claude Code changelog
Claude Code CLI · in the page
changelog
…e> <Update label="2.1.236" description="August 19, 2026"> * Added `ANTHROPIC_DEFAULT_MODEL` environment variable: sets the model new sessions start on, while a `/model` pick still overrides it and…
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…
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>` As of v2.1.153, `/model` saves your choice as the default for new sessions by writing the `…
Claude Code settings reference
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…
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) </Upd…