Product feature · models-context

Prompt cachingCommon product term

Reuse eligible repeated prompt content under documented caching behavior.

Terminology basis: Common product term. Anthropic — How Claude Code uses prompt caching

Prompt caching: 1 supported, 1 partial, 0 unsupported, 29 unreviewed across 31 cataloged products.

Markdown · JSON

Explore this familyMore in Models and context11 capabilities

Current evidence by product

Can my agent use Prompt caching?

Read across for the answer. 2 of 31 current product columns have reviewed evidence; unreviewed does not mean unsupported.

  • Supported1
  • Partial1
  • Unsupported0
  • Unknown29
  • Not applicable0

Web

9 products

Desktop

13 products

CLI

9 products

Unknown means no public evidence has been reviewed for that product and capability. It does not mean unsupported.

How statuses are assigned

Definition and scope

What this capability means

This row concerns model-request prompt or context caching: eligible repeated prefixes receive documented processing, latency, or billing reuse. It does not include browser caches, downloaded-file caches, embedding indexes, retrieval caches, build caches, or a conversation merely retaining its history.

Evidence should identify whether reuse is automatic or explicit, minimum eligible prefix size, exact-prefix requirements, supported models and regions, cache lifetime, isolation boundary, invalidation behavior, and read-versus-write pricing. A model API feature does not prove that a hosted chat or coding harness preserves stable prefixes or passes cache controls through.

Traceable compatibility

Assertion ledger

Documentation evidence only. No runtime conformance test is implied.

Claude CLIcli · current
Supported
Target
current Claude Code documentation · dated-documentation
Environment
local-default
Observed
2026-08-28
  • runtimeautomatic exact-prefix caching covers stable request layers; switching models, reconnecting MCP servers, compaction, and upgrades can invalidate all or part of the prefix
  • policycache infrastructure and retention depend on the authentication and serving provider
Evidence
Gemini CLIcli · current
Partial
Target
current Gemini CLI documentation · dated-documentation
Environment
local-default
Observed
2026-08-28
  • runtimeautomatic caching reuses previous system instructions and context for Gemini API-key and Vertex AI users
  • policyOAuth users through Google Personal or Enterprise Code Assist do not receive cached-content creation
Evidence
  1. 1. Evidence checked 2026-08-28: Claude Code documents automatic prefix-based prompt caching for its system prompt, project context, conversation history, and tool results, with explicit invalidation behavior.
  2. 2. Evidence checked 2026-08-28: Gemini CLI documents automatic token caching for Gemini API-key and Vertex AI authentication, while OAuth through Code Assist does not support cached-content creation.