Claude Code Usage Limits Explained: Weekly Limit, 5-Hour Window, How to Check (Codex Too)

Updated 2026-10-15 · by Murilo Prataviera, maker of Aki

It's Wednesday, you're in the middle of a refactor, and Claude Code says "You've hit your weekly limit · resets Mon 12:00am." The five-hour window you were watching looked fine. This guide explains how the limits actually work on Pro and Max, every way to see where you stand before it happens, what your options are when it does, and how Codex's limits compare.

Quick answer

  • Two limits at once. Pro and Max have a 5-hour session window and a weekly limit. Hitting either one stops you. Max also has a separate weekly limit for Fable models.
  • Shared with chat. The same allowance covers Claude on the web, desktop, mobile and Claude Code.

  • Check it in Claude Code with /usage. It shows your plan's bars and reset times. On the web: claude.ai → Settings → Usage.

  • Always visible: the status line can show 5h: 23% 7d: 41% from the official rate_limits fields.

  • Out of quota? Wait for the reset, upgrade, or turn on usage credits (billed at API rates). Switching models doesn't help with the session or weekly limit.

  • Codex: check with /status in the CLI or at chatgpt.com/codex/settings/usage.

How the two limits work

The 5-hour window. Your usage is measured over a rolling five-hour session. When it fills up, you wait until it resets. Anthropic doesn't publish a fixed number of messages, because it depends on the model, the length of the conversation and how much context each request carries. In May 2026 Anthropic doubled Claude Code's five-hour limits for Pro, Max, Team and seat-based Enterprise.

The weekly limit. On top of the window there's a weekly cap. It resets at a fixed time each week assigned to your account (you can see it in Settings → Usage). It's not a rolling seven days. Weekly limits started in August 2025. This is the one that surprises people: you can have plenty of room in the current five-hour window and still be blocked for days.

Per plan:

Plan 5-hour window Weekly limit Notes
Pro Yes Yes The base amount
Max 5x Yes Yes, plus a separate Fable weekly limit 5× Pro's usage
Max 20x Yes Yes, plus a separate Fable weekly limit 20× Pro's usage

Chat counts too. Long conversations on claude.ai come out of the same allowance as Claude Code.

Every way to check your usage

/usage in Claude Code

Type /usage (/cost and /stats are aliases). For Pro and Max it shows:

Two things to know:

/context shows how full the current context window is, which is a different thing from your plan limit.

The status line (always on screen)

Claude Code passes your limits to the status line script: rate_limits.five_hour.used_percentage, rate_limits.seven_day.used_percentage and their resets_at times. Run /statusline and ask for something like 5h: 23% 7d: 41%. The docs include a ready-made example. These fields appear for Pro and Max subscribers after the first response of a session. Community status lines such as >ccstatusline do this too.

claude.ai → Settings → Usage

The web page (>claude.ai/settings/usage) shows the current session with time remaining, the weekly limits with their reset, and your usage credits. It's the only view that includes every device and the chat apps.

Warnings and messages

Claude Code warns you before you run out, with messages like "You've used 85% of your session limit · resets 3:45pm." When you hit a limit you'll see one of these:

What to do when you hit the limit

  1. Let it finish the step. If the five-hour limit lands mid-response, Claude Code may wrap up the current step first ("Usage limit reached · wrapping up").
  2. Let it continue by itself. Recent versions can wait in the open session and resume after the reset. It's on by default for subscribers (/config → "Continue automatically at usage limit"). It won't wait for a reset more than 24 hours away, so it doesn't help with the weekly limit.
  3. Usage credits. Turn them on in Settings → Usage (or /usage-credits in Claude Code). Usage past your limits is billed at API rates, separately from the plan, with an optional monthly cap.
  4. Upgrade from Pro to Max 5x, or from 5x to 20x.
  5. Use API credits from the Claude Console instead of the subscription.

Changing models with /model does not restore access when the session or weekly limit is the one you hit. Those are shared across all models.

Make the week last

All of these come from Anthropic's own cost guidance:

Codex limits

Codex limits depend on your ChatGPT plan:

Check where you stand with /status inside the Codex CLI, or on the dashboard at >chatgpt.com/codex/settings/usage. /usage daily and /usage weekly show your token use over time.

Tools that track it for you

Where Aki fits

Aki is a free macOS app. Among other things, it puts your week on the edge of the screen:

Aki's main job is something else. You point at things on screen (an element in Chrome, an area, a terminal error) and it sends them to the right agent session. You can use either part, or both. It's Mac-only (Apple Silicon, macOS 14+), and there's no account.

FAQ

What is the Claude Code weekly limit?

It's a cap on how much you can use Claude per week on Pro and Max, on top of the 5-hour session window. It resets at a fixed time each week assigned to your account. Max plans also have a separate weekly limit for Fable models.

How do I check my Claude Code usage?

Type /usage in Claude Code to see your session and weekly bars with reset times. You can also open claude.ai → Settings → Usage, or add the limits to your status line.

When does the Claude Code usage limit reset?

The session limit resets on a rolling five-hour window. The weekly limit resets at a fixed weekly time shown in Settings → Usage and in the limit message itself (for example, "resets Mon 12:00am").

Does switching models help when I hit the limit?

Not for the session or weekly limit, because those are shared across all models. It only helps with a model-family limit ("You've hit your Opus limit"). Then you can switch to a model from another family.

Do Claude chat and Claude Code share the same limit?

Yes. Usage on claude.ai (web, desktop, mobile) and in Claude Code comes out of the same allowance.

How do I check my Codex usage limit?

Run /status in the Codex CLI, or open chatgpt.com/codex/settings/usage. Plus and Business have a five-hour window. Pro currently has none.

Sources