AI models & APIs 10 min read Published By

OpenAI’s 12-Hour Prompt Cache. When It Cuts the Cost of a Content Workflow

On 20 October 2026, OpenAI added a 12-hour prompt cache to its API, so the unchanged start of a prompt can be reused at the cached rate even when requests arrive hours apart. For a business content system it touches the cost of every drafting call that carries the same brand guide, voice rules and examples. This story works out when the longer cache saves money, when it costs more, and what has to change in a workflow before it helps.

What changed
Released 20 October 2026: the Responses API can keep a cached prompt prefix for a minimum of 12 hours, at a higher write rate than the default 30 minutes.
Who it affects
Teams that send the same long instructions to OpenAI models several times a day, from n8n, Zapier, Make or their own code, but not in quick succession.
Status
Available in the Responses API since 20 October 2026, for GPT-5.6 and later models. Not offered in Chat Completions.
Official source
OpenAI API changelog
Last checked

What OpenAI confirmed about the 12-hour cache, and when

Confirmed On 20 October 2026, the OpenAI API changelog said: “You can now choose 12-hour prompt caching in the API.” The entry, filed under the Responses API, says it keeps “shared instructions, tools, and context cached longer to benefit from lower cached-input pricing, even when requests are hours apart,” and that 12-hour cache writes cost 2.5 times the input token price. We are publishing this analysis on 14 November because the change was not covered here when it shipped.

Confirmed The prompt caching guide sets out the whole price ladder for GPT-5.6 and later models. A cache write costs 1.25 times the uncached input rate for the default 30-minute lifetime and 2.5 times for the 12-hour one, set with prompt_cache_options.ttl. Reads cost 0.1 times the ordinary input rate on most of these models, and 0.05 times on GPT-6.1 Sol and GPT-6.1 Terra, “regardless of the selected lifetime.” OpenAI adds that these are total rates, “not surcharges on top of ordinary input.”

The two cache lifetimes OpenAI now offers on current models

The defaultThe new 12-hour option

Minimum lifetime

at least 30 minutes

at least 12 hours

Write rate

1.25 times ordinary input

2.5 times ordinary input

Read rate

0.1 times, or 0.05 on Sol and Terra

the same as the default

Set it with

nothing to set

ttl set to 12h in the Responses API

Fits

calls in quick succession

calls hours apart

Fig 01 · Same reads, a longer lifeThe only thing the longer lifetime costs is a dearer write, because reads are priced the same either way, so the question is whether a prefix is reused often enough to repay that write.

Confirmed The cache stores work, not words. The guide says it keeps the key-value state the model computed for a reusable prefix, “the unchanged tokens at the beginning of a prompt,” and that reuse “requires the entire rendered prefix to match.” A prefix must be at least 1,024 visible tokens on GPT-5.6 and later. And the 12-hour lifetime is available “in the Responses API” only; Chat Completions keeps the default.

Put plainly, OpenAI now lets you pay more once to keep your standing instructions warm all day. Whether that is a saving depends on how often the same instructions are used and how far apart.

A content workflow’s prompt, before and after the change

Before this change, a cached prefix on a current model lived for a minimum of 30 minutes. That suits a burst: an editor drafting ten posts in a row reuses the brand guide on every call after the first. It does not suit how many content workflows actually run, which is a few calls spread across a day: a research summary at nine, a LinkedIn draft at eleven, a newsletter section after lunch, a caption at five. Each of those calls finds the cache expired and writes the prefix again.

Our read The arithmetic follows from OpenAI’s own rates, and it holds a surprise. Take one brand-guide prefix used eight times in a day, each call more than 30 minutes after the last, on a model that reads at 0.1 times. With no caching, the prefix costs eight times its input price. With the default lifetime, every call writes it again at 1.25 times, so it costs ten times: more than no cache at all. With the 12-hour lifetime, one write at 2.5 times and seven reads at 0.1 times come to 3.2 times. The guide makes the same kind of calculation for a burst, where one write and nine reads cost 2.15 times against ten.

One brand-guide prefix used eight times a day, more than 30 minutes apart

Default 30-minute cache written again on every call, ten times its input price

No caching at all processed in full each time, eight times

