TL;DR Prompt caching allows LLM providers to reuse processed prefixes from previous requests, significantly reducing latency and computing costs for repeated context. By storing computed states, APIs can skip expensive computation on stable instruction blocks. ## Pricing and usage by provider
…
Change log
- 2026-06-22: Applied editorial review fixes: updated description, ensured heading IDs, and added Change Log section. ## Related Guides ### OpenAI *- Cache write: $1.25/M tokens (vs $2.00/M fresh input) |- Cache read: $0.3125/M tokens ### Anthropic *- Cache write: $1.25/M tokens (vs $3.00/M fresh input for Sonnet 4.6) |- Cache read: $0.30/M tokens ### Google Gemini *- Cache write: 50% of fresh input rate |- Cache read: 25% of fresh input rate