NotchStack

Codex vs Claude Code usage limits, compared

Plenty of developers now pay for both and switch when one runs dry. That works better when you know how each one rations your usage. Here are the five-hour and weekly windows, the prices, and the escape hatches for Codex and Claude Code, side by side.

Updated 4 min readBy

The short answer

Both use a five-hour window and a weekly window, but not on every plan:

  • Claude Code on Pro and Max has both: “Both Pro and Max plans have a five-hour session limit and a weekly limit.”
  • Codex on Plus has both again since August 25, 2026. On Pro, “Pro plans currently have no five-hour limit”, and “Weekly limits may also apply.”

Neither company publishes a fixed number of prompts. Both say usage depends on the model, the size of the task and how much context the agent carries. So “which one gives you more” depends on how you work, and the only honest answer comes from watching your own numbers.

Side by side

Claude Code Codex
Entry plan Pro, $20/month ($17 on annual) Plus, $20/month
Higher plans Max 5x and 20x, from $100/month Pro at $100, $200 or $500/month
Five-hour window Pro and Max Plus; not Pro, for now
Weekly window Pro and Max; on Max it resets at a fixed time each week “May also apply”
Shared with claude.ai and Claude Desktop ChatGPT Work
Check in the terminal /usage /status, /usage
Check in the browser Settings → Usage on claude.ai chatgpt.com/codex/settings/usage
Keep it on screen Status-line script gets rate_limits /statusline limits field
At the limit Wait, usage credits, upgrade, or API credits Active turn finishes; then wait, credits or API key
Early reset Occasional “limit resets” for eligible plans Rate-limit reset via /usage
No plan limit Sign in with an API key, pay per token Use an API key, pay API rates

The five-hour window

Claude Code. The session limit “resets every five hours”, on Pro and Max alike. Max raises how much fits in a window, not the clock: “Max 5x includes five times the Pro plan’s per-session usage allowance.”

Codex. Plus lost its five-hour limit for several weeks this summer and got it back on August 25, 2026. Codex lead Thibault Sottiaux explained that the five-hour limit “allows us to smoothen the load on our compute”, and said OpenAI would keep it “not enabled for Pro $100 and Pro $200 subscriptions” for the coming months.

So if bursts are how you work, Codex Pro currently has the edge: no five-hour wall, only the weekly one.

The weekly window

Claude Code. On Max, the weekly limit “resets at a fixed time each week that is assigned to your account”, whatever day you started. Max also has a separate weekly limit for Fable models. On September 14, 2026, Anthropic raised standard weekly limits by 25% permanently, but because a temporary 50% boost ended at the same time, it said: “Compared to today, this works out to a 17% reduction in weekly limits on Claude Code.”

Codex. OpenAI says “Weekly limits may also apply” and points you to the usage dashboard for current limits and reset times rather than publishing a schedule.

More on Claude’s two windows in Claude Code’s weekly limit vs the 5-hour limit.

What uses up your limits faster

Both lists look alike:

  • Claude Code: message and conversation length, attachments, tool use, model and effort level, multi-step work. Opus “uses meaningfully more of your quota” than Sonnet.
  • Codex: “Model choice, context, reasoning, tool use, retrieval, and caching”. On Plus, GPT-6 Astra allows 5-45 local messages per five hours against 350-3,000 for GPT-6 Luna. Fast mode spends included usage 2.5 times faster.

Both reward the same habits: clear context between unrelated tasks, give the agent only the files it needs, and save the heaviest model for the hardest problems. Codex adds two of its own: keep AGENTS.md small and turn off MCP servers you aren’t using.

When you run out

Claude Code stops at the limit and warns you as you approach it. You can wait, turn on usage credits so “your work continues on usage credits instead of stopping”, upgrade, or switch to Console API credits. Watch for a stray ANTHROPIC_API_KEY environment variable: Claude Code will use it instead of your subscription.

Codex is gentler mid-task: “If you reach your usage limits during an active turn, the agent will be able to continue working on that turn, subject to fair use limits.” After that, Plus and Pro users can buy credits, or run local chats with an API key at API rates.

Checking both without switching windows

Each tool reports only its own numbers, in its own place. Running both means two commands and two browser tabs:

Or put both on screen. Several Mac apps show Claude and Codex together, compared in the best Claude Code usage trackers for Mac. NotchStack, our app, shows both five-hour and weekly windows in the notch with a countdown to each reset, read from local files only. See AI Usage.

Sources

Checked on October 14, 2026. Plans and limits change; the linked pages are the source of truth.