OpenAI Extends Prompt Caching to 12 Hours
OpenAI now offers 12-hour prompt-cache retention in the Responses API, while logged-in Codex and Work users get persistent cache reuse when returning to older conversations. The update targets lower latency, higher effective usage, and fewer cache misses.
This is infrastructure disguised as a quality-of-life improvement: persistent context reuse could matter more to agent workflows than modest model-speed gains.
- –API developers can choose 12-hour retention for stable instructions, tools, and reference context.
- –The tradeoff is a higher cache-write rate—2.5× ordinary input pricing for 12-hour caching—while cache reads remain discounted.
- –Codex and Work users should see better continuity when resuming long-running tasks or old conversations.
- –Developers still need stable prompt prefixes and consistent tool definitions; changing the prefix can invalidate reuse.
- –Longer retention makes caching more useful for coding agents, where large contexts are repeatedly revisited throughout the day.
DISCOVERED
1h ago
2026-10-21
PUBLISHED
2h ago
2026-10-21
RELEVANCE
AUTHOR
thsottiaux