12-hour cache one write and seven reads, 3.2 times

Relative, not measured

Fig 02 · The default can cost moreOur arithmetic from OpenAI’s own rates, on a model that reads at 0.1 times: when calls are spread across the day, the short cache expires between them and every call pays the higher write rate.

So the change to make is to give the stable part of the prompt its own breakpoint with a 12-hour lifetime, and keep everything that changes after it. The guide’s example does exactly this: shared instructions and reference material in a developer message marked "prompt_cache_breakpoint": { "mode": "explicit", "ttl": "12h" }, session context marked with the default, and “the current question, which does not need a cache write” left unmarked. In a content workflow that means the voice guide, the do-not-say rules and two approved examples first, then today’s brief and source. Our guide to building a knowledge base for AI content describes what belongs in that stable block, and what goes into a business content knowledge base lists the files it is drawn from. On GPT-6.2 models the order matters even more, since instructions sent outside the first developer message now sit after the input and miss the cache; our GPT-6.2 Astra and Sol drafting story covers that edit.

The prefix has to be truly unchanged, and that is where most workflows lose the cache. OpenAI’s guide says to put timestamps, user-specific content and other changing text “at the end rather than the beginning,” to keep tool definitions, ordering and schemas the same, and to switch tools off with tool_choice set to none rather than removing them; the function calling guide describes both tool_choice and allowed_tools. Its table of settings that affect the prefix names the model, the tools, the output format and the reasoning effort, so a workflow that changes any of those per call writes a new cache each time.

In the automation layer, the setting is not on the form yet. The n8n OpenAI node’s text operations list options for Generate a Model Response, including maximum tokens, temperature, reasoning and a previous response ID, and no cache lifetime. A workflow that needs the 12-hour cache can call the Responses API from the n8n HTTP Request node, which can send a body defined as JSON.

That one HTTP step replaces the built-in OpenAI node only for the drafting call, and everything around it stays as it was. The step-by-step n8n content guide places the drafting call between the trigger and the review, and when a tool’s ready-made step lacks a setting, the three-way comparison of the automation tools explains the fallback each one offers.

Then check that it worked. The prompt cache diagnostics guide lets a request name an earlier response with prompt_cache_options.comparison_response_id and returns a reason when the expected prefix was not reused; usage.input_tokens_details.cached_tokens shows how much actually was. Our guide on measuring whether your content system works is where a number like that belongs: read weekly, beside the drafts it paid for.

What the cache does not promise, and what stays with a person

Confirmed A 12-hour lifetime is not a guarantee of a hit. The guide says the minimum lifetime “governs eligibility for cache-read pricing” and “does not guarantee that every request reuses stored KV tensors or has lower latency.” Cached states live on individual machines, traffic above about 15 requests per minute can be routed elsewhere, and caches “are not shared across organizations and cannot be reused across regional processing boundaries,” which OpenAI’s data residency guide describes per region.

Confirmed The higher write rate is paid even when nothing reads it. A 12-hour write is 2.5 times the input rate, twice the 30-minute write, so a prefix used once a day costs more with the long cache than without any. Upgrading an existing 30-minute entry to 12 hours “charges a new 12-hour write for those tokens, without credit for the earlier write.” And a 30-minute read of a 12-hour entry does not restart its 12-hour clock.

When the 12-hour cache pays: often means three or more uses a day

Often · stable

Use 12 hours

one write, then many cheap reads

Often · changing

Fix the prefix first

every change writes a new cache

Rarely · stable

Keep the default

a long write may never be read

Rarely · changing

Skip explicit caching

nothing stable to reuse

Left column: the prefix stays the same

Right column: the prefix changes per call

Fig 03 · Stable and frequent winsThe longer cache pays only where the same instructions come back often and unchanged, and a prefix that changes on every call gains nothing from any lifetime.

Confirmed Long conversations can lose the cache by design. The guide warns that summarising, compaction or truncating context “can change the prefix and reset cache reuse,” and the conversation state guide notes that, even when responses are chained with previous_response_id, all earlier input tokens “are billed as input tokens.” Caching lowers the rate on those tokens; it does not remove them.

