OpenAI adds 12-hour prompt caching option to its API
Overview
OpenAI adds a 12-hour prompt caching option to its API, letting developers keep shared instructions, tools and context cached for hours between requests.
OpenAI's API changelog says cached-input pricing stays available across that window and that 12-hour cache writes cost 2.5 times the input token price.
OpenAI Developers says on X that cached input is billed at the lower cached-input rate even when requests are hours apart, aimed at persistent agents that reuse context throughout the day.
Written by AI from the articles below · updated Oct 20, 2:09 PM ET
Check the sources:
Article timeline
The articles in this story. Times are ET.
OpenAI Developers@OpenAIDevsOfficialOpenAI API adds 12-hour prompt caching for persistent agentsAIOpenAI says the API now offers 12-hour prompt caching, letting developers keep shared instructions, tools, and context cached for hours between requests. Cached input is billed at the lower cached-input rate even when requests are hours apart, which suits persistent agents that reuse context throughout the day.
- OpenAI API ChangelogOfficialOpenAI adds 12-hour prompt caching option to its API
AIOpenAI says developers can now choose 12-hour prompt caching in the API, which keeps shared instructions, tools, and context cached longer, even when requests are hours apart. The longer cache keeps cached-input pricing available across that window, and 12-hour cache writes cost 2.5x the input token price.
Heat Trend
Not enough continuous observations to show a trend yet.