Black Friday: Pro and Max at half price with double the minutes. Ends in See the deal

    BlogPricing

    Claude Code Usage Limits: 5-Hour and Weekly Windows Explained

    By Utpal Nadiger · Updated November 27, 2026

    Claude Code usage limits come in two layers: a 5-hour session window that starts with your first message, and a weekly limit that resets at a fixed time each week. As of November 2026, Max ($100 a month) gives 5x Pro's usage in both windows, and Ultra ($200) gives 10x Pro's weekly usage with no 5-hour limit for verified accounts. When you hit a limit you can wait for the reset, switch on usage credits billed at API rates, or move to an API key.

    Anthropic does not publish limits as a fixed number of messages or tokens. How far a window goes depends on the model, the size of your codebase and how much context each request carries. This guide covers how the windows work, what happens when you hit them and how to make them last longer.

    How Claude Code usage limits work

    All paid Claude plans include Claude Code, and every surface shares one limit: chats on claude.ai, the desktop app, the CLI, your IDE and cloud sessions on the web all draw from the same pool.

    There are two windows:

    • The 5-hour session window. It starts when you send your first message and resets in full five hours later. It is not a rolling average: a heavy first hour can use most of it.
    • The weekly limit. It resets at a fixed time assigned to your account, not on a rolling seven days. Anthropic says it may add other caps on top.

    Max and Ultra also have a separate weekly limit for Fable, Anthropic's most capable model, which counts on its own alongside the overall limits.

    Limits by plan

    As of November 2026, per Anthropic's pricing page and help center:

    PlanPrice per month5-hour windowWeekly limitFable
    Pro$20 ($17 billed annually)Yes, baseYes, baseUsage credits only
    Max$1005x Pro5x ProUp to 50% of weekly limit
    Ultra$200None for verified accounts10x ProUp to 50% of weekly limit
    Team Standard$25 ($20 annually)Rolling windowRolling windowNot stated
    Team Premium$125 ($100 annually)5x Standard5x StandardNot stated
    Enterprise (usage-based)$20 per seat plus API ratesNo per-seat limitNo per-seat limitPay per use

    The Claude Code cost docs confirm that Team and Enterprise seat allowances use rolling 5-hour and weekly windows, while usage-based Enterprise plans bill tokens at API rates instead. For plan prices in more detail, see Claude Code pricing.

    What happens when you hit a limit

    Claude Code tells you which limit you hit. The cost docs list messages such as "You've hit your session limit" for the 5-hour window and "You've hit your weekly limit" for the week. Both apply across all models. If instead you see a model-specific message like an Opus limit, switching to another model with /model keeps you working.

    A few things soften the stop:

    • Wrapping up. When you hit a limit mid-response, a "Usage limit reached, wrapping up" allowance lets the response finish. Anthropic says this happens once per week on Pro and once per 5-hour limit on Max.
    • Automatic resume. In Claude Code v2.1.234 and later, when a limit stops Claude mid-task, it waits and continues automatically after the reset. This is on by default when you sign in with a subscription.
    • Usage credits. If you turn them on, Claude keeps going past the limit and the notice changes to "Now using credits".

    Your options at the limit are the same three Anthropic lists on its pricing page: wait for the reset, upgrade your plan, or pay for extra usage.

    Ways to stretch your limits

    Most of the usage in a Claude Code session is context: every request resends the conversation, the files Claude read and the tool output. Cutting context is the biggest lever. Anthropic's cost guide recommends:

    TacticWhy it helps
    Run /usage and press fShows where your usage went and applies its recommendations
    Use Sonnet for routine workOpus and Fable use your allowance faster
    Lower the effort levelLess thinking per turn means fewer tokens
    /clear between unrelated tasksStops old context from riding along on every request
    Avoid agent teams for small jobsAgent teams can use about 7x the tokens of a standard session
    Keep CLAUDE.md under 200 linesIt is loaded into context at the start of every session

    Two more habits help. First, give specific prompts that name the files to change, so Claude does not read half the repo to find them. Second, watch the weekly bar as well as the 5-hour bar: running every 5-hour window to the limit on Pro or Max will empty the weekly allowance before the week ends.

    If you hit limits every day even after this, the plan is too small. Moving from Pro to Max costs five times as much and gives five times the usage, so it is a fair trade if you would otherwise pay for credits.

    Falling back to the API

    There are two ways to keep working past a subscription limit at API prices.

    Usage credits. Pro, Max, Ultra and Team plans can turn on usage credits, billed at standard API rates. You set a monthly spend limit or choose unlimited, and you can turn on auto-reload. Credits bought on or after December 7, 2026 expire after 12 months. Note that the monthly API credits included with Max and Ultra are a different thing and do not pay for Claude Code.

    An API key. You can run Claude Code against a Console pay-as-you-go account instead. If ANTHROPIC_API_KEY is set in your environment, Claude Code uses it instead of your subscription and bills every request at API rates. That is useful as a fallback, but easy to leave on by mistake.

    As of November 2026 the API costs, per million tokens:

    ModelInputOutput
    Fable 5.2$8$40
    Opus 5.5$4$20
    Sonnet 5.5$2$10

    Anthropic puts typical enterprise usage at about $13 per developer per active day, so a few hours past a limit on Sonnet usually costs a few dollars, not tens.

    Is there a cheaper way to run Claude Code in the cloud when limits hit?

    Claude Code on the web already runs in the cloud on your subscription, and it uses the same limits. If you work alone, usage credits are the simplest fallback.

    OpenComputer runs the same Claude Code agent on a cloud Linux machine for your Slack workspace, and you hand it work by mentioning @Computer in a thread. You can sign in with your existing Claude subscription. When that subscription hits its limit, you choose what happens: fall back to OpenComputer tokens, sold at API prices with no markup, until the limit resets, or stop and wait. OpenComputer itself bills per workspace for work minutes, counted only while the agent works: Pro is $20 a month for 2,000 minutes, Max is $200 for 25,000, and extra minutes cost $0.01. That fallback is the same price per token as Anthropic's usage credits, so it is not cheaper per token; the difference is that the choice is made per workspace and the work keeps running in the cloud. It is open source and can be self-hosted.

    For a broader comparison, see Codex vs Claude Code, and for other tools' limits, Codex pricing and Cursor pricing.

    FAQ

    How long is the Claude Code usage limit window?

    The session window is five hours. It starts when you send your first message and resets in full five hours later. There is also a weekly limit that resets at a fixed time assigned to your account, and both apply to Claude Code and chat together.

    Do Claude Code and claude.ai share the same limits?

    Yes. Chats on the web, desktop and mobile apps, Claude Code in the terminal and IDE, and cloud sessions all count against one usage pool. Heavy coding in the morning leaves less for chat later in the same window and week.

    Does the Ultra plan have a 5-hour limit?

    As of November 2026, Ultra has a weekly limit of ten times Pro's usage and no 5-hour limit for verified accounts. Max still has both windows, at five times Pro's usage, and both plans have a separate weekly limit for Fable.

    What happens to a task when I hit my limit?

    The current response can finish under a wrapping up allowance, and recent Claude Code versions wait and resume automatically after the reset when you are signed in with a subscription. With usage credits turned on, Claude keeps working and bills extra usage at API rates.

    How do I check how much usage I have left?

    Run the usage command inside Claude Code. It shows bars for your plan limits and a breakdown of what used them, and it can apply its suggestions to cut usage for you.

    Can I use an API key when my subscription runs out?

    Yes. If the Anthropic API key environment variable is set, Claude Code bills the API instead of your plan. Remember to unset it afterwards, or every later session will also be billed at API rates even after your plan resets.

    Sources

    Ship your next change from Slack.

    Add it to Slack, then mention @Computer in any channel.