441 pages for caching.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Delete User Profile
Claude Developer Platform · in the page
api/beta/user_profiles/delete
…use. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"` - `"pdfs-2024-09-25"` - `"token-count…
List User Profiles
Claude Developer Platform · in the page
api/beta/user_profiles/list
…use. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"` - `"pdfs-2024-09-25"` - `"token-count…
Get User Profile
Claude Developer Platform · in the page
api/beta/user_profiles/retrieve
…use. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"` - `"pdfs-2024-09-25"` - `"token-count…
Update User Profile
Claude Developer Platform · in the page
api/beta/user_profiles/update
…use. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"` - `"pdfs-2024-09-25"` - `"token-count…
Vaults
Claude Developer Platform · in the page
api/beta/vaults
…ader. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"` - `"pdfs-2024-09-25"` - `"token-count…
Archive a Vault
Claude Developer Platform · in the page
api/beta/vaults/archive
…ader. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"` - `"pdfs-2024-09-25"` - `"token-count…
Create a Vault
Claude Developer Platform · in the page
api/beta/vaults/create
…ader. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"` - `"pdfs-2024-09-25"` - `"token-count…
Credentials
Claude Developer Platform · in the page
api/beta/vaults/credentials
…ader. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"` - `"pdfs-2024-09-25"` - `"token-count…
Archive a Credential
Claude Developer Platform · in the page
api/beta/vaults/credentials/archive
…ader. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"` - `"pdfs-2024-09-25"` - `"token-count…
Create a Credential
Claude Developer Platform · in the page
api/beta/vaults/credentials/create
…ader. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"` - `"pdfs-2024-09-25"` - `"token-count…
Delete a Credential
Claude Developer Platform · in the page
api/beta/vaults/credentials/delete
…ader. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"` - `"pdfs-2024-09-25"` - `"token-count…
List Credentials
Claude Developer Platform · in the page
api/beta/vaults/credentials/list
…ader. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"` - `"pdfs-2024-09-25"` - `"token-count…
Validate an MCP OAuth Credential
Claude Developer Platform · in the page
api/beta/vaults/credentials/mcp_oauth_validate
…ader. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"` - `"pdfs-2024-09-25"` - `"token-count…
Retrieve a Credential
Claude Developer Platform · in the page
api/beta/vaults/credentials/retrieve
…ader. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"` - `"pdfs-2024-09-25"` - `"token-count…
Update a Credential
Claude Developer Platform · in the page
api/beta/vaults/credentials/update
…ader. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"` - `"pdfs-2024-09-25"` - `"token-count…
Delete a Vault
Claude Developer Platform · in the page
api/beta/vaults/delete
…ader. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"` - `"pdfs-2024-09-25"` - `"token-count…
List Vaults
Claude Developer Platform · in the page
api/beta/vaults/list
…ader. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"` - `"pdfs-2024-09-25"` - `"token-count…
Retrieve a Vault
Claude Developer Platform · in the page
api/beta/vaults/retrieve
…ader. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"` - `"pdfs-2024-09-25"` - `"token-count…
Update a Vault
Claude Developer Platform · in the page
api/beta/vaults/update
…ader. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"` - `"pdfs-2024-09-25"` - `"token-count…
Completions
Claude Developer Platform · in the page
api/completions
…use. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"` - `"pdfs-2024-09-25"` - `"token-count…
Create a Text Completion
Claude Developer Platform · in the page
api/completions/create
…use. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"` - `"pdfs-2024-09-25"` - `"token-count…
Messages
Claude Developer Platform · in the page
api/messages
…t cache](https://platform.claude.com/docs/en/build-with-claude/prompt-caching?sdk_languages=http#pre-warming-the-cache) without generating a response. Different models have different maximum values…
Batches
Claude Developer Platform · in the page
api/messages/batches
…t cache](https://platform.claude.com/docs/en/build-with-claude/prompt-caching?sdk_languages=http#pre-warming-the-cache) without generating a response. Different models have different maximum va…
Create a Message Batch
Claude Developer Platform · in the page
api/messages/batches/create
…t cache](https://platform.claude.com/docs/en/build-with-claude/prompt-caching?sdk_languages=http#pre-warming-the-cache) without generating a response. Different models have different maximum va…
Count tokens in a Message
Claude Developer Platform · in the page
api/messages/count_tokens
…- `1h`: 1 hour Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching?sdk_languages=http) for details.…
Create a Message
Claude Developer Platform · in the page
api/messages/create
…t cache](https://platform.claude.com/docs/en/build-with-claude/prompt-caching?sdk_languages=http#pre-warming-the-cache) without generating a response. Different models have different maximum values…
rate-limits
Claude Developer Platform · in the page
api/rate-limits
…e_creation_input_tokens` count toward your ITPM limit, making [prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) an effective way to increase your effective through…
Message Batches API
Claude Developer Platform · in the page
build-with-claude/batch-processing
…warming](https://platform.claude.com/docs/en/build-with-claude/prompt-caching#pre-warming-the-cache)) is not supported inside a batch, because an ephemeral cache entry written during batch processing…
cache-diagnostics
Claude Developer Platform · in the page
build-with-claude/cache-diagnostics
…-requirements). supportedPlatforms: Claude API: ga --- [Prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) cuts latency and cost significantly, but only when…
citations
Claude Developer Platform · in the page
build-with-claude/citations
…tations work in conjunction with other API features including [prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching), [token counting](https://platform.claude.com/docs/…
claude-in-amazon-bedrock
Claude Developer Platform · in the page
build-with-claude/claude-in-amazon-bedrock
…com/docs/en/api/messages/create) (`/anthropic/v1/messages`) * [Prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) * [Thinking](https://platform.claude.com/docs/en/bu…
anthropic-managed
Claude Developer Platform · in the page
build-with-claude/claude-models-on-google-cloud/anthropic-managed
…rns an access token. The client asks it for a token on every request. Caching and refreshing the token are up to you. 2. A Google credentials object that you pass as `credentials` (typescript: `google…
google-managed
Claude Developer Platform · in the page
build-with-claude/claude-models-on-google-cloud/google-managed
…](https://platform.claude.com/docs/en/api/messages/create) * [Prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) * [Thinking](https://platform.claude.com/docs/en/b…
claude-on-amazon-bedrock-legacy
Claude Developer Platform · in the page
build-with-claude/claude-on-amazon-bedrock-legacy
…I](https://platform.claude.com/docs/en/api/messages/create) * [Prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) * [Thinking](https://platform.claude.com/docs/en/bu…
claude-platform-on-aws
Claude Developer Platform · in the page
build-with-claude/claude-platform-on-aws
…ng:** Submit batch requests for high-throughput workloads. * **Prompt caching:** Cache tools, system prompts, and message history to reduce latency and cost. All prompt caching capabilities (5-minute…
sent_count = len(messages sent in the compaction request)
Claude Developer Platform · in the page
build-with-claude/compaction
…int delta.text end end end ``` </CodeGroup> ### Prompt caching Compaction works well with [prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching). You ca…
compaction-on-demand
Claude Developer Platform · in the page
build-with-claude/compaction-on-demand
…ens` from the last response's `usage`, as the loop does. With [prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching#tracking-cache-performance), `input_tokens` counts o…
compaction-threshold
Claude Developer Platform · in the page
build-with-claude/compaction-threshold
…int delta.text end end end ``` </CodeGroup> ### Prompt caching Compaction works well with [prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching). You ca…
context-editing
Claude Developer Platform · in the page
build-with-claude/context-editing
…ude/preserved-thinking#prefix-check). ### Context editing and prompt caching Context editing's interaction with [prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching)…
context-windows
Claude Developer Platform · in the page
build-with-claude/context-windows
…ts what the request consumed in its `usage` field. If you use [prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching), the input count is split across `input_tokens`, `c…
effort
Claude Developer Platform · in the page
build-with-claude/effort
…t preserve cached prefixes from earlier turns. If you rely on [prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) across a long session and your model doesn't suppor…
extended-thinking
Claude Developer Platform · in the page
build-with-claude/extended-thinking
…udget, how manual mode interacts with interleaved thinking and prompt caching, and how to migrate to adaptive thinking. To learn how thinking itself works, including thinking blocks and the response…
fallback-credit
Claude Developer Platform · in the page
build-with-claude/fallback-credit
…) covers detecting refusals and choosing a fallback approach. [Prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) explains cache reads and cache writes if those term…
fast-mode
Claude Developer Platform · in the page
build-with-claude/fast-mode
…| Fast mode pricing stacks with other pricing modifiers: * [Prompt caching multipliers](https://platform.claude.com/docs/en/about-claude/pricing#prompt-caching) apply on top of fast mode pricing. *…
mid-conversation-effort-example
Claude Developer Platform · in the page
build-with-claude/mid-conversation-effort-example
…he mechanism the mode reminders use, and how it interacts with prompt caching. </Card> <Card title="Effort" icon="gauge" href="https://platform.claude.com/docs/en/build-with-claude/effort"> T…
mid-conversation-system-messages
Claude Developer Platform · in the page
build-with-claude/mid-conversation-system-messages
…every message in the conversation. That position is great for [prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching): the system prompt is part of the stable prefix, so…
overview
Claude Developer Platform · in the page
build-with-claude/overview
…AwsBeta bedrockBeta vertexAiBeta azureAiBeta /> | | [Automatic prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching#automatic-caching) | Simplify prompt caching to a si…
pdf-support
Claude Developer Platform · in the page
build-with-claude/pdf-support
…prove performance by integrating PDF support with: * [Use prompt caching](https://platform.claude.com/docs/en/build-with-claude/pdf-support#use-prompt-caching): To improve performance for repeate…
preserved-thinking
Claude Developer Platform · in the page
build-with-claude/preserved-thinking
…append-only. The same discipline keeps the prefix stable for [prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching): most edits that invalidate thinking also restart t…
Delivering work
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-fable-5-1
…t cache](https://platform.claude.com/docs/en/build-with-claude/prompt-caching): injecting and removing per-turn reminders, summarizing older turns in place, or changing the system prompt mid-session.…