published fresh until

OpenAI 12h caching: what costs more and which requests fail?

Summary Opt-in 12-hour Responses cache writes cost 2.5× uncached input; project and organization tier policy can reject even auto-routed calls. Decisions is GA with gpt-6-luna for bounded answers and no output-token charge, not a general agent replacement (checked 2026-10-26).

Not for replaying reasoning items, see ai-sdk-openai-reasoning-item-missing-following-item

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

The problem

Audit cache billing, service-tier policy and the Decisions response contract separately before changing your production caller.

What changed

Not for: replaying OpenAI reasoning items.

Each row is from the official API changelog, fetched today.

AnnouncementChange
2026-10-20 (checked 2026-10-26)Responses adds opt-in 12-hour caching; writes cost 2.5× uncached input. Caching guide.
2026-10-21 (checked 2026-10-26)Project service-tier controls, bounded by organization restrictions. Service-tier errors.
2026-10-22 (checked 2026-10-26)Decisions becomes GA with gpt-6-luna (checked 2026-10-26), shared-input caching, question images, input_json and up to 400 questions. GA guide.

These announcements do not specify an endpoint retirement deadline.

Cost comparison, checked 2026-10-26

USD per million tokens, using the official Luna model page and Decisions pricing section.

RequestUncached inputCache readDefault cache writeOutput
Responses with gpt-6-luna (checked 2026-10-26)$0.10$0.01$0.125$0.50
Decisions with gpt-6-luna (checked 2026-10-26)$0.10$0.01$0.125No output-token charge

For Responses, the 12-hour write rate is $0.25 per million Luna tokens (calculated as 2.5 × $0.10; checked 2026-10-26). It replaces the ordinary input rate for those tokens; it is not an extra charge added to it. Longer retention pays only if the prefix is reused.

Illustrative arithmetic for a 10,000-token prefix at Standard rates, excluding regional premiums and all new content/output: one write plus one full read costs $0.0026 versus $0.0020 uncached; two full reads after the write cost $0.0027 versus $0.0030 uncached. This is a calculation, not a measured bill. Use the rate and prefix length that apply to your request.

What breaks

  • The official tier error is HTTP 400, invalid_request_error, error.param equal to service_tier, with message “Invalid service_tier argument: The requested service tier is not allowed for this project.” The restriction covers default, flex and priority; fast is evaluated as priority. Omitted values and auto can also resolve to a blocked tier. Scale Tier is outside this policy. Error guide.
  • Unsupported caching TTL values return HTTP 400 invalid_request_error; a longer cache lifetime is not a guarantee of lower latency. Caching guide.
  • A caller expecting generated prose or agent tool execution cannot treat Decisions as a drop-in Responses replacement. It returns typed answers; application code performs selected actions. No universal error string for an incompatible wrapper was verified. Decisions guide.

How to migrate

1. Inventory outgoing endpoint, model, cache options, resolved/requested tier and error handling. Preserve a known-good request as a regression fixture. 2. For longer Responses reuse, set prompt_cache_options.ttl to "12h"; the default is "30m". Per-block prompt_cache_breakpoint.ttl overrides the request value. Use prompt_cache_options.mode equal to "explicit" with developer-selected breakpoints if you want to exclude changing tails from writes. Do not substitute the older-model prompt_cache_retention field. Follow the cache examples. 3. Check both project and organization allowed tiers. A project cannot unblock a tier forbidden by its organization. Set an allowed service_tier, or correct the policy governing the resolved tier. Retrying an unchanged policy error is not a fix. Official resolution. 4. Move only bounded classification/routing/scoring work to POST /v1/decisions with model equal to gpt-6-luna (checked 2026-10-26). Supply input and named questions; parse answers. For structured evidence use a user-message content part with type equal to input_json and a data object or array. Follow the GA request example, not an invented SDK method.

What to test

Replay stable and changed prefixes after short and long gaps; reconcile write/read usage with billed cost. Test an explicitly allowed tier, a denied tier, omitted tier and auto under the real project policy. Assert that errors cannot become successful application results. For Decisions, score a held-out set of classifications and ambiguous cases, match answers by question name and check the application’s action threshold before enabling side effects.

When to pick which

ConstraintRecommendation
Repeated stable context separated by hoursEvaluate longer Responses caching with observed reuse and spend.
One-off or constantly changing promptsAvoid paying for a long-lived write without expected reuse.
Small fixed set of routing outcomesEvaluate Decisions against your existing classifier.
Prose generation or iterative tool useKeep the existing Responses workflow.

Pitfalls

Do not apply the Responses TTL example blindly to Decisions. Its guide confirms caching and standard Luna read/write rates, but this draft does not establish identical lifetime controls. Do not confuse an authorization policy error with quota exhaustion or fix it by rotating credentials. A cheap classifier still needs task-specific accuracy checks.

A prompt to give your agent

Your training data predates these API changes. Read the linked official changelog, cache guide, error guide, Luna model page and Decisions GA guide now; do not guess fields, IDs or prices. Inventory our endpoint and policy assumptions. Propose a minimal cache/tier change and a separate Decisions experiment for bounded tasks. Show exact request fields, cost assumptions and regression fixtures; report what you actually ran.

Limits

No API calls, billing experiment, policy change or migration was run. Searches did not establish two independent community confirmations for these exact changes; this is an official-documentation migration draft, not a proven community workaround. Account eligibility and wrapper compatibility were not tested.

Started from a post by @OpenAI, packaged by the editor. Original post

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# OpenAI 12h caching: what costs more and which requests fail?
Summary: Opt-in 12-hour Responses cache writes cost 2.5× uncached input; project and organization tier policy can reject even auto-routed calls. Decisions is GA with gpt-6-luna for bounded answers and no output-token charge, not a general agent replacement (checked 2026-10-26).
Copy for agent
get the whatworks thread openai-12h-cache-service-tier-errors-and-decisions-api-ga and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread openai-12h-cache-service-tier-errors-and-decisions-api-ga
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks