Guide
Claude Code usage limits, and what to do when you hit one
On a Claude plan, Claude Code has two limits: one that resets every five hours and one that resets every week. Hit either, and Claude Code stops until the time it shows you. Here is how the limits work on each plan, how to see where you stand, and what you can do — including letting a long job wait for the reset on its own.
Updated
Two limits: the 5-hour window and the week
- The session limit resets every five hours. Pro and Max have it.
- The weekly limit resets once a week. Every plan with Claude Code has it.
- They are shared with Claude chat. Everything you do in Claude and in Claude Code counts against the same limits.
- Ultra has no 5-hour limit for verified accounts, only the weekly one.
Anthropic publishes the limits as multiples of Pro, not as a number of prompts or tokens. How fast you reach one depends on the model, the length of the conversation and the size of the files.
A heavy burst can use up the week before the five hours are over. Then waiting five hours won’t help: the message shows a day.
Sources: Claude Help Center, Claude Code documentation
Plans and what they cost
| Plan | Price | Every 5 hours | Every week |
|---|---|---|---|
| Free | $0 | no Claude Code | no Claude Code |
| Pro | $20 a month, or $17 a month billed yearly | 1× | 1× |
| Max | $100 a month | 5× Pro | 5× Pro |
| Ultra (formerly Max 20x) | $200 a month | no 5-hour limit for verified accounts | 10× Pro |
Prices as shown on claude.com/pricing on 17 November 2026, in US dollars, for subscriptions on the web. Max and Ultra also include monthly API credits, but those can’t be spent in Claude Code.
Sources: Claude, Claude Help Center: What is the Ultra plan?, Claude Help Center: Using Claude Code with your Pro or Max plan
See where you stand
Type /usage in Claude Code. It shows your plan’s usage bars and what used them: skills, subagents, MCP servers. /cost and /stats open the same screen. On claude.ai the same bars are in Settings → Usage.
Before the limit, Claude Code warns you:
You've used 85% of your session limit · resets 3:45pmSources: Claude Code documentation: Commands, Claude Code documentation: Manage costs effectively, Claude Code documentation: Errors: you’ve hit your session limit
What the limit message says
When you hit a limit, the message names it and the time it resets:
You've hit your session limit · resets 3:45pm
You've hit your weekly limit · resets Mon 12:00am
You've hit your Opus limit · resets 3:45pmClaude Code blocks requests until that time. The session and weekly limits are shared across models, so switching the model doesn’t help. A limit of one model family is different: when the message names Opus or Sonnet, /model to another family lets you go on.
If the limit lands in the middle of a reply, Claude Code may finish the step it is on first. You’ll see Usage limit reached · wrapping up.
Sources: Claude Code documentation, Claude Help Center
What you can do
- Wait for the reset. The time is in the message.
- Turn on usage credits. Requests past the limit are then billed at API rates, up to a monthly cap you set.
/usage-creditsopens the setting on claude.ai. - Use an API key. With
ANTHROPIC_API_KEYset, Claude Code bills the key instead of your plan: no 5-hour window, but every token is paid. - Change plans. Max is five times Pro; Ultra drops the 5-hour limit.
- Switch the model family — only when the message names Opus or Sonnet.
Sources: Claude Help Center: Using Claude Code with your Pro or Max plan, Claude Help Center: Usage credits for paid Claude plans, Claude Code documentation
Claude Code can wait for you
In an open terminal session, Claude Code now waits by itself. When a limit stops a task, you see:
Usage limit reached · limit resets 3:45pm
Continuing automatically at 3:45pm · Esc to cancelAt the reset it picks the task up again. This is on by default for subscriptions since Claude Code 2.1.234; you turn it off in /config, “Continue automatically at usage limit”.
Where it stops working:
- after three continuations in a row: then
/rate-limit-optionsasks what to do; - when the reset is more than a day away, like a weekly limit;
- in Remote Control sessions: you start the wait yourself in
/rate-limit-options; - in background sessions and in
claude -pruns: there the wait isn’t offered at all; - with an API key: there is no reset to wait for.
And a continued task still asks for permissions. If you are away, it can stop at the next prompt instead.
Sources: Claude Code documentation
Background jobs: let something else wait
Scripts, CI and tools that run Claude Code for you use claude -p. When a -p run hits the limit, nothing waits for the reset: the run ends, and someone restarts it by hand.
DuoWave runs Claude Code this way, and does the waiting itself. You start a job from its web panel; Claude Code works in its own copy of your project, on its own branch. When your plan’s limit stops it, the job’s journal shows “subscription limit until 3:45pm”, and DuoWave asks: Wait or Stop? Choose Wait, and after the reset the job goes on by itself.
DuoWave runs the Claude Code you installed, signed in the way you signed in, and never sees or keeps that sign-in. Every run lands in Spending with tokens and dollars by model; on a plan, the dollars are an estimate of what a key would have cost. How it works with Claude Code.
What it costs with an API key
On a key, Claude Code is billed by tokens. Anthropic’s figures, across enterprise deployments: about $13 per developer per active day, $150–250 a month, and under $30 per active day for 90% of users.
To cap one run, claude -p takes --max-budget-usd: the run stops at an estimated spend. /usage shows a dollar figure too, but it is counted on your computer at list prices — an estimate, not a bill.
Sources: Claude Code documentation: Manage costs effectively, Claude Code documentation: CLI reference
Questions
How long is the Claude Code usage limit?
The session limit resets every five hours, the weekly one once a week. The message shows the exact time.
Is the Claude Code limit separate from Claude chat?
No. Both use the same limits.
Does switching to Sonnet help?
Only if the message says you hit your Opus limit. The session and weekly limits cover all models.
How do I check my usage?
/usage in Claude Code, or Settings → Usage on claude.ai.
Can Claude Code continue after the limit by itself?
In an open terminal session, yes, since 2.1.234 — up to three times in a row. In claude -p and background runs, no: a tool that runs it has to wait for it.
Sources
Checked on 17 November 2026.
- Claude Help Center: Using Claude Code with your Pro or Max plan — the session and weekly limits, shared with Claude; wrapping up; the options at the limit
- Claude: Pricing
- Claude Help Center: What is the Ultra plan? — the Max 20x plan is now called Ultra
- Claude Help Center: Usage credits for paid Claude plans
- Claude Code documentation: Errors: you’ve hit your session limit
- Claude Code documentation: Interactive mode: wait for a usage limit to reset
- Claude Code documentation: Commands — `/usage`; `/cost` and `/stats` are its aliases
- Claude Code documentation: Manage costs effectively
- Claude Code documentation: CLI reference — `--max-budget-usd`
- DuoWave, release 0.15.0: changelog — Works in work folders; Spending: dollars and tokens by model
DuoWave
One small program between your things and any AI
DuoWave is a free, open-source AI assistant. Say what you need — it builds small apps, automates your routine and reports back when it's done.
DuoWave is an independent project. It is not affiliated with or endorsed by any speaker maker or AI company. Product names belong to their owners.