1,171 pages for default.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
cache-diagnostics
Claude Developer Platform · in the page
build-with-claude/cache-diagnostics
…acheMissReason.Valid(): fmt.Println("Comparison still pending.") default: fmt.Printf("cache_miss_reason: %s\n", r2.Diagnostics.CacheMissReason.Type) } ``` ```java Java var client = An…
citations
Claude Developer Platform · in the page
build-with-claude/citations
…tep> </Steps> <Tip> **Automatic chunking vs custom content** By default, plain text and PDF documents are automatically chunked into sentences. If you need more control over citation granularity…
claude-in-amazon-bedrock
Claude Developer Platform · in the page
build-with-claude/claude-in-amazon-bedrock
…US West (Oregon) | Global, US, In-region only | ## Quotas Default quota is 2 million input tokens per minute (TPM). You can request up to 5 million input TPM and 500,000 output TPM without…
claude-in-microsoft-foundry
Claude Developer Platform · in the page
build-with-claude/claude-in-microsoft-foundry
…stom settings** to open the deployment settings pane. If you select **Default settings** instead, the deployment is automatically configured as Hosted on Azure for models available in both hosting opt…
anthropic-managed
Claude Developer Platform · in the page
build-with-claude/claude-models-on-google-cloud/anthropic-managed
…d), setup creates your Anthropic organization with one workspace, the Default Workspace. To create more workspaces, [open the Claude Console](https://platform.claude.com/docs/en/build-with-claude/clau…
google-managed
Claude Developer Platform · in the page
build-with-claude/claude-models-on-google-cloud/google-managed
…For the SDK examples, you might need to run `gcloud auth application-default login` to authenticate with Google Cloud. The cURL examples for Claude Models on Google Cloud (Google managed) get their t…
overview
Claude Developer Platform · in the page
build-with-claude/claude-models-on-google-cloud/overview
…** Both offerings use Google Cloud credentials, including Application Default Credentials. You grant access to each offering separately, through its own IAM roles. * [Credentials for Claude Models…
claude-on-amazon-bedrock-legacy
Claude Developer Platform · in the page
build-with-claude/claude-on-amazon-bedrock-legacy
…ng> The latest version of the SDK sends API version `2026-10-21` by default, including through Amazon Bedrock. The ARN-versioned models in the model table on this page don't support `2026-10-21` on…
claude-platform-on-aws
Claude Developer Platform · in the page
build-with-claude/claude-platform-on-aws
…a JWT it forwards to Anthropic. This STS capability is **disabled by default** on every AWS account. Enable it once for each account: ```bash CLI aws iam enable-outbound-web-identity-federation ```…
sent_count = len(messages sent in the compaction request)
Claude Developer Platform · in the page
build-with-claude/compaction
…` </CodeGroup> ## Parameters | Parameter | Type | Default | Description…
compaction-background
Claude Developer Platform · in the page
build-with-claude/compaction-background
…"Which fields should be required?", "Which fields should have default values?", ] def swap_in(history: list[BetaMessageParam], summary: BetaMessage, sent: int) -> None: if summary.…
compaction-keep-recent-turns
Claude Developer Platform · in the page
build-with-claude/compaction-keep-recent-turns
…"Which fields should be required?", "Which fields should have default values?", ] history: list[BetaMessageParam] = [] for turn, question in enumerate(QUESTIONS, start=1): history…
compaction-on-demand
Claude Developer Platform · in the page
build-with-claude/compaction-on-demand
…ges = history, Compaction = new BetaCompactionConfig(), // type defaults to "summarize" }); Console.WriteLine($"Stop reason: {response.StopReason?.Raw()}"); ``` ```go Go client := an…
compaction-thinking-blocks
Claude Developer Platform · in the page
build-with-claude/compaction-thinking-blocks
…ds the kept thinking where the API enforces the check: a 400 error by default, or dropped thinking blocks if the request sets `thinking.block_binding.prefix_mismatch_behavior` to `"drop_block"`. In th…
compaction-threshold
Claude Developer Platform · in the page
build-with-claude/compaction-threshold
…` </CodeGroup> ## Parameters | Parameter | Type | Default | Description…
context-editing
Claude Developer Platform · in the page
build-with-claude/context-editing
…lt with placeholder text indicating to Claude that it was removed. By default, only tool results are cleared. You can optionally clear both tool results and tool calls (the tool use parameters) by set…
context-windows
Claude Developer Platform · in the page
build-with-claude/context-windows
…xt window. For every model with a 1M-token context window, 1M is the default: you don't need a beta header, and long-context requests are billed at [standard pricing](https://platform.claude.com/docs…
effort
Claude Developer Platform · in the page
build-with-claude/effort
…ext end ``` </CodeGroup> ## How effort works Most Claude models default to high effort, spending as many tokens as needed for excellent results; Claude Opus 5.5 and Claude Haiku 5.5 default to m…
This will automatically use the environment variable VOYAGE_API_KEY.
Claude Developer Platform · in the page
build-with-claude/embeddings
…----------------------- | | `voyage-4-large` | 32,000 | 1024 (default), 256, 512, 2048 | The best general-purpose and multilingual retrieval quality. See the [Voyage 4 blog post](https://blog.…
extended-thinking
Claude Developer Platform · in the page
build-with-claude/extended-thinking
…thropic\Messages\TextBlock => "\nResponse: {$block->text}", default => '', }; } ``` ```ruby Ruby client = Anthropic::Client.new response = client.messages.create( model…
fallback-credit
Claude Developer Platform · in the page
build-with-claude/fallback-credit
…. <Note> On models that include the 1M token context window by default, such as Claude Fable 5.1, Claude Fable 5, Claude Opus 5.5, Claude Opus 5, Claude Opus 4.8, Claude Sonnet 5.5, and Claude…
fast-mode
Claude Developer Platform · in the page
build-with-claude/fast-mode
…er indicating when capacity will be available. Claude Opus 5.5 has a default fast mode rate limit in the Start, Build, and Scale [usage tiers](https://platform.claude.com/docs/en/api/rate-limits), so…
files
Claude Developer Platform · in the page
build-with-claude/files
…and every user whose organization role allows API access, can use the Default Workspace in addition to any workspace you add them to, so keep files that must stay separate in their own workspace and a…
handling-stop-reasons
Claude Developer Platform · in the page
build-with-claude/handling-stop-reasons
…cs/en/agents-and-tools/tool-use/server-tools) such as web search. The default limit is 10 iterations for each request. When this occurs, the response might contain a `server_tool_use` block without a…
mid-conversation-effort-example
Claude Developer Platform · in the page
build-with-claude/mid-conversation-effort-example
…ng the task itself and then fanning work out to parallel subagents by default. When it is off, the same orchestration tool goes back to per-request opt-in. The mode is not an API parameter. It is bui…
mid-conversation-system-messages
Claude Developer Platform · in the page
build-with-claude/mid-conversation-system-messages
…_toolset` object is the same one you would put in `tools`, including `default_config` and `configs`. A `tool_addition` block never holds a server URL or token. Those stay in `mcp_servers`. The follow…
overview
Claude Developer Platform · in the page
build-with-claude/overview
…llback) | Retry a refused request inside a single API call. Use the `"default"` mode to apply Anthropic's recommended fallback models, or name up to three models of your own; when the requested model…
preserved-thinking
Claude Developer Platform · in the page
build-with-claude/preserved-thinking
…check applies to every account. The API enforces the prefix check by default for accounts created on or after August 31, 2026, 00:00 UTC. On older accounts, it enforces the prefix check only on reque…
Request 2 caches its request content (not the response)
Claude Developer Platform · in the page
build-with-claude/prompt-caching
…asks with consistent instructions * Long multi-turn conversations By default, the cache has a 5-minute lifetime. The cache is refreshed for no additional cost each time the cached content is used. T…
claude-prompting-best-practices
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/claude-prompting-best-practices
…se triggering, literal instruction following, and design and frontend defaults.…
prompting-claude-fable-5
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-fable-5
…docs/en/build-with-claude/refusals-and-fallback). ## Longer turns by default Individual requests on hard tasks can run for many minutes at higher [effort](https://platform.claude.com/docs/en/build-w…
Delivering work
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-fable-5-1
…hinking-blocks). </Note> ## Consider all effort levels Start at the default [effort](https://platform.claude.com/docs/en/build-with-claude/effort) level, `high`, then test the other levels (`low`, `…
prompting-claude-haiku-5-5
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-haiku-5-5
…search, stop early, or skip a check at this level. * `medium` is the default. Start here for most work, including agentic coding. * `high` suits knowledge work, longer agent tasks, and strict instruc…
prompting-claude-opus-4-8
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-opus-4-8
…ring verbosity, effort calibration, tool use, subagents, and frontend defaults. --- This guide covers the prompting patterns specific to Claude Opus 4.8. For the API changes involved in moving from C…
prompting-claude-opus-5
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-opus-5
…fraction of the tokens and latency of higher settings. Start with the default (`high`) and adjust based on your evals: use `low` and `medium` liberally as your primary control for token cost and respo…
prompting-claude-opus-5-5
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-opus-5-5
…plex-visual-inputs) * Frontend output looks generic: [Frontend design defaults](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-opus-5-5#frontend-design-defau…
prompting-claude-sonnet-5
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-sonnet-5
…ting patterns for Claude Sonnet 5, covering effort, adaptive thinking defaults, and tool use. --- This guide covers the prompting patterns specific to Claude Sonnet 5. For the model's specifications,…
prompting-claude-sonnet-5-5
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-sonnet-5-5
…ng over the setting you used on Claude Sonnet 5. Start at `high`, the default on the Claude API, unless your workload is agentic or latency-sensitive. For agentic coding and multistep tool use, start…
refusals-and-fallback
Claude Developer Platform · in the page
build-with-claude/refusals-and-fallback
…laude-models-on-google-cloud/anthropic-managed): set `fallbacks` to `"default"`, and the API retries a declined request on the fallback model Anthropic recommends for its refusal category. For categor…
search-results
Claude Developer Platform · in the page
build-with-claude/search-results
…configuration with `enabled` Boolean field. Citations are disabled by default; every example on this page sets `"enabled": true` explicitly. All search results in a request must use the same setting (…
skills-guide
Claude Developer Platform · in the page
build-with-claude/skills-guide
…and every user whose organization role allows API access, can use the Default Workspace in addition to any workspace you add them to. For that reason, keep Skills that must stay separate in their own…
structured-outputs
Claude Developer Platform · in the page
build-with-claude/structured-outputs
….Content.Select(block => block.Parsed()).OfType<ContactInfo>().FirstOrDefault() is { } contact) { Console.WriteLine(contact); } public record ContactInfo { public stri…
task-budgets
Claude Developer Platform · in the page
build-with-claude/task-budgets
…` (optional): the budget remainder carried over from a prior request. Defaults to `total` when omitted. ## How the budget countdown works Claude receives a budget-countdown marker injected server-si…
thinking
Claude Developer Platform · in the page
build-with-claude/thinking
…returned at all: `"summarized"` returns it, whereas `"omitted"`, the default on many models, returns thinking blocks with an empty `thinking` field. Either way the block is billed the same and passed…
thinking-steering-and-cost
Claude Developer Platform · in the page
build-with-claude/thinking-steering-and-cost
…in this order: 1. Set the effort level that matches your workload's default balance of quality and latency. 2. Add prompt guidance only if Claude's triggering still doesn't match your needs at that…
thinking-tool-workflows
Claude Developer Platform · in the page
build-with-claude/thinking-tool-workflows
…, add `display: "summarized"` to the request. On models where display defaults to omitted, including Claude Opus 5.5, the `thinking` field otherwise comes back as an empty string with only the `signat…
thinking-troubleshooting
Claude Developer Platform · in the page
build-with-claude/thinking-troubleshooting
…m/docs/en/build-with-claude/thinking) overview. ## Thinking support, defaults, and rejected configurations by model Most thinking configuration errors are a mismatch between the `thinking.type` valu…
token-counting
Claude Developer Platform · in the page
build-with-claude/token-counting
…Header.Set("User-Agent", "AnthropicDocsBot/1.0") resp, err := http.DefaultClient.Do(req) if err != nil { log.Fatal(err) } defer resp.Body.Close() imageBytes, err := io.ReadAll(resp.Body…
vision-coordinates
Claude Developer Platform · in the page
build-with-claude/vision-coordinates
…: """The size Claude resizes an image to before padding. Defaults are for the standard resolution tier. For high-resolution-tier models, use max_edge=2576 and max_tokens=4784. Retur…
working-with-messages
Claude Developer Platform · in the page
build-with-claude/working-with-messages
…/api/migration-2026-10-21#sampling-parameters). Setting them to a non-default value returns a 400 error, and starting with `2026-10-21` any value does. Omit them from request payloads and use promptin…