Skip to content
Past story

OpenAI API offers optional 12-hour prompt caching; Codex and Work caches kept permanently

2 reports2 sourcesFirst reportedUpdated 2026-10-21

The story so far

Report excerpt

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.

Oct 21
  1. TiboTop Pick
    OpenAI 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.

  2. OpenAI Developers
    OpenAI 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.