Back to blog
Guide

Claude Code Rate Limits Explained: Plan Limits and What to Do When You Hit Them

Skill Gallery TeamFebruary 6, 20267 min read

"I just started using Claude Code and I'm already hitting rate limits." "I can't figure out the differences between plans." If either of these sounds familiar, you're not alone.

Claude Code is a coding assistant that runs directly in your terminal. It's incredibly useful, but its rate limiting system is somewhat complex, and Anthropic doesn't publish exact numbers for everything.

This article breaks down Claude Code's rate limits based on Anthropic's official help center and other reliable sources. You'll learn the limits for each plan, what to do when you hit them, and practical tips to make your quota last longer.

Claude Code Has a Two-Tier Limit System

Claude Code has two distinct types of rate limits. Understanding both is essential--otherwise you'll find yourself suddenly blocked mid-session with no idea why.

5-Hour Session Limit

The first is a "5-hour rolling window" limit.

The clock starts when you send your first message. Once you consume a certain amount within that window, you'll be restricted for the remainder. After the full 5 hours pass, the limit resets and you can start fresh.

The key point: this is 5 hours from when you start using it, not a fixed reset time like midnight.

Weekly Limit

The second is a weekly limit.

Claude Code's popularity grew beyond expectations, and some users were running it 24/7 in the background, placing significant load on Anthropic's servers. The weekly limit was introduced to curb this kind of heavy usage. It operates independently from the 5-hour limit, capping total usage over a rolling 7-day period.

Anthropic has stated that "based on current usage patterns, fewer than 5% of subscribers are affected by the weekly limit." For typical usage, you're unlikely to hit it.

Rate Limits by Plan

Using Claude Code requires a paid plan (Pro / Max / Team / Enterprise) or API pay-as-you-go billing. It's not available on the free plan.

The following estimates are based on information from Anthropic's official help center.

Individual Plans

PlanMonthly Price5-Hour EstimateWeekly Limit Estimate
Pro$20~10-40 prompts~40-80 hours
Max 5x$100~50-200 prompts~140-280 hours
Max 20x$200~200-800 prompts~240-480 hours

Team and Enterprise Plans

PlanPriceNotes
Team (Standard seat)$25-30/user/moClaude Code not available
Team (Premium seat)$150/user/moClaude Code available. ~50-95 hours/week
EnterpriseCustom pricingClaude Code available on Premium seats. Contact sales for details

Important notes:

  • These are estimates only. Anthropic does not publish exact numbers, stating that limits "vary based on project complexity, codebase size, auto-accept mode settings, and other factors"
  • Claude Code's usage quota is shared with web-based Claude and Research features. Claude Code doesn't have its own separate allowance
  • Using compute-intensive models like Opus consumes your quota faster
  • Running multiple Claude Code instances in parallel increases your consumption rate

What "Hours" Actually Mean in Rate Limits

The weekly limit is displayed in hours (e.g., "40-80 hours"), but this isn't simply elapsed time.

Anthropic says it "measures usage in hours," but the actual calculation appears to be based on token consumption and server load. The exact methodology hasn't been disclosed.

In practice, what matters isn't how long you had Claude Code running, but how much processing you asked it to do.

4 Ways to Handle Rate Limits

When you hit a Claude Code rate limit, you won't be able to send new prompts. Here are your options.

1. Wait for the Reset

The simplest approach. For the 5-hour limit, wait 5 hours. For the weekly limit, wait for the rolling window to pass.

You'll see a warning as you approach the limit, and when you hit it, you'll be notified of the exact reset time.

2. Upgrade Your Plan

If you're on Pro and hitting limits frequently, upgrading to Max 5x is worth considering. Looking at the weekly limit alone, Pro gives you 40-80 hours while Max 5x provides 140-280 hours--a significant increase.

That said, the price jumps from $20 to $100 per month (5x), so weigh the cost against your actual usage.

3. Enable Extra Usage

Pro and Max plans offer an "Extra Usage" feature that lets you continue using Claude Code beyond your limit via pay-as-you-go API billing.

You can enable this in the Anthropic settings page, and you can set a spending cap. If you want to avoid unexpected charges, don't forget to configure that cap.

4. Switch to API Pay-as-You-Go

Claude Code also works with API pay-as-you-go billing through a Claude Console account. Since this is a separate quota from your subscription, it's an option for critical moments when you absolutely can't afford to stop.

Keep in mind that pay-as-you-go charges based on actual usage, so extended sessions can end up costing more than a flat-rate plan.

Practical Tips to Conserve Your Quota

Here are some strategies to reduce how often you hit the limit.

Default to Sonnet

Opus is more powerful but also more compute-intensive, which means it burns through your quota faster. Use Sonnet for everyday tasks and switch to Opus only when you need it for particularly challenging work.

Use the /model command to switch between models.

Be Specific with Instructions

Vague prompts lead to extra back-and-forth as Claude tries to guess your intent, consuming more tokens. Instead of "fix this file," try "add input validation to the processOrder function in orders.py." Specific instructions are more efficient.

Break Up Long Conversations

Long conversations accumulate context that gets sent with every request, driving up token consumption. When you finish a task, starting a new session can be more efficient than continuing the same one.

Use Auto-Accept Mode Carefully

Auto-accept mode lets Claude automatically apply its suggestions and keep working, but it also increases token consumption. If you're watching your quota, manually reviewing each step is the safer approach.

FAQ

Q. Can I use Opus on the Pro plan?

Yes. However, be aware that Opus consumes your quota significantly faster.

Q. When does the weekly limit reset?

It's a 7-day rolling window. There's no fixed reset day like Monday--it resets 7 days after the usage occurred.

Q. Can I use Claude Code with a Team Standard seat?

No. Claude Code on the Team plan requires a Premium seat ($150/user/month). Standard seats ($25-30/user/month) are limited to web-based Claude only.

Q. If I hit the limit, can I still use web-based Claude?

Claude Code and web-based Claude share the same usage quota. If you've exhausted your limit through Claude Code, web-based Claude will be restricted as well.

Summary

Here are the key takeaways about Claude Code's rate limits:

  • Two-tier system: There's both a 5-hour session limit and a weekly limit
  • Plans differ significantly: Pro gets ~40-80 hours/week while Max 20x gets ~240-480 hours/week, scaling with price
  • Numbers are estimates: Anthropic doesn't publish exact caps, and actual limits vary by usage patterns
  • Multiple options when limited: You can wait for the reset, upgrade, enable Extra Usage, or switch to API billing depending on your situation

Claude Code is a powerful tool, but using it without awareness of rate limits can leave you stuck mid-development. Choose a plan that fits your usage patterns and adopt efficient habits to get the most out of it.

A good starting approach: begin with the Pro plan, and if you find yourself hitting limits often, consider upgrading from there.

claude-coderate-limitspricingplanstips

Related posts