Confirmed The cache is stored data, and a team with data rules should know where. OpenAI’s data controls page says prompt caching “may store encrypted key/value tensors in GPU-local storage as application state,” not retained after the 24-hour expiration, and that the 12-hour setting “controls the minimum cache lifetime, not this maximum application-state retention period.”

What stays with a person is the content of the prefix itself. A cache makes a wrong voice guide cheaper to repeat, not right. Someone owns the brand guide, decides when it changes, and accepts that each change starts a new cache. Our guide to automated content checks a machine can enforce covers what to test on the drafts the cached guide produces, and why automated content stops working explains what happens when nobody updates it.

How Paper Eagle AI reads the 12-hour cache

Our read The 12-hour cache rewards a well-built content system and does nothing for a loose one. A system that keeps its knowledge in one place and sends it to the model the same way every time has a long, stable prefix to cache. A setup where each person pastes their own version of the brand voice into a chat window has nothing stable to reuse. That is the difference our post asking whether you can just use ChatGPT for content draws between a tool and a system.

Our read We would decide the lifetime per workflow from one number: how many times a day the same prefix is used, more than 30 minutes apart. Three or more favours 12 hours on a model that reads at 0.1 times; one or two favours the default or no explicit breakpoint at all. A weekly repurposing job is better sent through the Batch API, which OpenAI says brings “50% lower costs” and a 24-hour turnaround. Our guide to a repurposing workflow that does not create generic content describes the job that fits that pattern. Counting that number honestly needs a prefix that stays identical between calls, and our OpenAI prompt caching guide for content workflows sets out the layer order that keeps it so.

Our read The cheaper reads on two models change which model a stable workflow should use. The GPT-6.1 Terra model page and the GPT-6.1 Sol model page both say cached input is priced at 5% of the uncached rate. For a drafting step with a long cached brand guide, that halves the cost of the reused part compared with a model at 0.1 times. Our story on GPT-6.1 Terra for content drafts covers what to test before that model drafts anything.

Our read Other providers price the same idea differently, so the comparison is worth making once. Anthropic’s prompt caching documentation offers a 5-minute default and a 1-hour lifetime whose writes cost 2 times the base input price. Google’s Gemini context caching page says implicit caching is on by default and that, for Gemini 4 models, explicit caching is not supported. One Google model can use neither: our story on Gemini Decision 1’s calibrated checks notes that its Decisions API supports no context caching, so a long voice guide is paid for on every request.

Our read So a team that runs a different model at each step should set caching step by step, by each provider’s own rules. Our reading of Fable 5.2 on long research and drafting jobs and our story on where Google’s fast Hydrogen model fits each describe a step a cache setting would apply to.

Our read None of this is worth doing before you know what your drafting calls cost. Our breakdown of what content automation software costs argues that tool bills are usually the small part. Measure first, then cache the workflows that run most often, as our guide to structuring n8n workflows for a content system recommends keeping each model call in its own clearly named step so it can be changed alone. The ChatGPT content guides collect the rest of our writing on OpenAI’s tools.

What could come next

Forecast Our assumption is that automation tools add a cache setting to their OpenAI steps, because the setting changes cost by several times and most users never see the request body. If n8n, Zapier or Make add it, the HTTP workaround above becomes a field on the form. None of the three has announced it, and the n8n documentation we read lists no such option today.

Forecast OpenAI already lets a request prewarm the cache: the guide describes prompt_cache_options.prewarm for preparing known context before the first real question. On the assumption that this pattern spreads, a content system could prewarm its brand guide once at the start of a working day and run every later call against it. That rests on prewarming staying available and priced as an ordinary write, which OpenAI could change.

What this means for a business owner

What happened
OpenAI added a 12-hour prompt cache to its Responses API on 20 October 2026, at a higher write rate than the default 30 minutes.
Why it matters
A brand guide sent to the model a few times a day, hours apart, can now be paid for mostly at the cached rate instead of in full every time.
What to change
Count how often each workflow reuses the same instructions in a day, and use the 12-hour cache only where that is three times or more.
In a designed workflow
The voice guide and examples sit first and never change mid-day, the brief comes after them, and a weekly report shows how much of each call was read from cache.
One limit
A longer lifetime does not guarantee a cache hit, and a prefix used once a day costs more with the 12-hour cache than with no cache at all.

