AI Coding Weekly

GPT-6.2 instructions field is never cached, bebu reports

Anything in the top-level instructions field of a Responses API request bills at full price, and the diagnostics say otherwise.

bebu flagged a caching bug in GPT-6.2 Astra and Sol that quietly inflates API bills. Per OpenAI Codex issue #62312, anything placed in the top-level `instructions` field of a Responses API request is not actually cached. It stays at 0 cached tokens on every turn, while OpenAI's own diagnostics incorrectly report a cache hit.

bebu
@bebuu_ai
X
It stays at 0 cached tokens on every turn, even though OpenAI's own diagnostics incorrectly report a cache hit.
Nov 19, 2026 · View on X

The size of the gap is the part worth writing down. bebu says moving from GPT-6.1 Sol to 6.2 Sol dropped actual cache hit rates from 97.4% to 46.4%, which means 64K to 72K system tokens were billed at full price on every step of an agent loop. System prompts are the one chunk of context that is identical across every turn, so they are exactly where prompt caching is supposed to do its work.

The workaround already exists

There is a fix in OpenCode already, per bebu. Instead of using the top-level `instructions` field, you put the system prompt inside a leading developer message in `input`. Same content, different slot, and the cache behaves.

Peter Steinberger says he landed a fix in OpenClaw the day before, for people using the embedded harness rather than codex, since it ships as a plugin. His read on everyone else is blunt, most harnesses are not updated yet. So if you are on a harness that has not patched, you are paying full freight on your system prompt every single turn and your own cache metrics will tell you everything is fine.

Peter Steinberger
@steipete
X
most harnesses aren’t updated yet
Nov 19, 2026 · View on X

Why this one stings

A cache miss that reports itself as a cache miss is an annoyance. A cache miss that reports itself as a hit defeats the instrumentation most teams would use to catch it. Anyone who noticed their spend climbing this week and went looking at cached token counts would have found nothing wrong.

Mario Zechner's reaction was "i'm so fucking tired. how can something like this slip through?"

Mario Zechner
@badlogicgames
X
i'm so fucking tired. how can something like this slip through?
Nov 20, 2026 · View on X

For working engineers, the practical check is small. Look at where your harness puts the system prompt in a Responses API call, and if it is the top-level `instructions` field on GPT-6.2 Astra or Sol, move it into a leading developer message or wait for your harness to do it for you. Do not trust the reported cache hit rate to tell you whether you have the problem, because according to the Codex issue that number is the thing that is wrong. Nothing in the sources says OpenAI has shipped a fix on its side.

Have the good opinion, not the loud one

One email a day. Under three minutes. What working engineers found out about coding with AI.

Get the next one by email

Coding with AI, read daily so you do not have to. The experiments, the receipts and the arguments from engineers shipping real software. Not a changelog.