USAGE LIMITS

Codex usage limits, explained for ChatGPT plan users

How Codex usage limits work on ChatGPT plans, five-hour and weekly windows, how to see what is left with /status, and what happens when you hit the limit.

Short answer

Codex is included in ChatGPT Free, Go, Plus, Pro, Business, Edu and Enterprise plans, and usage is metered in five-hour windows (Pro currently has none) with weekly limits on top. You can see what is left with /status in the CLI or on the Codex usage dashboard, and at the limit you can wait for the reset, use credits, or switch to an API key billed separately.

Codex usage limits decide how much work you can give the agent before you have to wait, pay for more, or switch to an API key. If you sign in with a ChatGPT account, Codex draws from your plan's allowance. If you sign in with an API key, it does not use the plan at all and you pay API rates.

This guide explains how the allowance is measured, how to check what you have left, what happens at the limit, and how to make the allowance last. OpenAI changes the exact numbers often, so this page describes the mechanics and links to the official pages for current figures instead of quoting numbers that may be stale by the time you read this.

Which ChatGPT plans include Codex?

Codex is included in the ChatGPT Free, Go, Plus, Pro, Business, Edu and Enterprise plans, according to the official Codex pricing page. Free and Go are described as suited to quick or lightweight coding tasks. Plus, Pro and Business plans carry larger allowances, and the Pro tiers are listed with several times the Codex usage of Plus.

API-key access is a separate option. The pricing page states that API-key sessions use separate API pricing and do not touch your ChatGPT allowance.

How do Codex usage limits work?

Codex usage on a ChatGPT plan is measured over a rolling five-hour period, with weekly limits that may apply on top. Two details matter in practice:

  • The five-hour allowance applies to Plus and Business plans. The pricing page says Pro plans currently have no five-hour limit.
  • Weekly limits can still apply, which means a heavy few days can exhaust your week even if every five-hour window looked fine.

The pricing page gives estimated message ranges per five-hour period by model, but explicitly says these estimates are not fixed message limits. The real cost of a message depends on the model, the size of your codebase context, and how long the task runs. A short question costs little; a long agentic task that reads dozens of files and runs tests costs much more.

Local and cloud work share the same pool. The docs state that local messages and cloud chats share your plan's usage allowance, and that cloud tasks may use more of it than local messages. The usage limit reset glossary entry explains rolling windows in general terms.

How do I check my remaining Codex usage?

The fastest way during a CLI session is the /status slash command. The Codex docs say you can use /status to see your remaining limits in an active CLI session; it also shows the session's model, approval policy, writable roots and remaining context.

codex
# then, inside the session:
/status

For a fuller picture, open the Codex usage dashboard at chatgpt.com/codex/settings/usage. It shows your current limits and reset times. The desktop app also has a Usage section in its settings. OpenAI suggests checking the dashboard regularly to track your pace, so you are not surprised in the middle of a task.

What happens when I hit the Codex usage limit?

When you reach your limit during an active turn, Codex lets the agent finish that turn, subject to fair use limits. After that, new work waits until your window resets, unless you add more usage. You have four options:

  1. Wait for the reset. The dashboard shows when your five-hour window and your weekly limit reset.
  2. Use credits. After you reach your included limits, available credits let you keep working. Your plan's included usage is used first, and only then does usage draw from credits.
  3. Buy an instant reset. OpenAI's help center describes an instant reset for eligible Plus and Pro personal accounts that restores both five-hour and weekly usage immediately. It is not offered on Free, Go, Business, Enterprise or Edu.
  4. Switch to an API key. API-key sessions are billed at standard API rates and do not draw from your ChatGPT allowance.

How do Codex credits work?

Credits are a separate pay-as-you-go balance. On Plus and Pro, when you hit a Codex limit you see an option to add credits, and you can also buy them from the usage settings in ChatGPT or the Codex app. If your account has automatic reload, it tops your balance back up to a target you choose when it drops below a minimum, with an optional monthly maximum.

OpenAI's help center says credits expire 12 months after purchase and unused credits do not roll over. Business, Edu and Enterprise workspaces on flexible pricing buy workspace credits instead; check with your admin, since they control that budget.

How do I make my Codex usage last longer?

The biggest lever is how much context each task drags in. A few habits help:

  • Scope tasks tightly. "Fix the failing test in auth/session_test.go" costs far less than "fix the tests". OpenAI's own guidance suggests a narrower task or a smaller model when usage runs higher than expected.
  • Use a smaller model for routine work. Save the largest model for hard reasoning, and use a lighter one for renames, small fixes and boilerplate.
  • Prefer local over cloud for small jobs. Cloud tasks may use more of the shared allowance.
  • Keep instructions short. A long AGENTS.md is read into context every session. Keep it focused, and nest project-specific instructions where they apply.
  • Watch MCP servers. Each enabled server adds tool definitions to context. Disable the ones you are not using in that project.
  • Check /status before a big task. Starting a long refactor with ten percent of your window left is how turns get cut short.

If you also use Claude Code, the same habits apply there; see the Claude Code usage limits guide for how Anthropic's windows work.

Why does my Codex limit feel inconsistent?

Because the meter counts work, not messages. Two prompts that look the same can cost very different amounts if one triggers a long chain of file reads, test runs and retries. Model choice, reasoning effort, cloud versus local, and the size of the repository all change the cost. That is why OpenAI publishes ranges rather than fixed numbers, and why watching the meter beats counting prompts.

Seeing Codex, Claude and Cursor usage in one place

Allowbar is a macOS menu bar app for people who run coding agents. Among other things, it shows your Claude, Codex and Cursor usage (including Grok Bot) in one place, with the time of the next reset. The island at the top of the screen warns you when you drop below 50% and below 20% remaining, and tells you when a limit resets, so you can plan a big task around it instead of finding out halfway through.

Allowbar also handles Codex and Claude Code permission requests from the menu bar (Allow, Block, or back to Terminal) and sends a notification when a task is done. It never approves anything on its own. It is Mac only and supports Claude Code and Codex; it does not change your limits, only shows them. Allowbar is in private beta: join the waitlist, the launch price is $9.99 instead of $29.90.

For other ways to track usage, see the comparison of Claude Code usage trackers, and if you use Cursor too, the guide to Cursor usage limits.

Sources

Frequently asked questions

How long is the Codex usage window?

On Plus and Business plans, Codex usage is measured over a five-hour period, and weekly limits may also apply. The pricing page says Pro plans currently have no five-hour limit. Exact reset times for your account are on the Codex usage dashboard.

How do I see my Codex usage in the terminal?

Run /status inside an active Codex CLI session. It shows your remaining limits along with the session's model, approval policy and context. For reset times and history, use the usage dashboard at chatgpt.com/codex/settings/usage.

Does Codex stop in the middle of a task when I hit the limit?

No. According to the pricing page, if you reach your limit during an active turn, the agent can continue working on that turn, subject to fair use limits. New turns then wait for a reset unless you have credits or switch to an API key.

Does using Codex with an API key count against my ChatGPT plan?

No. API-key sessions are billed at standard API pricing and do not draw from your ChatGPT allowance. That makes an API key a way to keep working after you hit your plan limit, at a per-token cost.

Do Codex cloud tasks and local CLI use share the same limit?

Yes. Local messages and cloud chats share your plan's usage allowance, and the docs note that cloud tasks may use more of it than local messages.

ALLOWBAR FOR MAC

Answer your agents from the menu bar.

Permission requests from Claude Code and Codex slide down from the top of your screen. Allow, Block or send back to the terminal. Allowbar never approves anything on its own.

Launch price $9.99 instead of $29.90, one-time purchase, lifetime license.