---
title: "Prompt cache controls"
canonical: "https://canmyagentuse.com/features/prompt-cache-controls"
contentKind: "feature"
locale: "en"
description: "Mark reusable prompt segments, choose retention, or explicitly create, refresh, and invalidate cached context."
llmSummary: "Prompt-cache controls let an operator or configuration mark reusable segments or manage cache lifetime; automatic caching alone does not establish control."
publishedAt: "2026-08-28T00:00:00.000Z"
updatedAt: "2026-08-28T00:00:00.000Z"
verifiedAt: "2026-08-28"
tags: ["context","prompt-caching","control"]
---

# Prompt cache controls

Prompt-cache controls let an operator or configuration mark reusable segments or manage cache lifetime; automatic caching alone does not establish control.

- HTML: https://canmyagentuse.com/features/prompt-cache-controls
- JSON: https://canmyagentuse.com/api/v1/features/prompt-cache-controls.json
- Markdown: https://canmyagentuse.com/features/prompt-cache-controls.md

Terminology basis: **Common product term** — https://code.claude.com/docs/en/prompt-caching.

## Current support at a glance

Prompt cache controls: 0 supported, 1 partial, 0 unsupported, 30 unreviewed across 31 cataloged products.

- Reviewed current products: 1 of 31
- Supported: 0
- Partial: 1
- Unsupported: 0
- Unreviewed: 30
- Not applicable: 0

Unknown or unreviewed means insufficient published evidence; it does not mean unsupported.

This row asks whether the harness exposes a supported way to influence prompt caching rather than relying entirely on automatic provider behavior. Controls can include cache breakpoints, explicit cache objects, retention choices, refresh, or invalidation.

Evidence should record where the control lives—UI, project configuration, command flag, plugin, or provider-specific request setting—and whether the exact harness preserves it. Security review should also identify the tenant, workspace, user, project, or organization boundary around reuse.

## Catalog context

- Category: [models-context](/categories/models-context.md)
- Terminology basis: Common product term
- Aliases: cache breakpoint, cache retention, explicit prompt cache
- Family: [Models and context](/features/models-and-context.md)
- Siblings: [Automatic context compaction](/features/automatic-context-compaction.md), [Context compaction controls](/features/context-compaction-controls.md), [Context usage](/features/context-usage-visibility.md), [Context window](/features/context-window.md), [Local models](/features/local-models.md), [Model fallback](/features/model-fallback.md), [Model selection](/features/model-selection.md), [Output token limit](/features/output-token-limit.md), [Prompt cache telemetry](/features/prompt-cache-telemetry.md), [Prompt caching](/features/prompt-cache-reuse.md), [Reasoning effort controls](/features/reasoning-effort-controls.md)

## Compatibility assertions

Unknown means insufficient published evidence; it does not mean unsupported.

### ChatGPT (web)

- Harness: [ChatGPT](/harnesses/chatgpt-web.md)
- current: **Unknown**
- preview: **Unknown**

### Claude (web)

- Harness: [Claude](/harnesses/claude-web.md)
- current: **Unknown**
- preview: **Unknown**

### Gemini (web)

- Harness: [Gemini](/harnesses/gemini-web.md)
- current: **Unknown**
- preview: **Unknown**

### Copilot (web)

- Harness: [Copilot](/harnesses/copilot-web.md)
- current: **Unknown**
- preview: **Unknown**

### Grok (web)

- Harness: [Grok](/harnesses/grok-web.md)
- current: **Unknown**
- preview: **Unknown**

### Grok Bot (desktop)

- Harness: [Grok Bot](/harnesses/grok-bot-desktop.md)
- current: **Unknown**

### Perplexity (web)

- Harness: [Perplexity](/harnesses/perplexity-web.md)
- current: **Unknown**
- preview: **Unknown**

### Le Chat (web)

- Harness: [Le Chat](/harnesses/le-chat.md)
- current: **Unknown**
- preview: **Unknown**

### Devin (web)

- Harness: [Devin](/harnesses/devin-web.md)
- current: **Unknown**
- preview: **Unknown**

