69 pages for --model.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
CLI reference
Claude Code CLI · in the page
cli-reference
…o includes completed background sessions). Pass `--permission-mode`, `--model`, `--effort`, or `--agent` to set [defaults for dispatched sessions](/docs/en/agent-view#permission-mode-model-and-effort)…
Desktop application
Claude Code CLI · in the page
desktop
…r scripting or automation. | CLI | Desktop equivalent | | - | - | | `--model sonnet` | Model picker in the row under the prompt box | | `--resume`, `--continue` | Click a session in the sidebar, or t…
Environment variables
Claude Code CLI · in the page
env-vars
…interacts with CLI flags and in-session commands varies per feature: `--model` and `/model` override `ANTHROPIC_MODEL`, while `CLAUDE_CODE_EFFORT_LEVEL` overrides `--effort` and `/effort`. When a vari…
Error reference
Claude Code CLI · in the page
errors
…s available to your account. * **Non-interactive mode (`-p`)**: pass `--model` with a valid alias or ID, or set [`ANTHROPIC_MODEL`](/docs/en/env-vars). The error text shows `Run --model` on this surfa…
Claude Code GitHub Actions
Claude Code CLI · in the page
github-actions
…erday's commits and open issues" claude_args: | --model claude-opus-5-5 --allowedTools "mcp__github__list_commits,mcp__github__list_issues" ``` ## Best practices ##…
Use Claude Code GitHub Actions with cloud providers
Claude Code CLI · in the page
github-actions-cloud-providers
…utputs.token }} use_bedrock: "true" claude_args: '--model us.anthropic.claude-sonnet-4-6' ``` > [!TIP] > > Bedrock model IDs include a cross-region inference profile prefix such a…
Claude Code on Google Cloud's Agent Platform
Claude Code CLI · in the page
google-vertex-ai
…ge which model carries them: * When you select a primary model with `--model`, `ANTHROPIC_MODEL`, or the `model` setting, background tasks use that model. When Claude Code starts the session on the m…
How Claude Code works
Claude Code CLI · in the page
how-claude-code-works
…ecisions. Switch with `/model` during a session or start with `claude --model <name>`. When this guide says "Claude chooses" or "Claude decides," it's the model doing the reasoning. ### Tools Tools…
Deploy managed settings
Claude Code CLI · in the page
managed-settings
…e model for a session**: a managed `model` is a default, not a lock. `--model` and `ANTHROPIC_MODEL` still pick the model for that session, so deploy [`availableModels`](/docs/en/settings-reference#av…
Model configuration
Claude Code CLI · in the page
model-config
…licitly: * **Fable 5.1**: run `/model fable`, or launch with `claude --model fable`. In [Claude apps gateway](/docs/en/claude-apps-gateway) sessions, where the alias resolves to Fable 5, run `/model…
Test plugins with evals
Claude Code CLI · in the page
plugin-evals
…than raising throughput past that limit. Results keep case order | | `--model <model>` | Each case's `model`, else `ANTHROPIC_MODEL` if set, else Claude Code's default | Model for the agent under test…
Plugin commands reference
Claude Code CLI · in the page
plugins/cli-reference
…essions to run at once, 1 to 8. They share your rate limit | `1` | | `--model <model>` | Model for the agent under test | Each case's `model`, else `ANTHROPIC_MODEL` if set, else Claude Code's default…
Continue local sessions from any device with Remote Control
Claude Code CLI · in the page
remote-control
…own not to change what those sessions can do, such as `--verbose` or `--model`. For any other flag, such as `--settings`, Claude Code [refuses to start](/docs/en/errors.md#not-carried-over-to-the-sess…
Manage sessions
Claude Code CLI · in the page
sessions
…t * Flags that configure the session, such as `--permission-mode`, `--model`, or `--settings` * Flags that read the output, such as `--output-format json` or `--json-schema` * Flags that limit o…
Claude Code settings
Claude Code CLI · in the page
settings
…| Override the default model to use for Claude Code. `--model` and [`ANTHROPIC_MODEL`](/docs/en/model-config#environment-variables) override this for one session…
All settings
Claude Code CLI · in the page
settings-reference
…[advisor](/docs/en/advisor.md). A managed list constrains `/model`, `--model`, and the `model` key in a developer's own files; a model outside it can't be selected. With the default prefix matching,…
Create custom subagents
Claude Code CLI · in the page
sub-agents
…laude-opus-5-5` or `claude-sonnet-5`. Accepts the same values as the `--model` flag * **inherit**: use the same model as the main conversation When Claude invokes a subagent, it can also pass a `mode…
Week 20 · May 11–15, 2026
Claude Code CLI · in the page
whats-new/2026-w20
…, `--settings`, `--mcp-config`, `--plugin-dir`, `--permission-mode`, `--model`, `--effort`, `--dangerously-skip-permissions`) to configure background sessions, and `claude agents --cwd <path>` scopes…
Week 26 · June 22–26, 2026
Claude Code CLI · in the page
whats-new/2026-w26
…blesOrg-configured model restrictions now apply to the model picker, `--model`, `/model`, and `ANTHROPIC_MODEL`, with a "restricted by your organization's settings" message when a restricted model is…