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

68 pages for --model.

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

bash-tool Claude Developer Platform · in the page agents-and-tools/tool-use/bash-tool …} ] }' ``` ```bash CLI ant messages create \ --model claude-opus-5-5 \ --max-tokens 1024 \ --tool '{type: bash_20250124, name: bash}' \ --message '{role: user, con… 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-5 \ --max-tokens 4096 \ --message '{ role: user, content: "Use the code execution tool t… overview Claude Developer Platform · in the page agents-and-tools/tool-use/overview …ars rover?"}] }' ``` ```bash CLI ant messages create \ --model claude-opus-5-5 \ --max-tokens 1024 \ --tool '{type: web_search_20260209, name: web_search}' \ --message '{rol… 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-5 \ --max-tokens 1024 \ --tool '{type: text_editor_20250728, name: str_replace_based_edit_tool, max_… 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-5-5 \ --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-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-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-5 --max-tokens 1024 <<'YAML' messages: - role: user content: - type: document… 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-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello!"}' ``` ```python Python impo… claude-on-vertex-ai Claude Developer Platform · in the page build-with-claude/claude-on-vertex-ai …}' ``` ```bash CLI ant messages create \ --model claude-opus-5-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ```… 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-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello!"}' ``` ```python Python fr… effort Claude Developer Platform · in the page build-with-claude/effort …dium" } }' ``` ```bash CLI ant messages create \ --model claude-opus-5-5 \ --max-tokens 4096 \ --output-config '{effort: medium}' \ --message '{role: user, content: "A… files Claude Developer Platform · in the page build-with-claude/files …ines the file contents directly into the field. ant messages create --model claude-opus-5-5 --max-tokens 1024 <<'YAML' messages: - role: user content: - type: text text… handling-stop-reasons Claude Developer Platform · in the page build-with-claude/handling-stop-reasons …": "Hello!"}] }' ``` ```bash CLI ant messages create \ --model claude-opus-5-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello!"}' ``` ```python Python clie… multilingual-support Claude Developer Platform · in the page build-with-claude/multilingual-support …rd?"} ] }' ``` ```bash CLI ant messages create \ --model claude-opus-5-5 \ --max-tokens 1024 \ --system "Always respond in French, regardless of the language the user writ… pdf-support Claude Developer Platform · in the page build-with-claude/pdf-support …01" \ -d @request.json ``` ```bash CLI ant messages create --model claude-opus-5-5 --max-tokens 1024 <<'YAML' messages: - role: user content: - type: document… 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-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 …laude"}] }' ``` ```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 …lude="shell:cURL"> ```bash CLI ant messages create --stream \ --model claude-opus-5-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello"}' ``` ```python Python clien… thinking Claude Developer Platform · in the page build-with-claude/thinking …} ] }' ``` ```bash CLI ant messages create \ --model claude-opus-5-5 \ --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-5 \ --system "You are a scientist" \ --message '{role: user, content: "Hello, Claude"}' ``` ```… 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-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-5 \ --max-tokens 1024 \ --message '{"role": "user", "content": "Hello, Claude"}' ``` ```python… 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-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ``` ## Check authentication… 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-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ``` ```text Output wrap {… 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-5 --max-tokens 1024 ... ant beta:agents retrieve --agent-id agent_01... ant beta:sessions:events list --sess… get-started Claude Developer Platform · in the page get-started …erminal: ```bash CLI ant messages create \ --model claude-opus-5-5 \ --max-tokens 1000 \ --message '{ role: user, content: "What… home Claude Developer Platform · in the page home …}] }' ``` ```bash CLI ant messages create \ --model claude-opus-5-5 \ --max-tokens 1024 \ --message '{ role: user, content: "Hello, Claude"… authentication Claude Developer Platform · in the page manage-claude/authentication …ges create \ --workspace-id wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ \ --model claude-opus-5-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-5 \ --max-tokens 1024 \ --inference-geo us \ --message '{role: user, content: "Summarize the key… rate-limits-api Claude Developer Platform · in the page manage-claude/rate-limits-api …2023-06-01" ``` ```bash CLI ant organization:rate-limits list --model claude-opus-5-5 ``` ```python Python client = anthropic.Anthropic() rate_limits = client.organization.rate_limit… user-profiles Claude Developer Platform · in the page manage-claude/user-profiles …ude"} ] }' ``` ```bash CLI ant messages create \ --model claude-opus-5-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' \ --user-profile-id "… 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-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello from AWS"}' ``` ```php PHP us… 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-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello from Azure"}' ``` ```python Pyt… 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-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello from Cloud Run"}' ``` ```php PH… 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-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ``` ```php PHP use… 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-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ``` ```php PHP use… 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-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ``` ```php PHP use… 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-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ```… workload-identity-federation Claude Developer Platform · in the page manage-claude/workload-identity-federation …export ANTHROPIC_WORKSPACE_ID=wrkspc_... ant messages create \ --model claude-opus-5-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ``` ```python Python… workspaces Claude Developer Platform · in the page manage-claude/workspaces …orkspace-Id # header, to stderr ant --debug messages create \ --model claude-opus-5-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ``` ```python Python… migration-guide Claude Developer Platform · in the page models/opus-5-5/migration-guide …dium" } }' ``` ```bash CLI ant messages create \ --model claude-opus-5-5 \ --max-tokens 4096 \ --output-config '{effort: medium}' \ --message '{role: user, content: "A… migration-guide Claude Developer Platform · in the page models/sonnet-5-5/migration-guide …dium" } }' ``` ```bash CLI ant messages create \ --model claude-sonnet-5-5 \ --max-tokens 4096 \ --output-config '{effort: medium}' \ --message '{role: user, content:… reduce-latency Claude Developer Platform · in the page test-and-evaluate/strengthen-guardrails/reduce-latency …tions, use Claude Haiku 5.5 at low effort ant messages create \ --model claude-haiku-5-5 \ --max-tokens 1024 \ --output-config '{effort: low}' \ --message '{"role": "user", "content"… Manage multiple agents with agent view Claude Code CLI · in the page agent-view …erent model. To override it for one session: * From the shell, pass `--model` with `claude --bg`. * Attach to a running session and run `/model` to switch. A pick from the picker, or a typed `/model… 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 apps gateway configuration Claude Code CLI · in the page claude-apps-gateway-config …ites used](/docs/en/prompt-caching.md#choose-the-ttl-yourself). Pass `--model` to repeat the check for each model the gateway serves. One-hour cache writes [cost more](/docs/en/prompt-caching.md#cach… Deploy Claude apps gateway on AWS Claude Code CLI · in the page claude-apps-gateway-on-aws …rue} ``` Tell developers in a pinned team to start Claude Code with `--model platform-claude-opus-4-8`, using their team's id, because a session started without it runs the default model, which the g… 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)…
Feedback