Skip to content

OpenAI

OpenAI keeps Codex cache forever, API cache gets 12 hours

Written by an AI model from the linked sources and checked against them by a second model. How we work

All about: OpenAI models and products →
Image: pexels.com

Resuming an old conversation after a few hours carries no penalty for logged-in Codex and Work users, OpenAI said on Day 16 of its 28-day Codex sprint. It keeps their cache forever, and they’re guaranteed to hit it.

API developers get a 12-hour cache. Caching stores the already processed part of a prompt, so a repeated system prompt or document doesn’t get processed again from scratch.

The change builds on OpenAI’s September 22 caching update for GPT-6, which cut cached input token costs by up to 90%.

No comments yet. Be the first.

Join the conversation

Sign in to leave a comment. It appears after moderation.