Search the documentation
50 pages for /context.
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.
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#context-editing-and-prompt-caching) pass invalidates the prefix from the point it clears and the next request pay…
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 to know, including: *…
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…
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 as the example. The SDKs take beta names in the `betas` parameter and send the `anthropic-beta` header for…
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 and Sonnet 4 (deprecated), have a 200k-token contex…
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) on Agent Platform. Other Claude models, including Sonnet 4.5 and Sonnet 4 (deprecated), have a 200k-token contex…
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…
compaction
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…
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.…
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), enabling the model to track its remaining context window (that is, its "token budget") throug…
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…
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", max_tok…
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>…
introducing-claude-fable-5-and-claude-mythos-5
Claude Developer Platform · in the page
models/fable-5/introducing-claude-fable-5-and-claude-mythos-5
…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…
Or, for the model with the same capabilities and no access approval requirement:
Claude Developer Platform · in the page
models/fable-5/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/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…
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…
Opus migration
Claude Developer Platform · in the page
models/opus-5/migration-guide
…context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) (the default, with no beta header), [128k max output tokens](https://platform.claude.com/docs/en/models/overview…
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…
whats-new-opus-5
Claude Developer Platform · in the page
models/opus-5/whats-new-opus-5
…context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) (1M tokens is both the default and the maximum; there is no smaller context variant), 128k max output tokens, an…
Models overview
Claude Developer Platform · in the page
models/overview
…[Context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) | 1M tokens | 1M tokens…
overview
Claude Developer Platform · in the page
models/sonnet-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/sonnet-4-6/overview
…[Context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) | 1M tokens | | Max output…
Sonnet migration
Claude Developer Platform · in the page
models/sonnet-5/migration-guide
…context window](https://platform.claude.com/docs/en/build-with-claude/context-windows), [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/thinking), [prompt caching](https://p…
overview
Claude Developer Platform · in the page
models/sonnet-5/overview
…[Context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) | 1M tokens | | Max output…
whats-new-sonnet-5
Claude Developer Platform · in the page
models/sonnet-5/whats-new-sonnet-5
…context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) by default (1M tokens is both the default and the maximum; there is no smaller context variant), 128k max output…
overview
Claude Developer Platform · in the page
release-notes/overview
…context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) (both the default and the maximum), 128k max output tokens, and [thinking](https://platform.claude.com/docs/en/b…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…n's context window usage by category, skill, and tool. The same data `/context` shows in an interactive session…
Claude Code on Amazon Bedrock
Claude Code CLI · in the page
amazon-bedrock
…context window](https://platform.claude.com/docs/en/build-with-claude/context-windows#context-window-sizes-by-model) on Amazon Bedrock. Sonnet 5 always runs with the 1M window on both the Invoke API…
Best practices for Claude Code
Claude Code CLI · in the page
best-practices
…sion fills up in practice, [watch an interactive walkthrough](/docs/en/context-window) of what loads at startup and what each file read costs. Track context usage continuously with a [custom status li…
Claude Code changelog
Claude Code CLI · in the page
changelog
…ewlines in terminals that encode pasted newlines as Ctrl+J * Fixed `/context` reporting stale pre-compact token usage after compacting from the message picker * Fixed `/ultrareview` failing on des…