跳到正文
Tibo· @thsottiaux · X·· 2026-10-21AI 评分63
AI 导读

OpenAI API 现已支持 12 小时提示缓存,共享指令、工具和上下文可缓存更久并按更低的缓存输入费率计费,即使请求间隔数小时。对 Codex 与 Work 的登录用户缓存永久保留,回到旧对话或数小时后恢复会话也保证命中缓存且无额外代价。

正文

Day 16/

You can now cache for 12h in the API and for logged in users across Codex & Work we keep cache forever and you don’t have any penalty for coming back to an old conversation or resuming after a few hours and are now guaranteed to hit the cache.

引用OpenAI Developers@OpenAIDevs
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.
在 X 查看被引用的帖子

来源:Tibo · x.com