Most teams still price language-model calls as if every request were a stranger. The system prompt is resent. The tool schemas are resent. Yesterday’s durable policy text is resent. The meter treats repetition as destiny.
OpenAI’s longer prompt-cache lifetime—twelve hours, opt-in through the Responses API—does not invent caching.
It changes the default economic story of agent products: shared context can survive a coffee break, a standup, and the gap between two user sessions, if you are willing to pay a higher write price for that privilege.
That sentence is the whole plot. The rest is discipline.
The mechanism, without the mythology

Figure: OpenAI Release Notes official header art (source: OpenAI / Contentful CDN)
Prompt caching reuses KV state for a matching prompt prefix. You are not storing “the answer.” You are preserving intermediate attention state so the model does not re-digest tokens it has already seen.
For recent model families in the Responses API, OpenAI exposes an explicit lifetime control: keep the familiar short minimum (on the order of thirty minutes) at a milder cache-write multiplier, or choose a twelve-hour minimum at a steeper write multiplier—about 2.5× ordinary input—while cache reads stay sharply discounted (commonly about 0.1×, and lower on some SKUs).
Two details matter more than the headline:
- Lifetime is a floor, not a loyalty program. A twelve-hour setting is a minimum retention target for cache-read eligibility. It is not a promise that every routed replica will magically hit, nor a rewrite of your org’s data-retention policy.
- Breakpoints are product surface area. Explicit breakpoints let you pin a long-lived prefix (policies, tool contracts, reference packs) at twelve hours, while session chatter rides a shorter lifetime—or sits after the last breakpoint so it never pays a write premium for content that will never be reused.
OpenAI’s own guidance is blunt about failure modes that look like “caching is broken” from the outside: a shared prefix that never reaches the minimum cacheable length; an implicit write that ends inside dynamic user text; switching to explicit-only mode and forgetting to place a breakpoint where the old implicit end used to be; compaction that rewrites history and silently resets reuse.
The feature is sharp. Misplaced content is still expensive.
Why agents feel this first

Figure: Short TTL fits dense turns; 12h is a priced bet on idle gaps
A chatbot turn is often one prefix and one answer. An agent turn is a prefix that grows: developer instructions, tool definitions, prior tool results, a creeping transcript.
High-volume agent products already behave like cache natives—OpenAI even notes that carefully structured multi-turn agents can see very high token hit rates when history is append-only and tools stay schema-stable.
Twelve hours extends that logic across idle gaps.
Think about the shapes that dominate real calendars:
- A support copilot that sees the same playbook all day, with minutes or hours between tickets.
- A code agent whose repository rules and MCP tool cards barely change, while the user disappears into meetings.
- A batch of overnight evals that should warm a rubric once, then grade thousands of transcripts.
In each case, the expensive object is not “intelligence.” It is re-reading your own constitution. If that constitution expires every time a pod scales or a worker idles past a short window, you will keep paying tuition to your own boilerplate.
The unpopular arithmetic: writes can be the villain
Teams cheer for discounted reads and ignore write multipliers until finance forwards a chart. A twelve-hour write that is never read is not thrift; it is prepayment for a ghost. The sane checklist is boring and mandatory:
- Put stable bytes first: policies, tool schemas, retrieved reference packs that truly repeat.
- Put volatile bytes last: timestamps, per-user gossip, the live question.
- Prefer explicit-only mode when the suffix is disposable, so you do not write a cache entry you will never hit.
- Mix lifetimes deliberately: twelve hours for the company brain; thirty minutes for the thread.
- Meter
cached_tokens,cache_write_tokens, and the split between short and long write buckets. If you cannot explain those fields in a standup, you are not ready to enable the long TTL in production.
Also remember routing reality: caches live on machines; overflow routing can miss; organizations do not share caches. A beautiful prefix design still loses if your traffic pattern sprays related requests across cold hosts. Observability beats folklore.
Product stance: treat cache policy as UX
I will take a side. Prompt-cache TTL should be a first-class product control, not a hidden platform flag flipped by whoever read the changelog first.
It changes latency tails, gross margin, and even what features you dare ship (huge tool catalogs, long policy packs, always-on agents). That means PMs and tech leads should decide, together:
- Which text is “brand constitution” versus “session scratch.”
- Whether prewarm requests are worth their write cost at morning traffic spikes.
- How to separate cache accounting per customer when bill-back matters—without turning keys into a cargo cult on models that no longer need them for routing.
Competitors will keep cutting small-model prices and cache-read rates; that race is real. But a twelve-hour lifetime is a different lever. It rewards teams who can keep prefixes stable.
It punishes teams who regenerate prompts like they regenerate UI mockups—weekly, casually, with silent drift.
What to do this sprint
Ship one experiment, not a manifesto:
- Pick a single agent path with a stable tool set.
- Measure seven days of input cost with short TTL only.
- Enable twelve-hour writes solely for the verified-stable prefix; leave the live question uncached.
- Compare hit rate, write waste, p95 time-to-first-token, and dollars per completed task.
- Kill the long TTL if write waste dominates. Keep it if your day has natural gaps and your prefix hygiene is real.
Caching will not make a weak agent competent. It will make a competent agent affordable enough to leave on.
In a market where every vendor sells “agentic” as a vibe, affordability that survives an afternoon idle period is a sharper advantage than another leaderboard screenshot.
Cache as an interface contract between PM and platform

