跳到正文
Peter Steinberger· @steipete · X·· 12 天前精选AI 评分70
AI 导读

Peter Steinberger 表示已在 OpenClaw 中修复 GPT-6.2 Astra 和 Sol 上 Responses API 顶层 instructions 字段不被缓存的问题,适用于少数使用内嵌 harness 而非 codex 插件的用户。引用内容称该 bug 使实际缓存命中率从 97.4% 降到 46.4%,每步 64K–72K 系统 token 按全价计费,OpenCode 已有变通方案,将系统提示词放入 input 的前置 developer message 中,多数 harness 尚未更新。

推荐理由

原文指出 GPT-6.2 上 instructions 字段不缓存导致账单上涨,并确认 OpenClaw 已修复,对受影响的使用者有直接参考价值。

正文

Landed a fix for that in OpenClaw yesterday (for the few folks using the embedded harness instead of codex, since it’s a plugin), most harnesses aren’t updated yet.

引用bebu@bebuu_ai
If your GPT-6.2 Astra or Sol API bills suddenly went up this week, there's another caching bug worth knowing about. OpenAI Codex issue #62312 found that on GPT-6.2 Astra and Sol, anything placed in the top-level instructions field of a Responses API request isn't actually cached. It stays at 0 cached tokens on every turn, even though OpenAI's own diagnostics incorrectly report a cache hit. The impact is pretty big. Moving from GPT-6.1 Sol to 6.2 Sol dropped actual cache hit rates from 97.4% to 46.4%, meaning 64K–72K system tokens were billed at full price on every step. There's already a workaround in OpenCode: put the system prompt inside a leading developer message in input.
在 X 查看被引用的帖子

来源:Peter Steinberger · x.com