Claude Code vs Codex: usage limits
Both put a coding agent on a subscription with a 5-hour window and a weekly limit. The details differ: who gets which window, what's shared, and what happens at the wall.
The short answer
Claude Code comes with Claude Pro ($20), Max ($100), and Ultra ($200) and shares a 5-hour session limit (none on verified Ultra) and a weekly limit with your Claude chats. Codex comes with every ChatGPT plan; Plus ($20) and Business use 5-hour windows and may have weekly limits, while Pro plans ($100 to $500) have no 5-hour limit. Neither publishes a fixed message count for its main paid tiers.
Side by side
| Claude Code | Codex | |
|---|---|---|
| Entry paid plan | Claude Pro, $20 a month | ChatGPT Plus, $20 a month (Go $8) |
| Bigger plans | Max $100, Ultra $200 | Pro $100, $200, or $500 |
| Free plan | Not included | Included (no Codex Cloud) |
| 5-hour window | Pro and Max; none on verified Ultra | Plus and Business; Pro plans have none |
| Weekly limit | Yes, at a fixed time per account | "May also apply" |
| Shared with | claude.ai and Claude Desktop | Cloud chats (and other ChatGPT work tools on some plans) |
| Published counts | None | Ranges per model for Plus/Business, "not fixed limits" |
| Check usage | /usage, Settings › Usage | /status, chatgpt.com/codex/settings/usage |
| Mid-turn at the limit | Small wrap-up allowance | Can finish the turn, subject to fair use |
| Past the limit | Usage credits, upgrade, Console API, or wait | Credits, banked reset, upgrade, API key, or wait |
Which gives you more room?
Neither company publishes enough to compare token for token, and both change limits often. The honest answer is to measure your own work: run the same kind of task on each for a few days and watch how fast each window fills.
Two structural differences matter more than the price tags. Claude's limits are shared with your Claude chats, so heavy chat use leaves less for Claude Code. And Codex's Pro plans drop the 5-hour window entirely, so long sessions only run into the weekly limit.
Track both in one place
Fuel Gauge reads both on your Mac with no sign-in: Claude Code's limits from its status line, and Codex's from its session logs. Each window gets a forecast, so you can see which one you'll run out of first, and switch tools before you hit it.
Sources
Checked on October 20, 2026. Plans change from time to time, so the providers' own pages are the final word.
- Use Claude Code with your Pro, Max, or Ultra plan
- Claude pricing
- Codex pricing
- Using Codex with your ChatGPT plan
Claude plan details rechecked on November 17, 2026.
Questions
Does Codex have a 5-hour limit like Claude Code?
On Plus and Business, yes. Pro plans currently have no five-hour limit, though weekly limits may apply.
Is Claude Code or Codex cheaper?
Both start at $20 a month for the entry paid plan. Codex is also included in ChatGPT Free and Go; Claude Code isn't included in Claude Free.
Can I track Claude Code and Codex limits together?
Yes. Fuel Gauge reads both on your Mac and forecasts each window.
Keep reading
Know if you'll make it to reset.
Free. No account, no subscription.
brew install --cask coreyhaines31/tap/fuelgaugeOr ask your coding agent:
Install Fuel Gauge on my Mac: run `brew install --cask coreyhaines31/tap/fuelgauge`, open Fuel Gauge, then run `fuelgauge install-statusline` and `fuelgauge status`. Then ask me whether future agent sessions should check Fuel Gauge before long tasks. Only if I say yes, append this to your own global instructions file (~/.claude/CLAUDE.md for Claude Code, ~/.codex/AGENTS.md for Codex), unless it's already there, and tell me which file you changed: Before starting a long or expensive task, run `fuelgauge status`. If it exits with code 2, a Claude Code, Codex, or Grok Bot limit is forecast to run out before it resets: tell me which one and when, and ask before starting, or switch to a cheaper model. `fuelgauge status --json` has the details.
macOS 14 Sonoma or later · Apple Silicon and Intel