Figure: A–D prefix constitution — only stable bytes pay for long TTL writes
Once a twelve-hour lifetime exists, prompt structure stops being a private taste of the prompt engineer. It becomes an interface contract. Product managers decide which paragraphs are “constitution” (rare edits, high reuse).
Platform engineers decide where breakpoints sit, which TTL applies, and how write waste is alerted. Security decides whether long-lived KV retention conflicts with customer isolation promises.
If those three roles never meet, you will get the worst blend: marketing claims about cheaper agents, finance shock about write multipliers, and a security review that arrives after traffic is already hot.
A useful meeting artifact is a one-page Prefix Constitution:
- Section A: immutable for the quarter (policies, tool contracts). TTL: twelve hours. Owners: legal + platform.
- Section B: weekly-stable references (retrieval packs, grading rubrics). TTL: twelve hours or thirty minutes after measuring reuse gaps. Owners: domain leads.
- Section C: per-session state. TTL: short, or no cache write. Owners: application.
- Section D: the live user turn. Never written as a long-lived prefix ending.
Pin that document next to the API key rundbook. When someone “just tweaks the system prompt,” they must update the constitution or accept a measured hit-rate regression.
Interaction with agents, evals, and overnight batch
Agent loops love caching when history is append-only. They punish caching when every turn rewrites earlier tool results “for cleanliness.” Resist the urge to constantly normalize transcripts.
Append, then summarize into a new message if you must; do not mutate the prefix you hoped to reuse.
Evaluation harnesses are an even cleaner win. A judge rubric that barely changes should be warmed once—optionally with an explicit prewarm request—then reused across a night of grading.
Teams that re-send a 3k-token rubric on every row are lighting money on fire with scholarly dignity. Track dollars per graded item before and after long TTL.
If the curve does not bend, your prefix is not actually stable, or your traffic never returns to the machines that hold the cache.
Competitive context without scoreboard cosplay
Other labs keep cutting small-model prices and cache-read rates. That pressure is healthy. It does not replace lifetime control.
A cheaper model that re-reads a bloated prefix on every idle-gap turn can still lose to a pricier model with disciplined breakpoints. The winning teams will do both: route easy steps to cheaper models and stop reprocessing their own boilerplate.
Treat those as parallel workstreams, not substitute slogans.
Be equally careful with narrative capture. A release-note bullet about twelve-hour caching is not a reason to declare “memory solved.” Prompt cache is computational reuse, not durable user memory.
If your product needs facts to survive weeks, you still need a memory store with versions and conflict rules. Mixing those vocabularies creates false confidence and very real outages.
Governance checklist for enabling 12h in production
- Confirm model eligibility and the exact write/read multipliers on your SKU.
- Add dashboards for
cached_tokens,cache_write_tokens, and TTL bucket splits. - Set a write-waste alert: writes with no subsequent read within the chosen lifetime.
- Separate customer cache accounting if bill-back or anti-probing matters.
- Document Zero Data Retention interactions so nobody assumes twelve hours overrides org policy.
- Run a seven-day A/B on one agent path before global rollout.
- Require prefix-constitution review for any system-prompt change above a size threshold.
If step three is missing, you are not operating a cache; you are operating a bonfire with better branding.
Closing stance
Twelve hours is not magic. It is a priced option on stability. Buy it when your agent’s brain genuinely persists across human-scale gaps. Decline it when your prompts are still a weekly improvisation.
The industry does not need another announcement that “agents are cheaper now.” It needs teams who can show a chart where reuse, not wishful routing, bent the cost curve.
Sources:
- OpenAI Release Notes — 12-hour prompt caching
- Prompt caching guide (TTL, breakpoints, gotchas)
- API changelog
- Independent engineering summary of per-prefix TTLs


2026-10-23Sherlock