the diff / OpenAI API / October 20, 2026

OpenAI API adds 12-hour prompt caching at 2.5x write price

score cache write price: 2.5x

OpenAI's Responses API now offers 12-hour prompt caching on GPT-5.6 and later. Writes cost 2.5x the input price; the 30-minute default stays.

What changed

OpenAI's API changelog for October 20 adds a 12-hour prompt caching option. It keeps shared instructions, tools and context cached so requests hours apart still get cached-input pricing. Per the prompt caching guide, you ask for it with prompt_cache_options.ttl set to 12h in the Responses API, on GPT-5.6 and later. The default stays 30m. A 12-hour cache write costs 2.5x the input token price, against 1.25x for the 30-minute write. Reads stay at 0.1x the input price on most of these models, and 0.05x on GPT-6.1 Sol.

Why it matters if you ship with an agent

Nothing changes until you set the option. It pays when the same long system prompt comes back after a gap: a nightly job, a scheduled agent, a reviewer that runs on each push. Writes cost twice as much, so count the gaps before switching. Upgrading an existing 30-minute entry charges a fresh 12-hour write, so set it from the first request, not after.

By MK · Source: https://developers.openai.com/api/docs/changelog

more OpenAI API changes: OpenAI ships GPT-6-Cyber. Daybreak Red approval required · OpenAI API usage tiers go from five to three · all

keep handy: AI coding tool pricing tracker · vibe coding vs AI coding · agent fail hall of fame


The Diff is Accept All's short note on changes that alter how you ship with an agent. Newer: Claude Code 2.1.305 loads MCP servers your allowlist left out. Older: Kiro CLI 2.32.0 lets one yes approve writes to a whole folder.