Request 2 caches its request content (not the response) changedbuild-with-claude/prompt-caching
Nearest release: v2.1.328, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+10added
Lines−12removed
From line
766
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits44to this page, all time
The whole hunk
from line 766, old and new numbered
/
from line 766
766766
767767### Cache storage and sharing
768768
769<Warning>
770 Prompt caching uses [workspace](https://platform.claude.com/docs/en/manage-claude/workspaces)-level isolation. Caches are isolated by workspace, ensuring data separation between workspaces within the same organization. This applies to the Claude API, Claude Platform on AWS, and Microsoft Foundry; Claude Models on Google Cloud (Google managed) and Bedrock maintain organization-level cache isolation. If you use multiple workspaces, review your caching strategy to account for this difference.
771</Warning>
769Prompt caching follows these rules:
772770
773* **Organization and workspace isolation:** Caches are isolated between organizations. Different organizations never share caches, even if they use identical prompts. Caches are also isolated by workspace within an organization on the Claude API, Claude Platform on AWS, and Microsoft Foundry; Claude Models on Google Cloud (Google managed) and Bedrock use organization-level isolation only.
771* **Organization isolation:** Different organizations never share caches, even if they use identical prompts.
774772
773* **Workspace isolation:** On the Claude API, Claude Platform on AWS, and Microsoft Foundry, caches are also isolated between [workspaces](https://platform.claude.com/docs/en/manage-claude/workspaces). On those platforms, each workspace builds its own cache. On Claude Models on Google Cloud (Google managed) and Amazon Bedrock, caches are isolated by organization only.
774
775775* **Exact matching:** Cache hits require 100 percent identical prompt segments, including all text and images up to and including the block marked with cache control.
776776
777777* **Output token generation:** Prompt caching has no effect on output token generation. The response you receive is identical to what you would get if prompt caching were not used.
from line 823
823823
824824## 1-hour cache duration
825825
826If you find that 5 minutes is too short, Anthropic also offers a 1-hour cache duration at additional cost (see [Pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching#pricing)).
826If you find that 5 minutes is too short, Anthropic also offers a 1-hour cache duration at additional cost (see [Pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching#pricing)). The 1-hour duration is available on [every platform that supports prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching#feature-availability).
827827
828<Note>
829 The 1-hour cache duration is available on the Claude API, [Amazon Bedrock (`bedrock-mantle`)](https://platform.claude.com/docs/en/build-with-claude/claude-in-amazon-bedrock), [Amazon Bedrock (`bedrock-runtime`)](https://platform.claude.com/docs/en/build-with-claude/claude-on-amazon-bedrock-legacy), [Claude Platform on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws), [Claude Models on Google Cloud (Google managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/google-managed), and [Microsoft Foundry](https://platform.claude.com/docs/en/build-with-claude/claude-in-microsoft-foundry).
830</Note>
831
832828To use the extended cache, include `ttl` in the `cache_control` definition like this:
833829
834830```json
from line 3325
33293325
33303326Prompt caching (both automatic and explicit) is ZDR eligible. Anthropic does not store the raw text of your prompts or Claude’s responses.
33313327
3332KV (key-value) cache representations and cryptographic hashes of cached content are held in memory only and are not stored at rest. Cached entries have a minimum lifetime of 5 minutes (standard) or 1 hour (extended), after which they are promptly, though not immediately, deleted. Cache entries are isolated between organizations and, on the Claude API, Claude Platform on AWS, and Microsoft Foundry, between workspaces within an organization.
3328KV (key-value) cache representations and cryptographic hashes of cached content are held in memory only and are not stored at rest. Cached entries have a minimum lifetime of 5 minutes (standard) or 1 hour (extended), after which they are promptly, though not immediately, deleted.
33333329
3330Cache entries are isolated between organizations and, on [some platforms](https://platform.claude.com/docs/en/build-with-claude/prompt-caching#cache-storage-and-sharing), between workspaces within an organization.
3331
33343332***
33353333
33363334## FAQ
from line 3438
34403438
34413439 1. Cache keys are generated using a cryptographic hash of the prompts up to the cache control point. This means only requests with identical prompts can access a specific cache.
34423440
3443 2. On the Claude API, Claude Platform on AWS, and Microsoft Foundry, caches are isolated by workspace within an organization. On Claude Models on Google Cloud (Google managed) and Bedrock, caches are isolated by organization. In every case, caches are never shared across organizations, even for identical prompts. See [Cache storage and sharing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching#cache-storage-and-sharing) for details.
3441 2. Caches are never shared across organizations, even for identical prompts. On [some platforms](https://platform.claude.com/docs/en/build-with-claude/prompt-caching#cache-storage-and-sharing), they’re also isolated by workspace within an organization.
34443442
34453443 3. The caching mechanism is designed to maintain the integrity and privacy of each unique conversation or context.
34463444
No line in this hunk matches that.