Source Intelligence
Sweep 28 Aug 2026 ยท 16:06Z Build v2.1.251 479 read Stable v2.1.236 Latest v2.1.250 Next v2.1.251 Feeds RSS JSON llms.txt

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

Search the documentation

50 pages for --model.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it. Cut at 50, so a narrower query shows the rest.

optimizing-for-cost-and-intelligence Claude Developer Platform · in the page about-claude/models/optimizing-for-cost-and-intelligence …e Opus 5 OUTPUT_PER_MTOK=25.00 USAGE=$(ant messages create \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' \ --transform usage)… bash-tool Claude Developer Platform · in the page agents-and-tools/tool-use/bash-tool …} ] }' ``` ```bash CLI ant messages create \ --model claude-opus-5 \ --max-tokens 1024 \ --tool '{type: bash_20250124, name: bash}' \ --message '{role: user, conte… code-execution-tool Claude Developer Platform · in the page agents-and-tools/tool-use/code-execution-tool …} ] }' ``` ```bash CLI ant messages create \ --model claude-opus-5 \ --max-tokens 4096 \ --message '{ role: user, content: "Use the code execution tool to… overview Claude Developer Platform · in the page agents-and-tools/tool-use/overview …ash CLI ant messages create --transform content --format yaml \ --model claude-opus-5 \ --max-tokens 1024 \ --tool '{type: web_search_20260209, name: web_search}' \ --message '{role:… text-editor-tool Claude Developer Platform · in the page agents-and-tools/tool-use/text-editor-tool …} ] }' ``` ```bash CLI ant messages create \ --model claude-opus-5 \ --max-tokens 1024 \ --tool '{type: text_editor_20250728, name: str_replace_based_edit_tool, max_ch… web-fetch-tool Claude Developer Platform · in the page agents-and-tools/tool-use/web-fetch-tool …": 5 }] }' ``` ```bash CLI ant messages create \ --model claude-opus-4-8 \ --max-tokens 1024 \ --message '{role: user, content: "Please analyze the content at https://exam… web-search-tool Claude Developer Platform · in the page agents-and-tools/tool-use/web-search-tool …": 5 }] }' ``` ```bash CLI ant messages create \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: What is the weather in NYC?}' \ --tool '{… beta-headers Claude Developer Platform · in the page api/beta-headers …beta:messages create \ --beta context-management-2025-06-27 \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ``` ```python Python… errors Claude Developer Platform · in the page api/errors …s printed to stderr with --debug: ant --debug messages create \ --model claude-sonnet-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ``` ```python Python… citations Claude Developer Platform · in the page build-with-claude/citations …] } ] }' ``` ```bash CLI ant messages create --model claude-opus-5 --max-tokens 1024 <<'YAML' messages: - role: user content: - type: document so… claude-in-microsoft-foundry Claude Developer Platform · in the page build-with-claude/claude-in-microsoft-foundry …se-url https://example-resource.services.ai.azure.com/anthropic \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello!"}' \ --transform content ```… claude-platform-on-aws Claude Developer Platform · in the page build-with-claude/claude-platform-on-aws …st-2.api.aws \ --workspace-id "$ANTHROPIC_AWS_WORKSPACE_ID" \ --model claude-sonnet-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello!"}' \ --transform content ```… effort Claude Developer Platform · in the page build-with-claude/effort …dium" } }' ``` ```bash CLI ant messages create \ --model claude-opus-5 \ --max-tokens 4096 \ --output-config '{effort: medium}' \ --message '{role: user, content: "Ana… fallback-credit Claude Developer Platform · in the page build-with-claude/fallback-credit …request (may be refused) response=$(ant beta:messages create \ --model claude-fable-5 \ --max-tokens 1024 \ --message '{"role":"user","content":"Hello, Claude"}' \ --beta fallback-c… files Claude Developer Platform · in the page build-with-claude/files …he file contents directly into the field. ant messages create \ --model claude-opus-5 \ --max-tokens 1024 \ --transform 'content.#(type=="text").text' \ --raw-output <<'YAML' messa… handling-stop-reasons Claude Developer Platform · in the page build-with-claude/handling-stop-reasons …| .text) else . end' ``` ```bash CLI ant messages create \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello!"}' \ --format json | jq 'if .stop… multilingual-support Claude Developer Platform · in the page build-with-claude/multilingual-support …rd?"} ] }' ``` ```bash CLI ant messages create \ --model claude-opus-5 \ --max-tokens 1024 \ --system "Always respond in French, regardless of the language the user writes… pdf-support Claude Developer Platform · in the page build-with-claude/pdf-support …-d @request.json ``` ```bash CLI ant messages create \ --model claude-opus-5 \ --max-tokens 1024 \ --transform content \ --format yaml <<'YAML' messages: - role: user… claude-prompting-best-practices Claude Developer Platform · in the page build-with-claude/prompt-engineering/claude-prompting-best-practices …ey?"} ] }' ``` ```bash CLI ant messages create \ --model claude-opus-5 \ --max-tokens 1024 \ --system "You are a helpful coding assistant specializing in Python." \ --… refusals-and-fallback Claude Developer Platform · in the page build-with-claude/refusals-and-fallback …jq -r '.model' ``` ```bash CLI ant beta:messages create \ --model claude-fable-5 \ --max-tokens 1024 \ --message '{"role":"user","content":"Hello, Claude"}' \ --fallbacks defau… streaming Claude Developer Platform · in the page build-with-claude/streaming …up> ```bash CLI ant messages create --stream --format jsonl \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello"}' \ | jq -rj 'select(.delta.type?… thinking Claude Developer Platform · in the page build-with-claude/thinking …} ] }' ``` ```bash CLI ant messages create \ --model claude-opus-4-8 \ --max-tokens 16000 \ --thinking '{type: adaptive, display: summarized}' \ --message '{role:… token-counting Claude Developer Platform · in the page build-with-claude/token-counting …}] }' ``` ```bash CLI ant messages count-tokens \ --model claude-opus-5 \ --system "You are a scientist" \ --message '{role: user, content: "Hello, Claude"}' ``` ```py… working-with-messages Claude Developer Platform · in the page build-with-claude/working-with-messages …ude"} ] }' ``` ```bash CLI ant messages create \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ``` ```python Python… API usage primer for Claude Claude Developer Platform · in the page claude_api_primer …harp, go, java, php, ruby"> ```bash CLI ant messages create \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{"role": "user", "content": "Hello, Claude"}' ``` ```python Py… On a remote host without a browser: Claude Developer Platform · in the page cli-sdks-libraries/cli/authentication …```bash CLI ant messages create \ --workspace-id wrkspc_01... \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ``` ## Check authentication st… quickstart Claude Developer Platform · in the page cli-sdks-libraries/cli/quickstart …om/docs/en/api/cli/messages/create): ```bash ant messages create \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ``` ```text Output wrap { "m… using Claude Developer Platform · in the page cli-sdks-libraries/cli/using …fferent schema version). ```bash ant models list ant messages create --model claude-opus-5 --max-tokens 1024 ... ant beta:agents retrieve --agent-id agent_01... ant beta:sessions:events list --sessio… get-started Claude Developer Platform · in the page get-started …erminal: ```bash CLI ant messages create \ --model claude-opus-5 \ --max-tokens 1000 \ --message '{ role: user, content: "What sh… authentication Claude Developer Platform · in the page manage-claude/authentication …ges create \ --workspace-id wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ``` ```python Python… data-residency Claude Developer Platform · in the page manage-claude/data-residency …nt." }] }' ``` ```bash CLI ant messages create \ --model claude-opus-5 \ --max-tokens 1024 \ --inference-geo us \ --message '{role: user, content: "Summarize the key p… rate-limits-api Claude Developer Platform · in the page manage-claude/rate-limits-api …-06-01" ``` ```bash CLI ant beta:organization:rate-limits list --model claude-opus-5 ``` ```python Python client = anthropic.Anthropic() rate_limits = client.beta.organization.rate_li… aws Claude Developer Platform · in the page manage-claude/wif-providers/aws …ORKSPACE_ID are read from the environment ant messages create \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello from AWS"}' ``` ```php PHP use… Create the app registration that represents the Claude API audience. Claude Developer Platform · in the page manage-claude/wif-providers/azure …RKSPACE_ID are read from the environment. ant messages create \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello from Azure"}' ``` </CodeGroup> ###… gcp Claude Developer Platform · in the page manage-claude/wif-providers/gcp …RKSPACE_ID are read from the environment. ant messages create \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello from Cloud Run"}' ``` ```php PHP… github-actions Claude Developer Platform · in the page manage-claude/wif-providers/github-actions …_TOKEN_FILE # from the job environment. ant messages create \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ``` ```php PHP use A… kubernetes Claude Developer Platform · in the page manage-claude/wif-providers/kubernetes …ACE_ID, and ANTHROPIC_IDENTITY_TOKEN_FILE ant messages create \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ``` ```php PHP use A… okta Claude Developer Platform · in the page manage-claude/wif-providers/okta …ITY_TOKEN_FILE and performs the exchange. ant messages create \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ``` ```php PHP use A… Replace NODE_UID with the node's UID: Claude Developer Platform · in the page manage-claude/wif-providers/spiffe …T_ID, and ANTHROPIC_WORKSPACE_ID. ant messages create \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ``` ``… workspaces Claude Developer Platform · in the page manage-claude/workspaces …ull hides the JSON body on stdout ant --debug messages create \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' > /dev/null ``` ```pyt… reduce-latency Claude Developer Platform · in the page test-and-evaluate/strengthen-guardrails/reduce-latency …sitive applications, use Claude Haiku 4.5 ant messages create \ --model claude-haiku-4-5 \ --max-tokens 100 \ --message '{"role": "user", "content": "Summarize this customer feedback in… Manage multiple agents with agent view Claude Code CLI · in the page agent-view …override the dispatch default for the whole agent view session, pass `--model` when opening agent view. See [Permission mode, model, and effort](#permission-mode-model-and-effort). To change the disp… Claude Code on Amazon Bedrock Claude Code CLI · in the page amazon-bedrock …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… Claude Code changelog Claude Code CLI · in the page changelog …les * Added org-configured model restrictions to the model picker, `--model`, `/model`, and `ANTHROPIC_MODEL`, with a "restricted by your organization's settings" message when a restricted model is… 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 …---------------------------------------------------------------- | | `--model sonnet` | Model dropdown next to the send button… 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`. When a variable interacts… 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-4-8 --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 …use_bedrock: "true" claude_args: '--model us.anthropic.claude-sonnet-4-6' ``` <Tip> Bedrock model IDs include a cross-region inference pr…