Skip to content
AI Learning Ground Start learning

Models ·

Better prompt caching for GPT-6

OpenAI launched improved prompt caching for GPT-6 with higher default hit rates, a caching dashboard, miss diagnostics, explicit cache breakpoints, and controls like cache-safe reasoning effort changes and prewarming, cutting latency and costs.

Better prompt caching for GPT-6
Image: OpenAI

OpenAI has shipped an improved prompt caching system for the GPT-6 family, aimed at persistent agents that make many API requests carrying the same instructions, tool definitions, and earlier context. Cached input tokens get discounts of up to 90%, and by default the system now delivers higher cache hit rates, with discounts for eligible shared prefixes reused within a 30-minute window.

New tooling accompanies the engine. A Prompt Caching Dashboard tracks hit rates over time and shows cached versus uncached tokens via an input composition chart. A diagnostics tool helps explain unexpected misses by comparing a request with a recent response to find changes to the model, tools, settings, or input, and estimates how many tokens were affected. Developers can also set explicit cache breakpoints to choose which prompt prefixes get reused.

Several optional controls let teams tune caching: reasoning effort can be changed between responses without breaking cache by appending a configuration_update instead of altering request-level settings. To preserve cache while tools evolve, keep definitions, schemas, and ordering stable, using allowed_tools or tool_choice none rather than removing definitions, and append new instructions in developer messages at the end of the context. Prewarming prepares known shared context during startup so processing happens before the user waits.

For teams building agents, this matters because agent workloads live and die on repeated context: higher default hit rates plus visibility into misses and controls for reasoning effort and tool changes directly reduce both response latency and input token costs.

Developers can start by checking hit rates in the Prompt Caching Dashboard, investigating misses with the diagnostics tool, and following the refreshed prompt caching guide, or use Codex to review code and measure improvements.

References

Read the full story at OpenAI ↗Like, save or discuss on Buzz

#models #products #research