OpenAI Developers· @OpenAIDevs · X·AI score56
OpenAI API adds 12-hour prompt caching option
AI brief
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.
Full text · Original
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: OpenAI Developers · x.com