GUIDE
Codex usage limit reached too fast? Here’s how to save tokens
Last updated 2026-11-15
Codex is an agent: one task becomes many model calls, and each call re-sends the growing context. That is why a few prompts can use a big share of your limit. Here is how the limits work and how to stretch them.
How Codex usage limits work
On ChatGPT plans, Codex has two caps: a rolling 5-hour window and a weekly limit. You need room in both to keep working, so you can hit the 5-hour cap even with plenty of weekly usage left.
In Codex, open Settings → Usage to see what is left and when each window resets. In the CLI, /status shows the current thread, including context size and quota used.
Why your Codex limit drains so fast
- Context grows every iteration: files read, command output and earlier turns are all sent again.
- Long threads that run all day keep re-reading the same context.
- Running from a monorepo root makes Codex search many unrelated files.
- A large AGENTS.md is included in every request.
- Big logs and test output pasted into the conversation count in full.
How to save tokens in Codex
- Start a fresh thread for each new task instead of continuing one long session.
- Run Codex from the package or folder you are working in, not the repository root.
- Keep AGENTS.md short and focused on rules that matter for every task.
- Point Codex at the exact files and functions to change.
- Use a lighter model or lower reasoning effort for simple tasks.
- Paste only the failing part of a log.
- Let VacuumPrompts trim each request automatically. It works with the Codex extension in VS Code and Codex desktop, removes repeated instructions, stale history and bulky logs, and shows tokens saved per request.
Frequently asked questions
Why did I hit my Codex usage limit after only a few prompts?
Each prompt can trigger many model calls, and each call re-sends files, command output and earlier turns. Long agent tasks use far more tokens than the prompt you typed.
How do I check my remaining Codex usage?
Open Settings → Usage in Codex, or run /status in the Codex CLI to see the current thread and quota used.
Does VacuumPrompts work with Codex?
Yes. It works with the Codex extension in VS Code and with Codex desktop on Windows 10 and 11.
Download VacuumPrompts free for Windows