Follow Discord
Sweep 29 Sep 2026 · 18:10Z Build v2.1.285 506 read Stable v2.1.280 Latest v2.1.285 Next v2.1.285 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

249 pages for sonnet.

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

claude-opus-4-1 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-4-1 …mily currently consists of Claude Opus 4.1, Claude Opus 4, and Claude Sonnet 4. Claude Opus 4.1 is the most powerful model for complex challenges. If the person asks, Claude can tell them about the f… claude-opus-4-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-4-5 …. The Claude 4.5 family currently consists of Claude Opus 4.5, Claude Sonnet 4.5, and Claude Haiku 4.5. Claude Opus 4.5 is the most advanced and intelligent model. If the person asks, Claude can tell… claude-opus-4-6 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-4-6 …Claude 4.5 family currently consists of Claude Opus 4.6, 4.5, Claude Sonnet 4.5, and Claude Haiku 4.5. Claude Opus 4.6 is the most advanced and intelligent model. If the person asks, Claude can tell… claude-opus-4-7 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-4-7 …e Platform. The most recent Claude models are Claude Opus 4.7, Claude Sonnet 4.6, and Claude Haiku 4.5, the exact model strings for which are 'claude-opus-4-7', 'claude-sonnet-4-6', and 'claude-haiku-… claude-opus-4-8 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-4-8 …e currently selected model), Claude Opus 4.7, Claude Opus 4.6, Claude Sonnet 4.6, and Claude Haiku 4.5. They use the API model strings 'claude-opus-4-8', 'claude-opus-4-7', 'claude-opus-4-6', 'claude-… claude-opus-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-5 …Claude Fable 5, Claude Opus 5 (the currently selected model), Claude Sonnet 5, and Claude Haiku 4.5. They use the API model strings 'claude-fable-5', 'claude-opus-5', 'claude-sonnet-5', and 'claude-h… claude-opus-5-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-5-5 …ude Fable 5.1, Claude Opus 5.5 (the currently selected model), Claude Sonnet 5, and Claude Haiku 4.5. They use the API model strings 'claude-fable-5-1', 'claude-opus-5-5', 'claude-sonnet-5', and 'clau… overview Claude Developer Platform · in the page release-notes/system-prompts/overview …those models have one entry. <CardGroup cols={3}> <Card id="claude-sonnet-5-5" title="Claude Sonnet 5.5" icon="file" href="https://platform.claude.com/docs/en/release-notes/system-prompts/claude-so… overview Claude Developer Platform · in the page resources/overview …iled documentation of Claude Opus 5. </Card> <Card title="Claude Sonnet 5 System Card" icon="file" href="https://www.anthropic.com/claude-sonnet-5-system-card"> Detailed documentation of Clau… Escalate hard decisions with the advisor tool Claude Code CLI · in the page advisor …Accepted advisors | Notes | | - | - | - | | Haiku 4.5 | Fable, Opus, Sonnet | Haiku can call the advisor but cannot act as one | | Sonnet 4.6 | Fable, Opus, Sonnet | | | Sonnet 5.5 or Sonnet 5 | Fabl… Configure your agent Claude Code CLI · in the page agent-sdk/configuration …ize the open TODOs in this repo", options: { model: "claude-sonnet-5", allowedTools: ["Read", "Glob", "Grep"], maxTurns: 8, cwd: "/path/to/repo", }, })) { if (mes… Agent SDK reference - Python Claude Code CLI · in the page agent-sdk/python …del` | No | Model override for this agent. Accepts an alias such as `"sonnet"`, `"opus"`, `"haiku"`, or `"inherit"`, or a full model ID. When you omit it, Claude Code picks the model in the [subagent… Subagents in the SDK Claude Code CLI · in the page agent-sdk/subagents …ides the default model for this subagent model="sonnet", ), "test-runner": AgentDefinition( description="Runs and analyz… Track todos Claude Code CLI · in the page agent-sdk/todo-tracking …e available by default only on Claude 3.x models, Opus 4 through 4.7, Sonnet 4 through 4.6, and Haiku 4.5. On every other model, including model IDs Claude Code doesn't recognize, they aren't availabl… Scale to many tools with tool search Claude Code CLI · in the page agent-sdk/tool-search …Platform, the SDK decides by model generation: * **Claude Opus 4.5, Sonnet 4.5, Haiku 4.5, and later**: tool search is on by default. * **Earlier Agent Platform models**: the SDK loads tool definiti… Agent SDK reference - TypeScript Claude Code CLI · in the page agent-sdk/typescript …rride for this agent. Accepts an alias such as `'fable'`, `'opus'`, `'sonnet'`, `'haiku'`, `'inherit'`, or a full model ID. `'inherit'` uses the main model. When you omit it, Claude Code picks the mod… Orchestrate teams of Claude Code sessions Claude Code CLI · in the page agent-teams …e={null} Spawn 4 teammates to refactor these modules in parallel. Use Sonnet for each teammate. ``` Claude Code picks each teammate's model from the first of these that applies: 1. The model your sp… Manage multiple agents with agent view Claude Code CLI · in the page agent-view …The following example dispatches one session on Opus and the next on Sonnet: ```text theme={null} /model opus refactor auth /model sonnet run the test suite ``` Each background session can run on a… Claude Code on Amazon Bedrock Claude Code CLI · in the page amazon-bedrock …access enabled * Access to desired Claude models (for example, Claude Sonnet 4.6) in Amazon Bedrock * AWS CLI installed and configured (optional - only needed if you don't have another mechanism for g… Claude Code changelog Claude Code CLI · in the page changelog …URL` to use the 1M context window of models that have one (Opus 4.7+, Sonnet 5+, Fable); run `/autocompact 200k` if your gateway stops at 200K * Changed Team and Enterprise sessions, and sessions wh… Claude apps gateway configuration Claude Code CLI · in the page claude-apps-gateway-config …ier: 0.85 overrides: - upstream: bedrock-eu model: claude-sonnet-4-6 input: 3.30 output: 16.50 cache_read: 0.33 cache_write: 4.125 ``` | Field | Required | Descrip… Use Claude Code in the cloud Claude Code CLI · in the page claude-code-on-the-web …, and `/rename`**: pass the value as an argument, for example `/model sonnet`, instead of opening the terminal picker or slider. The argument forms require Claude Code v2.1.205 or later in the session… Claude Code on Claude Platform on AWS Claude Code CLI · in the page claude-platform-on-aws …IDs as the direct Claude API. The default aliases `fable`, `opus`, `sonnet`, and `haiku` resolve to Claude Code's built-in defaults for Claude Platform on AWS, which can lag the newest release. With… CLI reference Claude Code CLI · in the page cli-reference …en/advisor) for this session with a model alias, `fable`, `opus`, or `sonnet`, or a full model ID. Takes precedence over the `advisorModel` setting for the session. `fable` requires [Fable access](/do… Commands Claude Code CLI · in the page commands …for guidance at key moments during a task. Accepts `fable`, `opus`, `sonnet`, or a full model ID. `fable` requires [Fable access](/docs/en/advisor#choose-an-advisor-model). Without an argument, opens… Communications kit Claude Code CLI · in the page communications-kit …n the same models as the Claude app, and you can switch mid-session. *Sonnet* is the workhorse default for everyday feature work, bugs, tests, and reviews. Reach for *Opus* on large refactors, gnarly… Explore the context window Claude Code CLI · in the page context-window …eed a larger window rather than a smaller conversation, Fable models, Sonnet 5 and later, Opus 4.6 and later, and Sonnet 4.6 support a 1 million token context window. See [Extended context](/docs/en/m… Manage costs effectively Claude Code CLI · in the page costs …changes: 0 lines added, 0 lines removed Usage by model: claude-sonnet-4-6: 1.2k input, 5.3k output, 940.0k cache read, 50.0k cache write ($0.55) ``` These totals reset when `/clear` starts a… Desktop application Claude Code CLI · in the page desktop …all users on the Anthropic API and requires Claude Opus 4.6 or later, Sonnet 4.6 or later, or a [Fable model](/docs/en/model-config#work-with-fable). Organization administrators can turn auto mode off… Environment variables Claude Code CLI · in the page env-vars …| | `ANTHROPIC_DEFAULT_SONNET_MODEL` | Model ID that the `sonnet` alias resolves to, and that `opusplan` uses when Plan Mode is no… Error reference Claude Code CLI · in the page errors …your weekly limit` / `You've hit your Opus limit` / `You've hit your Sonnet limit` | [Usage limits](#youve-hit-your-session-limit) | | `Usage credits required for 1M context` | [Usage limits](#usage-… Speed up responses with fast mode Claude Code CLI · in the page fast-mode …s supported on Opus 5.5, Opus 5, and Opus 4.8. It is not available on Sonnet, Haiku, or other models. Opus 4.7 doesn't support fast mode, so switching to it turns fast mode off. Fast mode for Opus 4.… Feature availability Claude Code CLI · in the page feature-availability …'}} /><sup>2</sup> On these providers, auto mode supports only Claude Sonnet 5 or later, Opus 4.7 or later, and the Fable models. See [Auto mode configuration](/docs/en/auto-mode-config). For the perm… Claude Code GitHub Actions Claude Code CLI · in the page github-actions …ce): ```yaml theme={null} claude_args: "--max-turns 5 --model claude-sonnet-5 --mcp-config /path/to/config.json" ``` Common arguments: * `--max-turns`: limit the number of conversation turns * `--m… Use Claude Code GitHub Actions with cloud providers Claude Code CLI · in the page github-actions-cloud-providers …k: "true" claude_args: '--model us.anthropic.claude-sonnet-4-6' ``` <Tip> Bedrock model IDs include a cross-region inference profile prefix such as `us.`.… Claude Code GitLab CI/CD Claude Code CLI · in the page gitlab-ci-cd …k include region-specific prefixes (for example, `us.anthropic.claude-sonnet-4-6`). Pass the desired model via your job configuration or prompt if your workflow supports it. </Note> ### Agent Platfor… Glossary Claude Code CLI · in the page glossary …r. Effort is supported on Fable models, on Opus 4.6 and later, and on Sonnet 4.6 and later. Learn more: [Adjust effort level](/docs/en/model-config#adjust-effort-level) ### Extended thinking Visibl… Claude Code on Google Cloud's Agent Platform Claude Code CLI · in the page google-vertex-ai …rm API enabled * Access to desired Claude models (for example, Claude Sonnet 4.6) * Google Cloud SDK (`gcloud`) installed and configured * Quota allocated in desired GCP region To sign in with your o… Run Claude Code programmatically Claude Code CLI · in the page headless …`, and `/rename` accept the value as an argument, for example `/model sonnet`, and `/mcp` with no argument prints a text summary of server status. These forms require Claude Code v2.1.205 or later and… Hooks reference Claude Code CLI · in the page hooks …Explore"` | Type of specialized agent to use | | `model` | string | `"sonnet"` | Optional model alias to override the default | When a foreground Agent call completes, your [PostToolUse hook](#postto… How Claude Code works Claude Code CLI · in the page how-claude-code-works …odels](/docs/en/model-config) are available with different tradeoffs. Sonnet handles most coding tasks well. Opus provides stronger reasoning for complex architectural decisions. Switch with `/model`… Interactive mode Claude Code CLI · in the page interactive-mode …Enable or disable extended thinking mode. Has no effect on Opus 5.5, Sonnet 5.5, or the Fable models, which always use extended thinking. Works on macOS without configuring Option as Meta | | `Option… Connect Claude Code to an LLM gateway Claude Code CLI · in the page llm-gateway-connect …-H "content-type: application/json" \ -d '{"model": "claude-sonnet-4-6", "max_tokens": 1, "messages": [{"role": "user", "content": "."}]}' ``` </Tab> <Tab title="PowerShell"> ``… Claude Code gateway compatibility guide Claude Code CLI · in the page llm-gateway-protocol …-usage) unless `ANTHROPIC_DEFAULT_HAIKU_MODEL` pins one | The default Sonnet model, or the main model once one is selected, as the [Amazon Bedrock](/docs/en/amazon-bedrock#4-pin-model-versions) and [A… Roll out an LLM gateway for your organization Claude Code CLI · in the page llm-gateway-rollout …to an upstream model. Claude Code sends a model name such as `claude-sonnet-4-6` in each request; in most gateway products the mapping is a model list or routing table in the gateway's own configurat… Connect Claude Code to tools via MCP Claude Code CLI · in the page mcp …search requires a model that supports `tool_reference` blocks: Claude Sonnet 4.5, Claude Haiku 4.5, Claude Opus 4.5, and later models. See [model compatibility in the API docs](https://platform.claude… Claude Code on Microsoft Foundry Claude Code CLI · in the page microsoft-foundry …names as the model variables in step 4: * Claude Opus * Claude Sonnet * Claude Haiku When you configure a deployment, you also choose its [hosting option](https://platform.claude.com/doc… Model configuration Claude Code CLI · in the page model-config …e-alias-resolution) for your hardest and longest-running tasks | | **`sonnet`** | Uses the latest Sonnet model for daily coding tasks | | **`opus`** | Uses the latest Opus model for complex reasoning… Monitoring Claude Code CLI · in the page monitoring-usage …l identifier for the model that made the change (for example, "claude-sonnet-5") #### Pull request counter Incremented when Claude Code creates a pull request or merge request through a shell comman… Choose a permission mode Claude Code CLI · in the page permission-modes …m on AWS](/docs/en/claude-platform-on-aws), Claude Opus 4.6 or later, Sonnet 4.6 or later, or a [Fable model](/docs/en/model-config#work-with-fable). On Amazon Bedrock, Google Cloud's Agent Platform,…
Feedback