# Prompt caching | IonBin

> Prompt caching reuses processing of eligible repeated input, such as instructions or reference documents.

Canonical page: https://ionbin.com/wiki/concepts/prompt-caching/
Agent guide: https://ionbin.com/llms.txt

This is a readable version of the published page. Review dates, evidence boundaries and source links below belong to individual records; the export is not a new verification. Examples are reference material, not instructions to execute.

Concept

## Prompt caching

Prompt caching reuses processing of eligible repeated input, such as instructions or reference documents. Cache hits can reduce input cost and latency, but minimum lengths, configuration, write charges and retention differ by model. Put stable content first and verify actual cache usage.

Verified Oct 18, 2026 Review by Apr 16, 2027 4 sources

### What it is

Prompt caching stores the model’s processing of a prompt prefix, so later requests with the same prefix skip that work. OpenAI, Anthropic and Google offer it with different controls. OpenAI supports explicit breakpoints on GPT-5.6 and later; earlier models use implicit caching. Anthropic requires cache_control configuration for its automatic or explicit modes. Google enables implicit caching by default on Gemini 2.5 and newer.

### How it works

- Put the unchanging part of the prompt first: instructions, examples, documents.

- The first request processes and caches that prefix.

- Later eligible requests may reuse that prefix. Inspect the usage fields for actual cache hits rather than assuming every repeated prompt was cached.

**Current terms (checked 2026-10-18):**

- **Anthropic.** Read multipliers vary: Sonnet 5.5 and Opus 5.5 use 0.05× base input, Fable 5.1 uses 0.025×, and Haiku 5.5 uses 0.1×. Writes cost 1.25× for a 5-minute cache or 2× for a 1-hour cache.

- **OpenAI.** On GPT-5.6 and later, cache writes cost 1.25× the uncached input rate, the minimum cacheable prefix is 1,024 tokens, and the minimum default lifetime is 30 minutes from the latest write or reuse. Reads use 0.1×, except [GPT-6.1 Sol](https://ionbin.com/platforms/models/gpt-6-1-sol/) at 0.05×.

- **Google.** Each Gemini model has a minimum prompt size. The Interactions API and [Gemini 4 Argon](https://ionbin.com/platforms/models/gemini-4-argon/) onward support implicit caching only; explicit caching remains available for supported older models through generateContent.

### Benefits

- Potentially lower input cost for chatbots, agents and document Q&A that reuse context.

- Less repeated prompt processing can reduce latency.

- Makes long, detailed [system prompts](https://ionbin.com/wiki/concepts/system-prompt/) more affordable.

### Limits and risks

- Only exact prefix matches count. A change early in the prompt can prevent reuse of the following content; an earlier matching segment may still qualify.

- Caches expire, and writes can cost more than normal input. Short or rarely reused prompts may not save money.

- Rates, lifetimes and minimums differ by vendor and model, so re-check before you budget.

### Checked specs

Snapshot from official sources on Oct 18, 2026.

| OpenAI GPT-5.6 and later | 1.25× writes; 1,024 visible-token minimum; at least 30 minutes from latest write/reuse. Read multiplier is model-specific. [1](https://ionbin.com/wiki/concepts/prompt-caching/#src-1) |
| --- | --- |
| Anthropic | Write and read rates differ by model and lifetime; configure cache_control, then inspect actual usage. [2](https://ionbin.com/wiki/concepts/prompt-caching/#src-2) |
| Google Gemini | Implicit caching enabled by default on Gemini 2.5+; newer API/model paths do not support explicit caches. [4](https://ionbin.com/wiki/concepts/prompt-caching/#src-4) |

### Best-fit stacks

Stack 08

#### [Dev, web & IT](https://ionbin.com/use-cases/dev-it/)

Design, code, host and ship sites and internal tools, with an AI coding agent doing most of the typing.

### Agent compatibility

Not tool-specific. See [Agent-ready](https://ionbin.com/agent-ready/) for connector support by tool.

Levels come from each tool's recorded, sourced compatibility. [How the levels work](https://ionbin.com/wiki/questions/connect-a-tool-to-an-ai-agent/).

### Related entries

[How do I cut AI API costs without hurting quality? · Question](https://ionbin.com/wiki/questions/cut-ai-api-costs/)[Tokens · Concept](https://ionbin.com/wiki/concepts/tokens/)[System prompt · Concept](https://ionbin.com/wiki/concepts/system-prompt/)[Batch processing (batch APIs) · Concept](https://ionbin.com/wiki/concepts/batch-processing/)[DeepSeek models · Model](https://ionbin.com/wiki/models/deepseek/)

### Sources

- [Prompt caching](https://developers.openai.com/api/docs/guides/prompt-caching) · OpenAIofficial accessed Oct 18, 2026

- [Prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) · Anthropicofficial accessed Oct 18, 2026

- [Models & pricing](https://api-docs.deepseek.com/quick_start/pricing) · DeepSeekofficial accessed Oct 18, 2026

- [Context caching](https://ai.google.dev/gemini-api/docs/caching) · Googleofficial accessed Oct 18, 2026

Practitioner views are restated in our words and labeled as views, not measured results. Product facts come from official sources dated above.

### Suggest an edit

IonBin's wiki isn't user-edited. Corrections go to our Directory Curator, who checks them against primary sources before anything changes. Spot something wrong or out of date on “Prompt caching”? Email us with a link to a primary source.

[Suggest an edit by email](mailto:contact@ionbin.com?subject=Suggest%20an%20edit%3A%20Prompt%20caching%20%5Bprompt-caching%5D&body=Page%3A%20https%3A%2F%2Fionbin.com%2Fwiki%2Fconcepts%2Fprompt-caching%2F%0AEntry%3A%20concepts%2Fprompt-caching%0A%0AWhat%20should%20change%3A%0A%0A%0APrimary%20source%20(link)%3A%0A) or write to [contact@ionbin.com](mailto:contact@ionbin.com)

Entry facts

**Type**: [Concepts & glossary](https://ionbin.com/wiki/concepts/)

**Status**: Reviewed

**Verified**: Oct 18, 2026

**Review by**: Apr 16, 2027 (every 180 days)

**Sources**: [4 official · 0 other](https://ionbin.com/wiki/concepts/prompt-caching/#sources)

The wiki carries no sponsored placements or affiliate links. [Editorial policy](https://ionbin.com/editorial-policy/).
