What is prompt caching?

Definition

Prompt caching stores or reuses an internal representation of prompt content that a model has already processed. When later requests share the same prefix or context, the provider can avoid repeating part of the computation and charge a lower cache-read price.

Savings depend on workload structure, cache eligibility, retention, hit rate, and provider pricing. Long agent sessions with repeated instructions or documents can benefit substantially, while changing prompts or frequent cache misses may produce little saving.

ELI5

Prompt caching is a shortcut that lets an AI service reuse work it recently did on the same starting information. It can make repeated requests faster or cheaper when a large unchanged prompt is sent again.

For example, several coding requests may share the same long project instructions. A provider might cache that common beginning, but a new session or changed model may lose the shortcut, so the important instructions still need to be available in full.

What makes prompt caching useful?

It is most useful when many requests repeat a large, stable prefix such as system instructions, documents, examples, or an agent's working context.

Does prompt caching reduce every AI bill?

No. Savings depend on cache hits, eligible content, retention rules, workload repetition, and the provider's cache pricing.

  1. Matthew Berman beside the headline Fable 5.1 Cuts Agent Costs
  2. Nathaniel Whittemore beside the headline Fable 5.1 Earns Its Place
  3. Byung-Gon Chun in a blue sweater gestures beside the blue and white headline FASTER AI AGENTS on black.
  4. Kevin Walmsley gestures beside the blue and white headline Model Cost Competition against a black background.
  5. Mingsheng Hong beside the headline Measure Value Not Tokens in attention blue and white
  6. Theo Browne in blue points toward the viewer beside the blue-and-white headline “SOL FIGHTS BACK” on black.
  7. Portrait of Nate B. Jones beside the words Route Work by Risk
  8. Sitanshu Gupta gestures beside the blue-and-white ONE INFERENCE STACK headline on a black background.
  9. Jack Roberts and Nick Saraev beside the words Claude Limits Shrink
  10. Wes Roth beside the words Fable 5.1 Beats Astra
Definition card for prompt caching: What is prompt caching?

Prompt caching lets an AI service reuse previously processed prompt content so repeated context can cost less and run faster.