Codex Quota Not Enough? How to Fix the ChatGPT Codex Limit
TL;DR: When your Codex quota runs out, there are 3 ways to fix it: ① Wait for the quota to auto-recover (free, for occasional use); ② Buy an official Codex quota pack for on-demand top-up (fast, for temporary needs); ③ Upgrade to a Pro plan (largest quota, for heavy use). Check your remaining quota first, then pick the option that fits your actual usage.
What Is a Codex Quota?
Codex is OpenAI's coding assistant (write code, edit code, run commands). Its quota is not purchased separately — it's included in your ChatGPT plan. Subscribing to Plus / Pro automatically gives you a corresponding Codex quota, and the higher your plan tier, the larger the quota.
The Codex quota is calculated on a rolling 5-hour window. Each window caps the number of requests (Local Messages); once you hit the cap, you wait for the next window to refresh. Each model's quota is tracked independently, so you can switch models and keep working.
Why Does Codex Say "Quota Exceeded"?
A Codex "quota exceeded" warning is usually caused by one of these:
- Heavy short-term model usage: firing off many requests in a short time quickly exhausts the current window's quota.
- Analyzing large codebases: scanning or refactoring a large project consumes more context and more requests per call.
- Long-running Agent tasks: an Agent that autonomously runs many rounds can eat up a lot of message quota in a single task.
- Using more powerful models: within the same window, larger models like Sol / Terra / Luna have smaller quotas and burn through them faster.
Codex is not billed by lines of code — it consumes quota based on the number of model calls and task complexity. Heavier tasks and stronger models drain quota faster.
How to Check Your Remaining Codex Quota
Before topping up, confirm how much quota you actually have left:
- Open chatgpt.com/codex/settings/usage in your browser and sign in to your ChatGPT account.
- Check the remaining Local Messages for each model in the usage panel.
- If several models are near their cap, your current plan's quota really is insufficient — move on and pick a solution below.
3 Ways to Fix "Codex Quota Not Enough"
Method 1: Wait for the Quota to Auto-Recover
Codex quota recovers on a rolling time window:
- The window quota refreshes every 5 hours
- After hitting the limit, just wait for the window to refresh
- You don't necessarily need to buy more
This is for occasional users who aren't in a hurry — it costs nothing, and your quota comes back on its own.
Method 2: Buy a Codex Quota Pack
If you don't want to wait and don't want to upgrade an entire plan tier, you can buy an official Codex quota pack for on-demand top-up:
- Open chatgpt.com/codex/settings/usage.
- Pick the quota pack you need in the usage panel and buy on demand.
- The quota arrives instantly after payment — keep using Codex.
On-demand top-up is flexible — you buy exactly what you use, without paying more for occasional needs the way you would with a full plan upgrade.


Method 3: Upgrade to Pro
Pro 5X / Pro 20X come with much larger Codex quotas — the new limit applies immediately after upgrading, and you won't need to keep an eye on your balance. Plan availability depends on the official pricing page.
Note: When upgrading to Pro through upgpts, your account needs to be in Free / normal status; if you already have a Plus subscription, restore it to normal status first before upgrading.
Solution Comparison
| Method | Cost | Speed | Best for |
|---|---|---|---|
| Wait for recovery | Free | Slow | Occasional use |
| Buy a quota pack | Medium | Fast | Temporary needs |
| Upgrade to Pro | High | Immediate | Heavy daily use |
Plus vs Pro Quota Comparison
Codex quota by plan (Local Messages / per 5 hours):
| Plan | Codex quota (messages per model per 5h) | Best for |
|---|---|---|
| Plus | GPT-5.6 Sol: 10–100 · Terra: 25–200 · Luna: 250–2,000 · GPT-5.5: 15–80 · GPT-5.4: 20–100 · mini: 60–350 | Occasional, light coding |
| Pro 5X | GPT-5.6 Sol: 50–500 · Terra: 125–1,000 · Luna: 1,250–10,000 · GPT-5.5: 75–400 · GPT-5.4: 100–500 · mini: 300–1,750 | Medium-to-heavy coding |
| Pro 20X | GPT-5.6 Sol: 200–2,000 · Terra: 500–4,000 · Luna: 5,000–40,000 · GPT-5.5: 300–1,600 · GPT-5.4: 400–2,000 · mini: 1,200–7,000 | Heavy / professional development |
Tip: The Business plan's Local Messages quota is identical to Plus — think of it as "Plus for teams." Cloud chats and Code Reviews are currently unavailable on all plans (omitted from the table). The per-model numbers are ranges within each 5-hour window and adjust dynamically with usage intensity.
How to Choose
- Occasional Codex use and not in a hurry → wait for the quota to auto-recover. Free.
- You keep hitting the cap and need a quick fix → buy an official Codex quota pack. Fastest and most flexible.
- Heavy professional use — Codex is your daily driver → upgrade to Pro. Largest quota, most worry-free.
Pros and Cons
What each of the three methods is good at
- Wait for recovery: zero cost — for occasional use when you're not in a hurry
- Buy a quota pack: pay-as-you-go, arrives instantly — the fastest quick fix
- Upgrade to Pro: the cap goes straight to the ceiling — most worry-free for heavy daily use
Things to watch
- Waiting follows the rolling window — not an option when you need it right now
- Quota packs are metered, so long-term heavy use can cost more than upgrading outright
- Upgrading to Pro has a precondition: the account must be Free / normal status — a Plus subscription has to be restored first
Who It's For
- Occasional Codex use, not in a hurry → wait for the quota to auto-recover, free
- Frequently hitting the cap, need a quick fix → buy an official Codex quota pack, fastest and most flexible
- Heavy professional use — Codex is your daily driver → upgrade to Pro, largest quota and most worry-free
Frequently Asked Questions
What should I do when my Codex quota runs out?
How long does Codex quota take to recover?
Where can I buy an official Codex quota pack?
How much does the Codex quota differ between Plus and Pro?
Is the Codex quota the same as GPT-5.6?
Can I subscribe to a ChatGPT plan with Codex from China?
Official References
Need Codex? Check out the Codex top-up page for supported plans, payment methods, and delivery.
About the Author
UPGPTs Team creates step-by-step, screenshot-heavy tutorials for AI tools like ChatGPT, Claude, Grok and Codex. Find more in the UPGPTs Tutorial Hub, check the FAQ, or reach us via the Contact page.
Related Reading
- ChatGPT Basics
- Codex Quota Comparison: Plus / Business / Pro at a Glance — complete Codex quota comparison across all plans
- ChatGPT Plus vs Pro Comparison — how to choose between the three tiers
- ChatGPT Pro 5x vs 20x — which Pro tier is right for you
