§ Writing9 min read

Upgraded to GPT-6.2? Your system prompt may now cost 20x more, and no error will tell you

Since GPT-6.2, a system prompt sent in the instructions field is billed at full price on every call. Nothing breaks, so your alerts stay silent.

OpenAI shipped GPT-6.2 Astra and Sol on 17 November, and one line in the Using GPT-6.2 guide changes what a lot of agent loops cost without changing whether they work:

Models starting with GPT-6.2 append top-level instructions after input in the Responses API.

OpenAI, Using GPT-6.2

The prompt caching guide spells out what that means for the bill: “OpenAI bills those instruction tokens at the uncached input-token rate on every request, even if you repeat identical instructions.” Caching works on the prefix of the request. If your system prompt now sits after the conversation instead of before it, it isn’t part of a stable prefix any more, and you pay full price for it on every call.

What makes this worth a post is that every request still succeeds. Your evals still pass, because nothing in the change touches what the model says (as far as anyone has reported). Your error-rate dashboard stays green. The only thing that moves is a ratio most teams don’t alert on: cached input tokens over total input tokens, per route.

This post is design analysis with illustrative code, based on OpenAI’s docs, LiteLLM’s incident post and a public GitHub issue as I read them on 21 November 2026. I haven’t run GPT-6.2 or measured anything myself. The cost arithmetic below uses list prices and a made-up prompt size, and I label it where it appears.

How it was found: a customer, not an alert

LiteLLM, the open-source gateway a lot of teams put in front of several providers, published an incident post on 19 November. Their title is careful: “Cost Update: OpenAI’s GPT-6.2 caching change may increase input costs”. The body is blunter:

Requests still worked, but GPT-6.2 users paid full price for their system prompt on every call.

LiteLLM, 19 November 2026

The reason it mattered to them specifically is the line “Up to GPT-6.1 both were cached the same way, so LiteLLM used instructions.” A gateway that put the system prompt in the documented field was, from 17 November, putting it in the field that doesn’t get cached. They also write: “Nothing failed on our side, so none of our error alerts fired”. The way they found out was that “a customer reported the missing cache hits on November 18.” They now send the system prompt as a developer message at the start of input and backported that to five release lines.

That’s a well-run project with alerting, and it still learned about a cost regression from a customer. That’s what happens when every monitor you have watches for failure and the change doesn’t fail.

What the numbers in the GitHub issue show

openai/codex issue #62312, opened on 18 November, has the clearest picture I’ve found. It quotes a measurement from the opencode project: the same four-step agent loop on gpt-6.2-sol, once with the prompt in instructions and once with it as a leading developer message. Each cell is cached tokens over input tokens at that step.

Step Prompt in instructions Prompt as leading developer message
1 0/9637 0/9635
2 0/9670 9632/9663
3 0/9706 9660/9694
4 0/9746 9691/9733

Step one is a cold cache in both columns, which is expected: the first request writes the cache. From step two the developer-message loop reads almost the whole prompt from cache. The instructions loop never does. Same model, same prompt, same task, and the issue doesn’t mention any difference in the answers.

The reporter also posted their own traffic over two days through the same client: a 97.4% cache hit rate on gpt-6.1-sol across 13,044 requests, and 46.4% on gpt-6.2-sol across 122 requests. I’d be careful with that pair. They’re different models, and 122 requests is a small sample. It’s consistent with the table, not a second proof of it.

The issue also claims OpenAI’s cache diagnostics reported cache_hit on those runs while usage showed zero cached tokens. That’s the reporter’s claim alone, and when I read the thread OpenAI hadn’t replied. If it holds up, it’s a reconciliation problem in its own right: two of the vendor’s own telemetry sources disagreeing about the same request. The reporter calls the whole thing a bug. LiteLLM calls it a breaking change. OpenAI’s docs describe it as how the API works now, so I’m treating it as the contract until they say otherwise.

What it costs, in illustrative arithmetic

These numbers are mine, from list prices, with an invented prompt size. They’re not a measurement.

The running example is an invoice-matching agent on gpt-6.2-sol with a 9,600-token system prompt (matching rules, tolerances, the tool descriptions), which is roughly the size in the issue. OpenAI’s pricing page lists Sol at $2.00 per million input tokens and $0.10 per million cached input tokens, for requests up to 272K tokens.

Prompt cached Prompt in instructions
Cost of the 9,600 prompt tokens per call $0.00096 $0.0192
Per 100,000 calls $96 $1,920

For the prompt tokens alone that’s 20 times the price, because OpenAI charges $2.00 per million for uncached input against $0.10 for cached. That’s only the system-prompt slice of the input. The conversation, tool results and output tokens cost the same either way, so what this does to the total bill depends entirely on how much of each request is the prompt. For an agent that runs many short turns against a long fixed prompt it’s most of the input. For one that reads a 200-page PDF per call it’s a rounding error. Do the sum with your own ratio before you panic, or relax.

The same lesson from the other direction

Anthropic’s release notes for 9 November cover a related case from the other side. If your code edits the system prompt, tools or an earlier message and then sends back a Claude Fable 5.2 thinking block from a later turn, the request returns a 400. Fable 5.2 and Mythos 5.2 enforce that prefix check on every account.

