OpenAI’s September 22, 2026 GPT-6 announcement says eligible shared prompt prefixes can receive cached-input discounts when reused within 30 minutes, and introduces cache dashboards and miss diagnostics, explicit cache breakpoints, cache-preserving reasoning-effort changes, and prewarming. OpenAI and partner testimonials report improved cache-hit rates and lower costs, but these are not independent benchmarks. A newer October 21 Hacker News post, citing an OpenAI employee’s social-media post, reports a 12-hour API cache option and cache retained “forever” for logged-in Codex and Work users; the supplied evidence does not include a primary announcement or clarify the conditions behind that claim.
If the reported 12-hour API option and persistent Codex/Work cache are confirmed as described, they could reduce costs and make long-running or resumed agent sessions more practical; the API claim now has an apparent official release-note citation, while product limits remain unclear.
OpenAI’s September 22 GPT-6 announcement establishes eligible shared-prefix caching within a 30-minute window, with dashboards, miss diagnostics, explicit breakpoints, prewarming, and cache-preserving reasoning-effort changes. OpenAI advertises cached-input discounts of up to 90%; partner examples report improved hit rates and lower costs but are not independent benchmarks. A newer Reddit post links to OpenAI release notes that it says describe a 12-hour API cache, with cache writes costing 2.5 times more; this materially strengthens the earlier report attributed to an OpenAI employee, though the linked primary page’s contents are not included here. Separate employee-attributed reports say logged-in Codex and Work users retain cache indefinitely and are guaranteed a hit when resuming, but those details and their conditions remain unverified. Track official documentation and independent measurements, especially eligibility, actual cache-hit behavior, and the costs and limits of long retention.
| source | object | author | score | comments |
| 🟧 hn | Better prompt caching for GPT‑6Retrieved article excerptOpen article · Retrieved 2026-09-22T20:24:16.384144+00:00 September 22, 2026
[Product](https://openai.com/news/product-releases/)
# Better prompt caching for GPT‑6
Higher cache hit rates and new tools to help persistent agents run faster and cost less.
Loading…
Share
GPT‑6 enables persistent agents to work for hours on complex tasks, from refactoring codebases to producing well-researched documents and presentations. The applications behind these agents make a series of API requests that build on one another, often carrying forward the same instructions, tool definitions, and context from earlier turns. OpenAI caches that shared context to reuse computation across requests, reducing response times and giving developers discounts of up to 90% on cached input tokens.
With the GPT‑6 family, we launched an improved prompt caching system that delivers higher cache hit rates by default. We now give cache discounts for eligible shared prefixes reused within a 30-minute window. We’re also introducing new tools to help developers monitor cache performance, diagnose misses, and choose how much of a prompt to cache.
> “OpenAI’s prompt caching plays a critical role in helping GitHub Copilot deliver fast, efficient experiences at scale. Over the past several months, we’ve reduced by more than 50% the share of prompt tokens requiring fresh processing across billions of requests to OpenAI models, relative to our previous baseline. The result is a more efficient inference stack and faster time to first response for developers.”
—Mario Rodriguez, Chief Product Officer
## Monitor caching and diagnose cache misses
The new [Prompt Caching Dashboard(opens in a new window)](https://platform.openai.com/usage?usage_section=prompt-caching) shows how much of your application’s input is served from cache. Track hit rates over time and use the input composition chart to compare cached and uncached tokens. These views help you spot drops in cache hits and evaluate how changes to your application impact caching performance.
Prompt caching dashboard showing cache hit rate, cache performance over time, and input token composition.
When you see an unexpected cache miss, use the [prompt caching diagnostics tool(opens in a new window)](https://developers.openai.com/api/docs/guides/prompt-caching/diagnostics) to understand what happened. Compare a request with a recent response to identify changes to the model, tools, settings, or input that prevented reuse. The estimated number of affected tokens helps you assess the size of the impact and decide how you can optimize your integration to maximize cache hit rates.
```
{
"prompt_cache_diagnostics": {
"type": "cache_miss",
"reason": "tools_changed",
"comparison_reusable_tokens": 5629,
"cache_missed_tokens": 5629
}
}
```
## Optimize caching for your application
**Choose what to cache.** Explicit cache breakpoints let you choose which prompt prefixes to reuse. The refreshed [prompt caching guide(opens in a new window)](https://developers.openai.com/api/docs/guides/prompt-caching) explains how to use them, how long cached prefixes remain eligible, and how changes to tools and inputs affect reuse.
**Adjust reasoning effort without breaking cache.** On GPT‑6 models, you can now [change reasoning effort(opens in a new window)](https://developers.openai.com/api/docs/guides/reasoning?api-mode=responses#change-reasoning-mid-conversation) between responses without breaking cache. Raise effort for a harder task or lower it for a routine follow-up by appending a `configuration_update` while leaving request-level reasoning effort unchanged. This lets you adjust how much reasoning a task needs while preserving reusable context.
**Preserve cache as tools and instructions change.** As your agent’s tool use needs change, keep tool definitions, schemas, and ordering stable so earlier context stays reusable. Use `allowed_tools` to make only the relevant tools callable, or set tool\_choice to none when no tools are needed, instead of removing definitions. Use new developer messages to append new instructions towards the end of the context to override older ones. See our [guidance on managing tool changes(opens in a new window)](https://developers.openai.com/api/docs/guides/prompt-caching#manage-tools-with-append-only-updates).
**Prewarm the cache to reduce latency.** [Prewarming(opens in a new window)](https://developers.openai.com/api/docs/guides/prompt-caching#prewarm-the-cache) prepares known context ahead of time so the model can start responding sooner when a request arrives. For example, an application can prewarm shared instructions, tool definitions, or reference material during startup, before the user asks their first question. This moves processing out of the user’s wait time.
These optional controls build on the engine’s default performance, helping you tailor caching to your workload.
1 of 3
> “OpenAI’s prompt caching diagnostics and dashboard helped us improve cache hit rates by a few percentage points, reducing costs by 20%. We now get alerts when caching breaks unexpectedly and use Codex agents to diagnose the root cause. Explicit breakpoints also let us cache stable context while keeping frequently changing content at the end of the prompt. That’s made it economically viable to fork conversations for background tasks while reusing nearly all of the shared context.”
—Arian Hanifi, Chief Technology Officer
> “For long-running agents like Manus, reliable caching is fundamental to the economics. Working with OpenAI's engineering team, we refined cache breakpoint placement, combined explicit and automatic caching, and used real requests to pinpoint unexpected cache misses. In less than a week, our OpenAI model cache hit rate went from roughly 85% to consistently above 90%, further lowering inference costs in production. The progress came through a series of targeted improvements, with both teams validating the results along the way.”
—Bin Fan, Agent Team Lead
> “Working with OpenAI, we moved our session agents to explicit cache breakpoints. In under a week, cache hit rates on our evaluations rose from 83% to 91%. This meant fewer cache writes and lower inference costs with the same workload; the cache writes fell by roughly two-thirds, and inference costs by 36%.”
—Eugene Mikhantyev, AI Engineer
- Strawberry Browser
- Manus
- Wordsmith
- Strawberry Browser
- Manus
- Wordsmith
## Get started
- Monitor cache hit rates in the [Prompt Caching Dashboard(opens in a new window)](https://platform.openai.com/usage?usage_section=prompt-caching).
- Investigate unexpected misses with the [diagnostics tool(opens in a new window)](https://developers.openai.com/api/docs/guides/prompt-caching/diagnostics).
- Follow the [prompt caching guide(opens in a new window)](https://developers.openai.com/api/docs/guides/prompt-caching) to improve your setup, or [use Codex(opens in a new window)](https://developers.openai.com/api/docs/guides/prompt-caching#how-to-optimize-prompt-caching) to review your code, apply improvements, and measure results.
- [API](https://openai.com/news/?tags=api)
- [2026](https://openai.com/news/?tags=2026)
## Author
OpenAI
## Keep reading
[View all](https://openai.com/news/)
Introducing GPT-6 Sol and Luna — Art card
[Introducing GPT-6 Sol and Luna
ProductSep 22, 2026](https://openai.com/index/introducing-gpt-6-sol-and-luna/)
Reimagining advertising with AI — Card cover
[Reimagining advertising with AI
ProductSep 16, 2026](https://openai.com/index/reimagining-advertising-with-ai/)
How to connect AI usage to business value — art card
[How to connect AI usage to business value
ProductSep 16, 2026](https://openai.com/index/how-to-connect-ai-usage-to-business-value/) | mehrdadrad | 3 | 2 |
| 🟧 openai ⭐ | Better prompt caching for GPT-6Retrieved article excerptOpen article · Retrieved 2026-09-22T20:24:16.384144+00:00 September 22, 2026
[Product](https://openai.com/news/product-releases/)
# Better prompt caching for GPT‑6
Higher cache hit rates and new tools to help persistent agents run faster and cost less.
Loading…
Share
GPT‑6 enables persistent agents to work for hours on complex tasks, from refactoring codebases to producing well-researched documents and presentations. The applications behind these agents make a series of API requests that build on one another, often carrying forward the same instructions, tool definitions, and context from earlier turns. OpenAI caches that shared context to reuse computation across requests, reducing response times and giving developers discounts of up to 90% on cached input tokens.
With the GPT‑6 family, we launched an improved prompt caching system that delivers higher cache hit rates by default. We now give cache discounts for eligible shared prefixes reused within a 30-minute window. We’re also introducing new tools to help developers monitor cache performance, diagnose misses, and choose how much of a prompt to cache.
> “OpenAI’s prompt caching plays a critical role in helping GitHub Copilot deliver fast, efficient experiences at scale. Over the past several months, we’ve reduced by more than 50% the share of prompt tokens requiring fresh processing across billions of requests to OpenAI models, relative to our previous baseline. The result is a more efficient inference stack and faster time to first response for developers.”
—Mario Rodriguez, Chief Product Officer
## Monitor caching and diagnose cache misses
The new [Prompt Caching Dashboard(opens in a new window)](https://platform.openai.com/usage?usage_section=prompt-caching) shows how much of your application’s input is served from cache. Track hit rates over time and use the input composition chart to compare cached and uncached tokens. These views help you spot drops in cache hits and evaluate how changes to your application impact caching performance.
Prompt caching dashboard showing cache hit rate, cache performance over time, and input token composition.
When you see an unexpected cache miss, use the [prompt caching diagnostics tool(opens in a new window)](https://developers.openai.com/api/docs/guides/prompt-caching/diagnostics) to understand what happened. Compare a request with a recent response to identify changes to the model, tools, settings, or input that prevented reuse. The estimated number of affected tokens helps you assess the size of the impact and decide how you can optimize your integration to maximize cache hit rates.
```
{
"prompt_cache_diagnostics": {
"type": "cache_miss",
"reason": "tools_changed",
"comparison_reusable_tokens": 5629,
"cache_missed_tokens": 5629
}
}
```
## Optimize caching for your application
**Choose what to cache.** Explicit cache breakpoints let you choose which prompt prefixes to reuse. The refreshed [prompt caching guide(opens in a new window)](https://developers.openai.com/api/docs/guides/prompt-caching) explains how to use them, how long cached prefixes remain eligible, and how changes to tools and inputs affect reuse.
**Adjust reasoning effort without breaking cache.** On GPT‑6 models, you can now [change reasoning effort(opens in a new window)](https://developers.openai.com/api/docs/guides/reasoning?api-mode=responses#change-reasoning-mid-conversation) between responses without breaking cache. Raise effort for a harder task or lower it for a routine follow-up by appending a `configuration_update` while leaving request-level reasoning effort unchanged. This lets you adjust how much reasoning a task needs while preserving reusable context.
**Preserve cache as tools and instructions change.** As your agent’s tool use needs change, keep tool definitions, schemas, and ordering stable so earlier context stays reusable. Use `allowed_tools` to make only the relevant tools callable, or set tool\_choice to none when no tools are needed, instead of removing definitions. Use new developer messages to append new instructions towards the end of the context to override older ones. See our [guidance on managing tool changes(opens in a new window)](https://developers.openai.com/api/docs/guides/prompt-caching#manage-tools-with-append-only-updates).
**Prewarm the cache to reduce latency.** [Prewarming(opens in a new window)](https://developers.openai.com/api/docs/guides/prompt-caching#prewarm-the-cache) prepares known context ahead of time so the model can start responding sooner when a request arrives. For example, an application can prewarm shared instructions, tool definitions, or reference material during startup, before the user asks their first question. This moves processing out of the user’s wait time.
These optional controls build on the engine’s default performance, helping you tailor caching to your workload.
1 of 3
> “OpenAI’s prompt caching diagnostics and dashboard helped us improve cache hit rates by a few percentage points, reducing costs by 20%. We now get alerts when caching breaks unexpectedly and use Codex agents to diagnose the root cause. Explicit breakpoints also let us cache stable context while keeping frequently changing content at the end of the prompt. That’s made it economically viable to fork conversations for background tasks while reusing nearly all of the shared context.”
—Arian Hanifi, Chief Technology Officer
> “For long-running agents like Manus, reliable caching is fundamental to the economics. Working with OpenAI's engineering team, we refined cache breakpoint placement, combined explicit and automatic caching, and used real requests to pinpoint unexpected cache misses. In less than a week, our OpenAI model cache hit rate went from roughly 85% to consistently above 90%, further lowering inference costs in production. The progress came through a series of targeted improvements, with both teams validating the results along the way.”
—Bin Fan, Agent Team Lead
> “Working with OpenAI, we moved our session agents to explicit cache breakpoints. In under a week, cache hit rates on our evaluations rose from 83% to 91%. This meant fewer cache writes and lower inference costs with the same workload; the cache writes fell by roughly two-thirds, and inference costs by 36%.”
—Eugene Mikhantyev, AI Engineer
- Strawberry Browser
- Manus
- Wordsmith
- Strawberry Browser
- Manus
- Wordsmith
## Get started
- Monitor cache hit rates in the [Prompt Caching Dashboard(opens in a new window)](https://platform.openai.com/usage?usage_section=prompt-caching).
- Investigate unexpected misses with the [diagnostics tool(opens in a new window)](https://developers.openai.com/api/docs/guides/prompt-caching/diagnostics).
- Follow the [prompt caching guide(opens in a new window)](https://developers.openai.com/api/docs/guides/prompt-caching) to improve your setup, or [use Codex(opens in a new window)](https://developers.openai.com/api/docs/guides/prompt-caching#how-to-optimize-prompt-caching) to review your code, apply improvements, and measure results.
- [API](https://openai.com/news/?tags=api)
- [2026](https://openai.com/news/?tags=2026)
## Author
OpenAI
## Keep reading
[View all](https://openai.com/news/)
Introducing GPT-6 Sol and Luna — Art card
[Introducing GPT-6 Sol and Luna
ProductSep 22, 2026](https://openai.com/index/introducing-gpt-6-sol-and-luna/)
Reimagining advertising with AI — Card cover
[Reimagining advertising with AI
ProductSep 16, 2026](https://openai.com/index/reimagining-advertising-with-ai/)
How to connect AI usage to business value — art card
[How to connect AI usage to business value
ProductSep 16, 2026](https://openai.com/index/how-to-connect-ai-usage-to-business-value/) | OpenAI | — | — |
| 🟧 hn | Better prompt caching for GPT-6 | theanonymousone | 1 | 0 |
| 🟠 reddit | OpenAI rolls out upgraded prompt caching and reduced cached input rates for GPT-6 OpenAI | rhiever | 423 | 27 |
| 🟧 hn | OpenAI – 12 hour cache (API) available and "cache forever" for work/codex users | jofzar | 1 | 2 |
| 🟠 reddit | Permanent Caching in Codex and Work Makes Pro Subscriptions More Valuable Than Ever codex | Brief_Ad_8040 | 98 | 49 |
| 🟠 reddit | Caching upgraded massively codex | rubanbhatia | 984 | 205 |
| 🟠 reddit | 7 OpenAI updates from this week that cut your AI bill OpenAI | MrCashMahon | 0 | 2 |
2026-10-23T15:33:45Z
A newer Reddit post points to OpenAI release notes describing a 12-hour API cache, strengthening the earlier employee-post report with apparent first-party documentation. The longer retention is now more credible, but the supplied evidence does not establish the exact terms or verify the “forever” claim for Codex and Work; substantial discussion does not change the case’s current velocity.
2026-10-23T02:31:16Z
The newer, much longer-retention claim now has a traceable link to an apparent original post by an OpenAI employee, strengthening it beyond unattributed hearsay, but no primary product documentation or independent verification establishes its scope or meaning. If accurate, persistent cache for logged-in Codex and Work users could materially improve the economics of resuming long-running agent sessions; API availability is reported as 12 hours, distinct from the earlier 30-minute baseline.
2026-10-21T13:17:30Z
audience grounding: high — Prompt caching is increasingly important to the cost and responsiveness of persistent agents, which repeatedly send shared instructions, tools, and conversation context. OpenAI’s September GPT-6 update adds practical controls for improving and diagnosing reuse; a newer, less well-confirmed report of much longer retention could materially change the economics of API and Codex/Work workflows. The reported customer savings are company-provided examples, not independent benchmarks, and the newer retention claim needs primary-source confirmation and details.
2026-10-21T12:37:59Z
The 30-minute API window is no longer a reliable description of current policy: a later claim attributed to an OpenAI employee says API caching now lasts 12 hours and Codex/Work cache can persist indefinitely. Multiple posts trace back to the same quoted statement, so they amplify one report rather than independently confirming it; practical implications are potentially larger, but scope and implementation remain unverified.
2026-10-21T11:55:45Z
audience grounding: high — Prompt caching is a practical lever for making persistent agents faster and cheaper: reusing stable prompt prefixes avoids repeatedly processing the same context. OpenAI’s GPT‑6 release adds controls and visibility that could make cache behavior easier to optimize, with customer examples reporting meaningful savings. But those figures are company-attributed, not independent benchmarks. A later, secondary report says cache windows have since expanded, so the 30-minute policy may no longer be current.
2026-10-21T11:47:42Z
audience grounding: medium — Useful for teams running long-lived GPT‑6 API agents: caching controls and visibility may reduce repeated-input costs and latency, and changing reasoning effort between turns need not invalidate reusable context. The practical gains depend on how stable and large an application’s prefixes are. OpenAI’s examples of cost savings and higher hit rates are customer-reported, not independent benchmarks; this changes agent economics and operations, not model capability.