126 pages for claude-sonnet-5.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Claude Code changelog
Claude Code CLI · in the page
changelog
…2.1.284** September 28, 2026 **Added** * Added Claude Sonnet 5.5 (`claude-sonnet-5-5`), now the default Sonnet model on the Anthropic API — 1M context, $2/$10 per Mtok with \$0.20/Mtok cache reads…
Claude Code on Claude Platform on AWS
Claude Code CLI · in the page
claude-platform-on-aws
…AULT_OPUS_MODEL=claude-opus-4-8 export ANTHROPIC_DEFAULT_SONNET_MODEL=claude-sonnet-5 export ANTHROPIC_DEFAULT_HAIKU_MODEL=claude-haiku-4-5 ``` For the full list of model IDs and aliases, see [Models…
CLI reference
Claude Code CLI · in the page
cli-reference
…| `claude --model claude-sonnet-5` | | `--name`, `-n`…
Error reference
Claude Code CLI · in the page
errors
…me={null} Model "Sonnet5" is not a recognized model id. Did you mean 'claude-sonnet-5'? ``` In this example an app sent the display name `Sonnet 5`, which the message repeats without its space. The t…
Claude Code GitHub Actions
Claude Code CLI · in the page
github-actions
…erence.md): ```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…
Use Claude Code GitHub Actions with cloud providers
Claude Code CLI · in the page
github-actions-cloud-providers
…token }} use_vertex: "true" claude_args: '--model claude-sonnet-5' env: ANTHROPIC_VERTEX_PROJECT_ID: ${{ steps.auth.outputs.project_id }} CLOUD_ML_REGIO…
Claude Code on Google Cloud's Agent Platform
Claude Code CLI · in the page
google-vertex-ai
…T_OPUS_MODEL='claude-opus-4-8' export ANTHROPIC_DEFAULT_SONNET_MODEL='claude-sonnet-5' export ANTHROPIC_DEFAULT_HAIKU_MODEL='claude-haiku-4-5@20251001' ``` For current and legacy model IDs, see [Mode…
Hooks reference
Claude Code CLI · in the page
hooks
…"/Users/...", "hook_event_name": "PreModelSwitch", "from_model": "claude-sonnet-5", "to_model": "claude-opus-5", "requested_model": "opus", "source": "command", "context_tokens": 182340,…
Claude Code gateway compatibility guide
Claude Code CLI · in the page
llm-gateway-protocol
…er shows only the alias row. For example, while `sonnet` resolves to `claude-sonnet-5-5`, a discovered `claude-sonnet-5-5` collapses into the `sonnet` row, and a discovered `claude-sonnet-5` still get…
Claude Code on Microsoft Foundry
Claude Code CLI · in the page
microsoft-foundry
…T_OPUS_MODEL='claude-opus-4-8' export ANTHROPIC_DEFAULT_SONNET_MODEL='claude-sonnet-5' export ANTHROPIC_DEFAULT_HAIKU_MODEL='claude-haiku-4-5' ``` Background tasks such as session title generation us…
Model configuration
Claude Code CLI · in the page
model-config
…ettings.md) as an array: ```json theme={null} { "fallbackModel": ["claude-sonnet-5", "claude-haiku-4-5"] } ``` The `--fallback-model` flag takes precedence over the `fallbackModel` setting. Each e…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…`: Model 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…
Test plugins with evals
Claude Code CLI · in the page
plugin-evals
…-trust-plugin \ --json results.json \ --threshold 0.8 \ --model claude-sonnet-5 \ --judge-model claude-haiku-4-5 \ --no-publish \ --max-cost-usd 20 ``` The job's exit code tells you what…
How Claude Code uses prompt caching
Claude Code CLI · in the page
prompt-caching
…your main model, that model keeps caching. For example, a session on `claude-sonnet-5` keeps caching while `sonnet` resolves to `claude-sonnet-5-5`. To disable caching for that model, set `DISABLE_PRO…
Claude Code settings
Claude Code CLI · in the page
settings
…| `["claude-sonnet-5", "claude-haiku-4-5"]` | | `…
Example settings files
Claude Code CLI · in the page
settings-example
…n't want. ```json ~/.claude/settings.json theme={null} { "model": "claude-sonnet-5", "modelSettings": { "claude-sonnet-5": { "effortLevel": "xhigh" } }, "editorMode": "vim", "theme": "l…
All settings
Claude Code CLI · in the page
settings-reference
…-settings.json theme={null} { "availableModels": ["claude-opus-5", "claude-sonnet-5"], "availableModelsMatch": "exact" } ``` With `"exact"`, the Default option is also limited to the listed model…
Create custom subagents
Claude Code CLI · in the page
sub-agents
…**Full model ID**: use a full model ID such as `claude-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 C…
Week 27 · June 29 – July 3, 2026
Claude Code CLI · in the page
whats-new/2026-w27
…it from the model picker: ```text Claude Code theme={null} > /model claude-sonnet-5 ``` [Model configuration](/docs/en/model-config.md#available-models) Claude in Chrome is generally available v2.…
Monitoring
Claude Documentation · in the page
cowork/monitoring
…for ordering events within a session | | `model` | Model used (e.g., `claude-sonnet-5`) | | `cost_usd` | Estimated cost in USD | | `duration_ms` | Request duration in milliseconds | | `input_tokens` |…
Deploy Claude Desktop on 3P with Amazon Bedrock
Claude Documentation · in the page
third-party/claude-desktop/bedrock
…rt":53180}</string> <key>inferenceModels</key> <string>["us.anthropic.claude-sonnet-5"]</string> ``` [`inferenceIdpOidc`](/docs/third-party/claude-desktop/configuration#inferenceidpoidc) takes the sa…
Deploy with a bootstrap server
Claude Documentation · in the page
third-party/claude-desktop/bootstrap
…arer", }; const PROFILES = { default: { ...BASE, inferenceModels: ["claude-sonnet-5"] }, power: { ...BASE, inferenceModels: ["claude-opus-5", "claude-sonnet-5"], coworkEgressAllowedHos…
Configuration reference
Claude Documentation · in the page
third-party/claude-desktop/configuration
…l** > > Use the **provider's exact model ID**: Vertex publisher IDs (`claude-sonnet-5`), Bedrock inference-profile IDs (`us.anthropic.claude-sonnet-5`), or Foundry deployment names. Entries may be pla…
Configuration implementation
Claude Documentation · in the page
third-party/claude-desktop/configuration-format
…0.85"` | | string\[] (JSON) | JSON array **encoded as a string** | `["claude-sonnet-5","claude-opus-5"]` | | enum\[] (JSON) | JSON array of values the key's entry lists, **encoded as a string** | `["u…
Models and effort levels
Claude Documentation · in the page
third-party/claude-desktop/models
…with the exact model ID your provider expects, such as `us.anthropic.claude-sonnet-5` on Amazon Bedrock or `claude-sonnet-5` on Google Cloud's Agent Platform. The first entry is the default model. Ne…
Deploy Claude Desktop on 3P with Google Cloud's Agent Platform
Claude Documentation · in the page
third-party/claude-desktop/vertex
…t one **Model list** entry using the publisher model ID, for example `claude-sonnet-5`. Then click **Export** to produce a `.mobileconfig` (macOS) or `.reg` (Windows) file for your MDM. See [Deploy w…