101 pages for /context.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
context-editing
Claude Developer Platform · path
build-with-claude/context-editing
context-windows
Claude Developer Platform · path
build-with-claude/context-windows
glossary
Claude Developer Platform · in the page
about-claude/glossary
…context windows](https://platform.claude.com/docs/en/build-with-claude/context-windows) to learn more. ## Fine-tuning Fine-tuning is the process of further training a pretrained language model using…
Or, for the model with the same capabilities and no access approval requirement:
Claude Developer Platform · in the page
about-claude/models/migration-guide
…context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) by default, and up to 128k output tokens per request. * **Pricing:** $10 USD per million input tokens and $50 US…
optimizing-for-cost-and-intelligence
Claude Developer Platform · in the page
about-claude/models/optimizing-for-cost-and-intelligence
…Context editing](https://platform.claude.com/docs/en/build-with-claude/context-editing) clears stale tool results, and [automatic compaction](https://platform.claude.com/docs/en/build-with-claude/comp…
pricing
Claude Developer Platform · in the page
about-claude/pricing
…context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) at standard pricing. (A 900k-token request is billed at the same per-token rate as a 9k-token request.) Prompt c…
PDF Processing
Claude Developer Platform · in the page
agents-and-tools/agent-skills/best-practices
…[context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) is a public good. Your Skill shares the context window with everything else Claude needs, including: * The syst…
advisor-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/advisor-tool
…clear_thinking`](https://platform.claude.com/docs/en/build-with-claude/context-editing) with a `keep` value other than `"all"` shifts the advisor's quoted transcript each turn, causing advisor-side ca…
computer-use-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/computer-use-tool
…result clearing](https://platform.claude.com/docs/en/build-with-claude/context-editing#tool-result-clearing) to drop old ones from the context. If you must prune, keep [`prefix_mismatch_behavior: "dro…
fine-grained-tool-streaming
Claude Developer Platform · in the page
agents-and-tools/tool-use/fine-grained-tool-streaming
…on="stack" href="https://platform.claude.com/docs/en/build-with-claude/context-windows"> Understand how the context window works, how extended thinking and tool use count toward it, and how to man…
manage-tool-context
Claude Developer Platform · in the page
agents-and-tools/tool-use/manage-tool-context
…Context editing](https://platform.claude.com/docs/en/build-with-claude/context-editing) | ### Tool search Tool search keeps tool definitions out of the context wind…
memory-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/memory-tool
…Context editing](https://platform.claude.com/docs/en/build-with-claude/context-editing). ## Using with compaction The memory tool can also be paired with [compaction](https://platform.claude.com/doc…
Log at info level
Claude Developer Platform · in the page
agents-and-tools/tool-use/tool-runner
…tic [compaction](https://platform.claude.com/docs/en/build-with-claude/context-editing#client-side-compaction-sdk), which generates summaries when token usage exceeds a threshold so the conversation c…
beta-headers
Claude Developer Platform · in the page
api/beta-headers
…context editing](https://platform.claude.com/docs/en/build-with-claude/context-editing) beta. The SDK takes beta names through `betas` (csharp, go: `Betas`; java: `.addBeta()`) and sends the `anthropi…
claude-in-microsoft-foundry
Claude Developer Platform · in the page
build-with-claude/claude-in-microsoft-foundry
…context window](https://platform.claude.com/docs/en/build-with-claude/context-windows), while managing costs through your Azure subscription. Claude is available in Global Standard and US Data Zone…
claude-on-amazon-bedrock-legacy
Claude Developer Platform · in the page
build-with-claude/claude-on-amazon-bedrock-legacy
…context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) on Amazon Bedrock. Other Claude models, including Sonnet 4.5 (deprecated) and Sonnet 4 (deprecated), have a 200k…
claude-on-vertex-ai
Claude Developer Platform · in the page
build-with-claude/claude-on-vertex-ai
…context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) for these models: * Claude Fable 5.1 * Claude Fable 5 * Claude Opus 5.5 * Claude Opus 5 * Claude Opus 4.8 * Cla…
claude-platform-on-aws
Claude Developer Platform · in the page
build-with-claude/claude-platform-on-aws
…Context windows](https://platform.claude.com/docs/en/build-with-claude/context-windows) for per-model limits. ## Feature support Claude Platform on AWS uses Claude API endpoints directly, which mean…
sent_count = len(messages sent in the compaction request)
Claude Developer Platform · in the page
build-with-claude/compaction
…con="edit" href="https://platform.claude.com/docs/en/build-with-claude/context-editing"> Automatically manage conversation context as it grows with context editing. </Card> <Card title="Conte…
compaction-on-demand
Claude Developer Platform · in the page
build-with-claude/compaction-on-demand
…[context window](https://platform.claude.com/docs/en/build-with-claude/context-windows). ## Write your own summarization prompt Without `instructions`, the API uses its own summarization prompt. A n…
compaction-threshold
Claude Developer Platform · in the page
build-with-claude/compaction-threshold
…con="edit" href="https://platform.claude.com/docs/en/build-with-claude/context-editing"> Automatically manage conversation context as it grows with context editing. </Card> <Card title="Conte…
overview
Claude Developer Platform · in the page
build-with-claude/overview
…Context windows](https://platform.claude.com/docs/en/build-with-claude/context-windows) | Up to 1M tokens for processing large documents, extensive code bases, and long conversations.…
preserved-thinking
Claude Developer Platform · in the page
build-with-claude/preserved-thinking
…Context editing](https://platform.claude.com/docs/en/build-with-claude/context-editing) clears old tool results or old thinking blocks by rule, oldest first. The strategies are `clear_tool_uses_202509…
claude-prompting-best-practices
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/claude-prompting-best-practices
…ntext awareness](https://platform.claude.com/docs/en/build-with-claude/context-windows#context-awareness), which lets the model track its remaining context window (that is, its "token budget") through…
Delivering work
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-fable-5-1
…context editing](https://platform.claude.com/docs/en/build-with-claude/context-editing) do any trimming. If you compact on the client, the simplest shape is to replace the whole history with one summa…
prompting-claude-opus-5
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-opus-5
…context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) as both the default and the maximum, and its instruction following, tool calling, and reasoning stay consistent…
thinking
Claude Developer Platform · in the page
build-with-claude/thinking
…diting strategy](https://platform.claude.com/docs/en/build-with-claude/context-editing#thinking-block-clearing). Within the latest assistant message, the sequence of consecutive `thinking` blocks mus…
thinking-troubleshooting
Claude Developer Platform · in the page
build-with-claude/thinking-troubleshooting
…context editing](https://platform.claude.com/docs/en/build-with-claude/context-editing) never trigger it. To fix it, keep the history append-only: pass earlier turns back exactly as sent and received…
token-counting
Claude Developer Platform · in the page
build-with-claude/token-counting
…-maximize" href="https://platform.claude.com/docs/en/build-with-claude/context-windows"> Use token counts to keep prompts within a model's context window. </Card> <Card title="Rate limits" ic…
java
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/java
…context editing](https://platform.claude.com/docs/en/build-with-claude/context-editing): ```java import com.anthropic.models.beta.AnthropicBeta; import com.anthropic.models.beta.messages.BetaMessage;…
For Amazon Bedrock support
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/python
…context editing](https://platform.claude.com/docs/en/build-with-claude/context-editing): ```python client = Anthropic() response = client.beta.messages.create( model="claude-opus-5-5", max_t…
typescript
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/typescript
…context editing](https://platform.claude.com/docs/en/build-with-claude/context-editing): ```typescript const client = new Anthropic(); const response = await client.beta.messages.create({ model: "c…
api-and-data-retention
Claude Developer Platform · in the page
manage-claude/api-and-data-retention
…context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) | `/v1/messages` | <Eligible>Yes</Eligible>…
Or, for Claude Mythos 5.1, which offers the same capabilities to verified organizations:
Claude Developer Platform · in the page
models/fable-5-1/migration-guide
…context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) by default, and up to 128k output tokens per request. * **Pricing:** $10 USD per million input tokens and $50 US…
overview
Claude Developer Platform · in the page
models/fable-5-1/overview
…[Context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) | 1M tokens | | Max output…
whats-new-fable-5-1
Claude Developer Platform · in the page
models/fable-5-1/whats-new-fable-5-1
…context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) (default and maximum) at standard per-token pricing across the whole window, and 128k max output tokens. * **Thi…
overview
Claude Developer Platform · in the page
models/fable-5/overview
…[Context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) | 1M tokens | | Max output…
overview
Claude Developer Platform · in the page
models/haiku-4-5/overview
…[Context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) | 200K tokens | | Max output…
migration-guide
Claude Developer Platform · in the page
models/haiku-5-5/migration-guide
…block clearing](https://platform.claude.com/docs/en/build-with-claude/context-editing#thinking-block-clearing). See [Thinking block preservation by model](https://platform.claude.com/docs/en/build-wi…
overview
Claude Developer Platform · in the page
models/haiku-5-5/overview
…[Context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) | 1M tokens | | Max output…
whats-new-haiku-5-5
Claude Developer Platform · in the page
models/haiku-5-5/whats-new-haiku-5-5
…block clearing](https://platform.claude.com/docs/en/build-with-claude/context-editing#thinking-block-clearing). | | [Shorter prompts can be cached](https://platform.cla…
overview
Claude Developer Platform · in the page
models/mythos-5-1/overview
…[Context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) | 1M tokens | | Max output…
overview
Claude Developer Platform · in the page
models/mythos-5/overview
…[Context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) | 1M tokens | | Max output…
overview
Claude Developer Platform · in the page
models/opus-4-5/overview
…[Context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) | 200K tokens | | Max output…
overview
Claude Developer Platform · in the page
models/opus-4-6/overview
…[Context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) | 1M tokens | | Max output…
overview
Claude Developer Platform · in the page
models/opus-4-7/overview
…[Context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) | 1M tokens | | Max output…
overview
Claude Developer Platform · in the page
models/opus-4-8/overview
…[Context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) | 1M tokens | | Max output…
migration-guide
Claude Developer Platform · in the page
models/opus-5-5/migration-guide
…context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) is the default, and a header sent for older models has no effect. The following request satisfies every item in…
overview
Claude Developer Platform · in the page
models/opus-5-5/overview
…[Context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) | 1M tokens | | Max output…
overview
Claude Developer Platform · in the page
models/opus-5/overview
…[Context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) | 1M tokens | | Max output…