Home · Guides · Codex usage limits

Codex usage limits, explained

OpenAI's Codex CLI meters your ChatGPT plan through a 5-hour window, a weekly cap, and a credits system. Here's how the three interact, what the limit messages mean, and how to see your remaining quota.

Checked against official docs: July 13, 2026

Naming note: this page is about the Codex coding agent (CLI, IDE extension and cloud tasks) that ships with ChatGPT plans — not the deprecated 2021 "Codex" code-completion model of the same name.

How the limits are structured

Limits by plan

PlanPriceCodex accessNotes
Free / Go$0Yes, reducedLighter default model, smaller windows; no credit top-up — hitting the wall offers an upgrade, not a purchase
Plus$20/moFull5-hour window + weekly cap; can buy extra credits and enable auto top-up
Pro (5x)from $100/moFull, 5× PlusSame structure, bigger buckets
Pro (20x)higher tierFull, 20× PlusFor sustained heavy agent use

OpenAI publishes multipliers and credit rates rather than absolute hour counts; effective capacity depends on which model you run. The definitive numbers for your account are on chatgpt.com/codex/settings/usage.

What happens when you hit the limit

Real messages users see (wording varies slightly by plan and surface):

Plus and Pro can buy extra credits or switch on Auto top-up in Codex Settings → Usage. There are also documented mismatch bugs — reports of "usage limit reached" while the dashboard shows quota remaining — which is exactly why an independent eye on the numbers helps.

How to check your remaining quota

  1. In the CLI: /status during a session — 5-hour and weekly remainders, model and plan, reset countdowns.
  2. On the web: chatgpt.com/codex/settings/usage — the official dashboard (it's the URL Codex's own error messages point to).
  3. Status line: add five-hour-limit / weekly-limit to tui.status_line in ~/.codex/config.toml.
  4. Passively: keep it in the menu bar. AI Status Bar reads your existing local Codex login and shows both windows without you running anything.

Note: ~/.codex/auth.json holds your session credentials, not a local quota ledger — any tool showing live numbers is fetching them from OpenAI with your login, there is no offline source of truth.

AI Status Bar icon
Codex and Claude limits in one glance AI Status Bar picks up your local Codex login and your Claude accounts, and shows every 5-hour window and weekly cap live in the macOS menu bar. Free & open source.
Download for macOS

FAQ

Do local CLI usage and cloud tasks share the same limit?

Yes — the 5-hour window covers both local messages and cloud tasks on your plan.

Does model choice change how fast I burn quota?

Dramatically. Credits per token differ roughly 5× between the top model and the mid-tier one — running a lighter model is the single biggest lever for stretching your window.

Is the 5-hour limit gone for good?

No — the July 2026 removal is explicitly temporary, a capacity response to the GPT-5.6 Sol launch rush. Plan for it to come back.

Codex says I hit the limit but my dashboard shows quota left. What gives?

Known reports of exactly this mismatch exist on OpenAI's tracker. Retry after a few minutes, check the web dashboard, and if it persists, it's a bug worth reporting — not your quota lying to you.