OpenAI adds 12-hour prompt caching to its API
Longer cache windows change the economics of always-on agents, since hourly or daily recurring calls can now hit cached-input pricing instead of full-price tokens. Teams building background assistants or scheduled workflows on the OpenAI API should re-check their token spend, as cost drops apply to any workload with repeated shared context.
OpenAI announced a 12-hour prompt caching option for its API, up from the previous shorter cache window. Developers running persistent agents can keep shared instructions, tools and context cached for longer and pay the lower cached-input rate even when requests are hours apart. The announcement cites agents like dots, which reuse context throughout the day, as a primary beneficiary.
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. 💬 41 🔄 13 ❤️ 344 👀 16605 📊 76 ⚡