OpenAI’s GPT-6.2 guide covers similar territory: the Responses API “drops reasoning items after mid-conversation edits to the conversation history (prefix edits)”, and when that happens “answer quality can decline” and “the model may use more tokens to repeat earlier work.” The guide doesn’t say whether anything in the response tells you it happened. So I’m not going to claim one vendor fails loudly and the other quietly. Both are telling you that the prefix of an agent’s conversation is now part of the API contract, and editing it has a price.

Tool libraries are moving the same way. Google’s Tool Retrieval preview (19 November) holds back tool schemas until the model asks for them, and Google says it “plays well with prefix caching” because loaded schemas are added later in the conversation, “so the cached prefix stays the same from turn to turn.” Pydantic AI’s v2.71.0 added ToolBridge, which “keeps the tool list fixed behind tool_search, tool_describe and tool_call” for the same reason. Neither publishes savings figures, and I’m not offering any.

The map: what changed and what would catch it

Change Does the request fail? What catches it
GPT-6.2 appends instructions after input No Cache ratio per route, compared with the previous model
GPT-6.2 drops reasoning items after a prefix edit Not documented Tokens per completed task, and an eval on edited-history runs
Fable 5.2 rejects a prefix edit followed by a later thinking block Yes, 400 Your existing error alerts
Tool list changes between turns No Cache ratio again, plus a check that the tool list is fixed per session

Only one of the four rows is guaranteed to produce an error. That’s the column I’d want a gateway owner to stare at.

Reconcile cache ratio like a ledger

In reconciliation work, you don’t trust that a payment went through because nothing threw. You compare what you expected with what the counterparty reports, and you open an exception when they diverge. A model provider’s usage block is the counterparty’s statement. Treat it that way.

Two checks do most of the work. The first runs before an upgrade ships: replay a fixed multi-turn conversation on the old and new model and compare cached ratios from step two on. The second runs continuously in production, per route.

// Illustrative: not run. Check field names against your SDK version.
type Usage = { input_tokens: number; input_tokens_details?: { cached_tokens?: number } };

type RouteStats = { route: string; model: string; input: number; cached: number; calls: number };

const stats = new Map<string, RouteStats>();

export function record(route: string, model: string, usage: Usage) {
  const key = `${route}:${model}`;
  const s = stats.get(key) ?? { route, model, input: 0, cached: 0, calls: 0 };
  s.input += usage.input_tokens;
  s.cached += usage.input_tokens_details?.cached_tokens ?? 0;
  s.calls += 1;
  stats.set(key, s);
}

// Expected ratio comes from the last known-good model on the same route.
export function exceptions(expected: Record<string, number>, tolerance = 0.15) {
  return [...stats.values()]
    .filter((s) => s.calls >= 50) // a fixed floor; low-volume routes need a proper interval
    .map((s) => ({ ...s, ratio: s.cached / s.input, want: expected[s.route] }))
    .filter((s) => s.want !== undefined && s.ratio < s.want - tolerance);
}

The pre-upgrade test is the same idea in a test runner: send four turns, read cached_tokens on turns two to four, and fail the build if the ratio is far below the old model’s. By my list-price sums, four turns of a 10K-token prompt is well under a dollar, and it’s the only test in your suite that checks the cost contract rather than the output.

Then make the prompt layout boring. The system prompt goes in a leading developer message, as the Using GPT-6.2 guide now says. Tools are fixed for a session. History is append-only: if you need to shorten it, add a summary turn rather than editing old ones, and accept that compaction is a decision with a cost, not housekeeping.

What I’d do on Monday

  1. Grep your gateway and SDK wrappers for instructions on any route that can reach GPT-6.2, and move the system prompt into a leading developer message.
  2. Upgrade LiteLLM if you run it, to one of the fixed versions in their post.
  3. Record cached and total input tokens per route and model, not only per account. An account-level ratio hides one bad route.
  4. Alert on the ratio dropping against the last known-good model, the same way you’d alert on error rate.
  5. Add a four-turn cache test to the upgrade checklist for every model change, so the next one shows up in CI.
  6. Reconcile the usage block against the invoice once a month. If the vendor’s own numbers disagree, that’s an exception with an owner, not a curiosity.
  7. Make history append-only in code, and log every place that edits or compacts it.

Limitations

This is design analysis. I haven’t called GPT-6.2, and the cost table is list-price arithmetic on an invented prompt size. The per-step numbers come from one opencode measurement quoted in a GitHub issue, and the aggregate hit rates from one reporter’s traffic across two different models. The diagnostics mismatch is unconfirmed. OpenAI hadn’t commented on the issue when I read it, and the docs could change: I’ll add a dated update if they do.

I’ve also only looked at OpenAI’s Responses API, Anthropic’s release notes and two tool libraries. Other providers cache differently, and some don’t tell you in the usage block at all, which is its own kind of answer.

Sources


  1. 7 min read

    A performance agent needs a stop condition

    OpenAI's Performance Factory describes an agentic regression loop. The harder engineering problem is deciding what evidence lets a production task close.


  2. 6 min read

    Treat GitHub event streams as wake-ups, not a queue

    GitHub's preview wakes a pull-request agent without polling, but disconnect gaps and 24-hour subscriptions make state reconciliation part of the design.


  3. 12 min read

    More code, same software: review is the bottleneck

    A Harvard study of 718 firms finds coding agents raise code volume but not shipped output, because review became the constraint. What I'd copy from finance ops.