Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

24 pages for anthropic_model.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Manage multiple agents with agent view Claude Code CLI · in the page agent-view …values](/docs/en/settings-reference#env) in project settings, so an `ANTHROPIC_MODEL` or provider variable set there applies to every background session in that directory. A background session also… Claude Code on Amazon Bedrock Claude Code CLI · in the page amazon-bedrock …del 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 model you se… CLI reference Claude Code CLI · in the page cli-reference …rrides the [`model`](/docs/en/settings-reference#model) setting and [`ANTHROPIC_MODEL`](/docs/en/model-config#environment-variables)… Desktop application Claude Code CLI · in the page desktop …`--output-format` | Not available. Desktop is interactive only. | | `ANTHROPIC_MODEL` env var | Model picker in the row under the prompt box | | `MAX_THINKING_TOKENS` env var | See [Turn off extended… Environment variables Claude Code CLI · in the page env-vars …ings key, and which one Claude Code reads first differs per key. For `ANTHROPIC_MODEL` and `CLAUDE_CODE_AUTO_CONNECT_IDE`, Claude Code reads the variable first and uses the `model` or `autoConnectIde`… Error reference Claude Code CLI · in the page errors …tive 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 surface. * **Agent SDK**: the error text omits th… Claude Code on Google Cloud's Agent Platform Claude Code CLI · in the page google-vertex-ai …del 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 model you se… Hooks reference Claude Code CLI · in the page hooks …There is no `$CLAUDE_MODEL` environment variable. The hook can read `$ANTHROPIC_MODEL` if you set it in your shell, but that value doesn't change when you switch models with `/model` during a session.… Roll out an LLM gateway for your organization Claude Code CLI · in the page llm-gateway-rollout …ys) covers which of the two variables matches your configuration | | `ANTHROPIC_MODEL` or [`ANTHROPIC_DEFAULT_HAIKU_MODEL`](/docs/en/model-config) | Set which model name Claude Code requests for the m… Deploy managed settings Claude Code CLI · in the page managed-settings …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#availablemodels)… Model configuration Claude Code CLI · in the page model-config …with `claude --model <alias|name>` 3. **Environment variable**: set `ANTHROPIC_MODEL=<alias|name>` 4. **Settings**: configure permanently in your settings file using the `model` field 5. **[Default f… Test plugins with evals Claude Code CLI · in the page plugin-evals …ts 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. Pin it in CI so a model rollout isn't mistak… Plugin commands reference Claude Code CLI · in the page plugins/cli-reference …model>` | Model for the agent under test | Each case's `model`, else `ANTHROPIC_MODEL` if set, else Claude Code's default | | `--judge-model <model>` | Model for `llm` and `baseline` graders | The mod… Customize sessions in self-hosted environments Claude Code CLI · in the page self-hosted-environments-configuration …e uses its default for 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: * **`ANTHR… Configure server-managed settings Claude Code CLI · in the page server-managed-settings …and command toggles * Model selection and behavior settings, such as `ANTHROPIC_MODEL`, `DISABLE_PROMPT_CACHING`, and `CLAUDE_CODE_EFFORT_LEVEL` * Context window and compaction settings, such as `DISA… 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 …model * **Per-session overrides**: `--model` takes precedence over [`ANTHROPIC_MODEL`](/docs/en/env-vars), and both take precedence over this key for one session, including over a managed `model`; an… Week 26 · June 22–26, 2026 Claude Code CLI · in the page whats-new/2026-w26 …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 selectedNew `autoMode.cla… Build an MCP client Model Context Protocol · in the page docs/2024-11-05/develop/build-client …require "dotenv/load" require "json" require "mcp" class MCPClient ANTHROPIC_MODEL = "claude-sonnet-4-20250514" def initialize @mcp_client = nil @transport = nil @anthropic_client =… Build an MCP client Model Context Protocol · in the page docs/2025-03-26/develop/build-client …require "dotenv/load" require "json" require "mcp" class MCPClient ANTHROPIC_MODEL = "claude-sonnet-4-20250514" def initialize @mcp_client = nil @transport = nil @anthropic_client =… Build an MCP client Model Context Protocol · in the page docs/2025-06-18/develop/build-client …require "dotenv/load" require "json" require "mcp" class MCPClient ANTHROPIC_MODEL = "claude-sonnet-4-20250514" def initialize @mcp_client = nil @transport = nil @anthropic_client =… Build an MCP client Model Context Protocol · in the page docs/2025-11-25/develop/build-client …require "dotenv/load" require "json" require "mcp" class MCPClient ANTHROPIC_MODEL = "claude-sonnet-4-20250514" def initialize @mcp_client = nil @transport = nil @anthropic_client =… Build an MCP client Model Context Protocol · in the page docs/2026-07-28/develop/build-client …require "dotenv/load" require "json" require "mcp" class MCPClient ANTHROPIC_MODEL = "claude-opus-5" def initialize @mcp_client = nil @transport = nil @anthropic_client = nil end… Build an MCP client Model Context Protocol · in the page docs/draft/develop/build-client …require "dotenv/load" require "json" require "mcp" class MCPClient ANTHROPIC_MODEL = "claude-opus-5" def initialize @mcp_client = nil @transport = nil @anthropic_client = nil end…
Feedback