Skip to content
View original post on X: OpenAI DevelopersOfficial
Published
42/100

OpenAI API adds 12-hour prompt caching for persistent agents

AIOpenAI 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 DevelopersVerified on XOfficial
@OpenAIDevs
View on X

You can now choose 12-hour prompt caching in the API.

Persistent agents, like dots, reuse context throughout the day.

You can keep shared instructions, tools, and context cached longer and pay the lower cached-input rate, even when requests are hours apart.

Source details

OpenAI Developers · x.comPublished · added here

Original title: You can now choose 12-hour prompt caching in the API.