OpenAI API offers optional 12-hour prompt caching; Codex and Work caches kept permanently
The story so far
OpenAI's developer account announced that the API now offers an optional 12-hour prompt cache, letting long-running agents reuse instructions, tools and context at the lower cached input rate even when requests are hours apart. Tibo added that for logged-in users in Codex and Work, caches are retained permanently, so returning to an old conversation or resuming a session hours later is guaranteed to hit the cache with no extra penalty.
From Tibo
Coverage timeline
Follow the coverage to see the story from different sides.
- TiboTop PickOpenAI API supports 12-hour prompt caching, with caches kept permanently for Codex and Work users
OpenAI's developer account announced that the API now offers an optional 12-hour prompt cache, letting long-running agents reuse instructions, tools and context at the lower cached input rate even when requests are hours apart. Tibo added that for logged-in users in Codex and Work, caches are retained permanently, so returning to an old conversation or resuming a session hours later is guaranteed to hit the cache with no extra penalty.
- OpenAI DevelopersOpenAI API adds 12-hour prompt caching option
OpenAI announced that the API now offers an optional 12-hour prompt cache. Shared instructions, tools, and context can be cached longer, and even requests spaced hours apart are billed at the lower cached input price, suiting persistent agents like dots that reuse context throughout the day.