### Replit Agent (web)

- Harness: [Replit Agent](/harnesses/replit-agent.md)
- current: **Unknown**
- preview: **Unknown**

### ChatGPT (desktop)

- Harness: [ChatGPT](/harnesses/chatgpt-desktop.md)
- current: **Unknown**
- preview: **Unknown**

### Claude (desktop)

- Harness: [Claude](/harnesses/claude-desktop.md)
- current: **Unknown**
- preview: **Unknown**

### Cursor (desktop)

- Harness: [Cursor](/harnesses/cursor.md)
- current: **Unknown**
- preview: **Unknown**

### OpenWork Desktop (desktop)

- Harness: [OpenWork Desktop](/harnesses/openwork-desktop.md)
- current: **Unknown**

### Copilot Chat (desktop)

- Harness: [Copilot Chat](/harnesses/vscode-copilot.md)
- current: **Unknown**
- preview: **Unknown**

### Chrome WebMCP origin trial (desktop)

- Harness: [Chrome WebMCP origin trial](/harnesses/chrome-webmcp-preview.md)
- current: **Unknown**

### Windsurf (desktop)

- Harness: [Windsurf](/harnesses/windsurf.md)
- current: **Unknown**
- preview: **Unknown**

### Zed Agent (desktop)

- Harness: [Zed Agent](/harnesses/zed-agent.md)
- current: **Unknown**
- preview: **Unknown**

### Continue (desktop)

- Harness: [Continue](/harnesses/continue.md)
- current: **Unknown**
- preview: **Unknown**

### Cline (desktop)

- Harness: [Cline](/harnesses/cline.md)
- current: **Unknown**
- preview: **Unknown**

### JetBrains AI (desktop)

- Harness: [JetBrains AI](/harnesses/jetbrains-ai.md)
- current: **Unknown**
- preview: **Unknown**

### Warp (desktop)

- Harness: [Warp](/harnesses/warp.md)
- current: **Unknown**
- preview: **Unknown**

### Claude CLI (cli)

- Harness: [Claude CLI](/harnesses/claude-cli.md)
- current: **Partial**
  - Target: dated-documentation — current Claude Code documentation; observed 2026-08-28
  - Environment: local-default
  - Constraint (runtime): DISABLE_PROMPT_CACHING and per-model variants disable caching; TTL variables select documented retention behavior where supported
  - Constraint (policy): Claude Code manages prefix breakpoints automatically and does not expose arbitrary per-message breakpoint authoring in the reviewed harness documentation
  - Evidence: [Anthropic — How Claude Code uses prompt caching](https://code.claude.com/docs/en/prompt-caching) — documented; observed 2026-08-28
  - Qualification note 1: Evidence checked 2026-08-28: Claude Code exposes environment-variable controls to disable prompt caching globally or per model and to choose documented five-minute or one-hour TTL behavior in eligible environments.
- preview: **Unknown**

### ChatGPT CLI (cli)

- Harness: [ChatGPT CLI](/harnesses/chatgpt-cli.md)
- current: **Unknown**
- preview: **Unknown**

### Codex CLI (cli)

- Harness: [Codex CLI](/harnesses/codex-cli.md)
- current: **Unknown**
- preview: **Unknown**

### OpenCode (cli)

- Harness: [OpenCode](/harnesses/opencode.md)
- current: **Unknown**
- preview: **Unknown**

### Gemini CLI (cli)

- Harness: [Gemini CLI](/harnesses/gemini-cli.md)
- current: **Unknown**
- preview: **Unknown**

### Aider (cli)

- Harness: [Aider](/harnesses/aider.md)
- current: **Unknown**
- preview: **Unknown**

### Goose (cli)

- Harness: [Goose](/harnesses/goose.md)
- current: **Unknown**
- preview: **Unknown**

### Copilot CLI (cli)

- Harness: [Copilot CLI](/harnesses/copilot-cli.md)
- current: **Unknown**
- preview: **Unknown**

### Amp (cli)

- Harness: [Amp](/harnesses/amp-cli.md)
- current: **Unknown**
- preview: **Unknown**
