Codex limits drained by cache misses during context compaction
Melvin Vivas · X post · 2026-05-24 · Open on X
Topics: AI Dev Tools & Productivity, Prompt & Context Engineering, LLMOps, Deployment & Monitoring · Level: intermediate
Summary
A joke post quoting OpenAI's Tibo (@thsottiaux), who said Codex usage limits drained faster because an optimization lowered cache hit rates when compacting context in long-running sessions. OpenAI rolled the change back and reset everyone's usage limits. The lesson: prompt-cache hit rates directly affect cost and quota in long agent sessions.
Key points
- Codex users saw usage limits drain faster than normal.
- Root cause: an optimization that hurt cache hit rates when compacting context in long-running sessions.
- OpenAI rolled back the optimization and reset usage limits for all accounts.
- Takeaway: context compaction can break prompt caching, so long agent sessions get more expensive. Watch cache hit rates when you change how context is managed.
Resources mentioned
- Tibo (@thsottiaux) · person · x.com · free
X account of the OpenAI Codex team member who posts Codex updates and usage-limit announcements.
Also in: Codex Tip: Ask Codex to Organize Your Recent Chats (Melvin Vivas on X · notes), An X research bot built with Hermes (Melvin Vivas on X · notes), Why Codex Usage Drains Faster: Prompt Cache Hit Rate (Melvin Vivas on X · notes), Codex safeguards against accidental destructive actions (Melvin Vivas on X · notes) and 1 more - OpenAI Codex · tool · openai.com · paid · recommended by both Bashiri Smith & Melvin Vivas
OpenAI's coding agent. In the diagram it writes code, fixes review findings and drives the build loop. The creator also used it to make this video.
Also in: Developers moving from ChatGPT/Codex to Claude (Melvin Vivas on X · notes), Creator Opinion: Codex Is Still the Best at Computer Use (Melvin Vivas on X · notes), OpenAI Codex Ambassador applications are open (Melvin Vivas on X · notes), GPT-Live-1.1: Multilingual Voice Update for ChatGPT and Codex (Melvin Vivas on X · notes) and 264 more
More in AI Dev Tools & Productivity
- Automating a Daily AI News Page with Cursor Automations
- Free Local Image Generation: ComfyUI App Mode + LM Studio + Gemma
- Composer 2.5 as the Default Model in Cursor
- Codex app 26.519: Appshots, Goal mode, remote computer use
- Parallel Coding Agents with Git Worktrees and Playwright MCP
- Local Text-Only Workflows in ComfyUI with LM Studio and Gemma 4 E2B