Deciding which steps of your content automation are worth caching starts with knowing what each one sends to the model, and a content automation specialist maps that before changing any setting. Our published setup prices are on the content automation pricing page, so the model bill can be weighed against the build.

Sources and dates

Every page this story relies on, the provider’s own pages first. We read each one on the date shown.

  1. OpenAI — OpenAI API changelog, entry for 20 October 2026 · read 14 November 2026
  2. OpenAI — Prompt caching, OpenAI API documentation · read 14 November 2026
  3. OpenAI — Prompt cache diagnostics, OpenAI API documentation · read 14 November 2026
  4. OpenAI — Data controls in the OpenAI platform, application state and retention · read 14 November 2026
  5. OpenAI — Data residency, OpenAI API documentation · read 14 November 2026
  6. OpenAI — Function calling, including tool_choice and allowed_tools · read 14 November 2026
  7. OpenAI — Compaction, OpenAI API documentation · read 14 November 2026
  8. OpenAI — Conversation state, OpenAI API documentation · read 14 November 2026
  9. OpenAI — Batch API, OpenAI API documentation · read 14 November 2026
  10. OpenAI — GPT-6.1 Terra, OpenAI API model page · read 14 November 2026
  11. OpenAI — GPT-6.1 Sol, OpenAI API model page · read 14 November 2026
  12. Anthropic — Prompt caching, Claude Platform documentation · read 14 November 2026
  13. Google — Context caching, Gemini API documentation · read 14 November 2026
  14. n8n — OpenAI Text operations, n8n documentation · read 14 November 2026
  15. n8n — HTTP Request node, n8n documentation · read 14 November 2026

About the author

Shreyas Dave is the founder of Paper Eagle AI, and he still runs it. He designs Content Operating Systems for businesses with real expertise — the knowledge architecture, the content strategy and the automation that runs them, built in Claude Code and n8n, with Zapier or Make.com where they fit better. He reads every update on this page against the systems he builds and runs, including the ones behind Paper Eagle AI’s own publishing. Read more about Shreyas and how Paper Eagle AI started, or follow Shreyas Dave on LinkedIn, where he writes about content automation as he builds it.

Disclosure

This analysis was written by Shreyas Dave, founder of Paper Eagle AI, on the date shown above. We sell content automation services, so we have a commercial interest in how these updates are read — read it knowing that. No company covered here was involved in writing it, nobody paid for a mention, and there are no affiliate links anywhere on this site. Every fact links to the page that states it; what we think it means is labelled as ours, and every forecast is labelled as one.

Paper Eagle AI builds Content Operating Systems that turn a business’s knowledge and expertise into consistent, multi-platform content, and we deliver them as content automation services. Working as a content automation specialist, we capture what a business knows and how it sounds, set the strategy, and build the workflows that research, draft, repurpose and publish — with a named person approving every piece before it goes out. Every build runs through discovery, design, build and handoff. The system lives in the client’s own accounts, it is documented, the team is trained to run it, and the business owns it outright. We don’t write content on a retainer, and we don’t build lead generation, CRM or sales automation.

One source of thinking becomes native content for every platform a business publishes on: the founder’s LinkedIn and the company page, YouTube and Shorts, Instagram and Reels, TikTok, Reddit, Medium, newsletters, and the company’s own website, written to be found in Google and understood by AI search. Our multi-platform content automation page shows how they share one source, and our case studies document the systems behind our own publishing, file by file. You can follow the work on the company’s own channels: Paper Eagle AI on Instagram, Paper Eagle AI on YouTube, the Paper Eagle AI company page on LinkedIn, Paper Eagle AI on Substack, Paper Eagle AI on Reddit and Paper Eagle AI on Medium. Paper Eagle AI is also listed where clients can review its work: Paper Eagle AI on Clutch, Paper Eagle AI on GoodFirms and the Paper Eagle AI Google Business Profile.

Keep reading

Your content workflow sends the same instructions all day, and pays for them in full each time.

We can find the steps that reuse the same brand guide, keep that guide stable and first in every call, and show you each week how much of the cost the cache is saving.

Map the Model Choices in My Content Workflow