OpenAI API 悄悄上了个省钱开关:提示词缓存能选 12 小时了 💸
以前缓存撑不了多久,Agent 隔几小时再来问一次,又得按全价重算一遍长长的指令和工具说明。现在能留 12 小时,隔再久也按便宜的缓存价算。
做常驻 Agent 的开发者,账单会直接变薄。
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.