GPT-6.2 gotcha: editing agent history silently drops reasoning items and costs tokens
krishnan · x · 2026-11-25
Krishnan unpacks an overlooked GPT-6.2 Responses API behavior: tidying an agent's history to save tokens can end up costing tokens.
- Edits to earlier history cause the API to drop subsequent reasoning items; the model may redo earlier work and answer quality can decline
- The list of triggering edits is long: shortening an old tool result, rewriting the developer message, swapping turns for a summary, changing tools/text.format/reasoning.effort, model downgrades, user or org changes
- Prompt-cache reuse is about input cost and latency; preserved reasoning is about continuity — 'one edit, two bills'. Cache diagnostics can't confirm reasoning reuse, per OpenAI's own docs
- Exception: OpenAI compaction (/responses/compact or contextmanagement) keeps later reasoning despite prefix changes
More from coding & agent
- Running distributed LLM inference across two machines' browsers, Web AI Summit talk — ianand · 2026-11-25
- eve Launches Agent Builder Challenge With $100 Vercel AI Gateway Credit Prizes — cramforce · 2026-11-25
- Dev laments open source's shift from GitHub collaboration to Twitter flame wars — gnukeith · 2026-11-25
- Magnitude: open-source inference engine streams MoE experts from SSD to run big models on everyday PCs — nickbaumann_ · 2026-11-25
- Orchestrator v0.15.3 Ships Mid-Chat Agent Switching and Full Turn Rollback — julianweisser · 2026-11-25
- ETH Zurich study of 100 students: writing skill and CS achievement both predict vibe coding proficiency — pmddomingos · 2026-11-25