Article

OpenAI API launches 12-hour prompt caching,Codex and Work cache for logged-in users will be retained permanently

PANews October 21 reported, according to OpenAI Developers,OpenAI API now supports 12-hour prompt caching. Developers can cache shared instructions, tools, and context for longer periods and be charged at the lower cached-input rate even when requests are separated by several hours. This feature is primarily intended for agents that run continuously and reuse context throughout the day. Tibo (@thsottiaux) subsequently added that Codex and Work's logged-in users will have their cache retained permanently. Users can receive a cache hit when returning to an old conversation or resuming after several hours, with no additional charges.

Source: https://www.panewslab.com/zh/articles/01a15c05-f237-73d6-8b72-63345c0d5e9f