viberank
Back to Blog

Claude Code Usage Limits, Explained

August 18, 20268 min read

You're mid-refactor and Claude Code stops: limit reached. If that's why you're here, the short version: there are two limits stacked on top of each other — a rolling 5-hour session window and a weekly cap — and /usage shows exactly where you stand on both. Here's how the system works in 2026, how to see your real consumption, and every option you have when you hit the wall.

Limit one: the rolling 5-hour session

Every message you send starts or joins a 5-hour window. Your plan includes a certain amount of usage per window, shared across Claude Code, claude.ai, and the desktop and mobile apps. When the window expires, a fresh one starts with your next message — so "wait for the reset" is never more than a few hours away. In May 2026 Anthropic permanently doubled the 5-hour limits on Pro, Max, Team, and seat-based Enterprise plans, which moved the everyday pain from session limits to the weekly cap.

How much a session "costs" depends heavily on what you do with it: model choice, codebase size, and how much context each request drags along. The same hour of work can consume wildly different amounts of your allowance — which is why measuring your own usage (below) beats rules of thumb.

Limit two: the weekly cap

On top of sessions sits a weekly limit covering all your usage across all models. Unlike the session window, the weekly reset is fixed, not rolling — it resets at a set time each week assigned to your account, whether you've been coding or not. This is the limit heavy users actually plan around: burn hard early in your week and no amount of session discipline gets it back before the reset.

Anthropic introduced weekly caps in mid-2025 after a wave of always-on agent loops, and has adjusted them since — including a temporary 50% boost in mid-2026. Treat exact allowances as a moving target; treat /usage as the source of truth for your account.

Checking where you stand

Three tools, three different questions:

  • /usage in Claude Code (or claude.ai/settings/usage) — am I about to hit a limit, and when does it reset? This is the official percent-used view of both the session and the week.
  • npx ccusage@latest daily — what am I actually consuming? It reads your local session logs and computes per-day tokens and API-equivalent USD cost, per model. This is the number that tells you whether your subscription is a bargain. Full guide here.
  • npx viberank-cli — is my usage normal? It submits your ccusage totals to the public leaderboard, where you can compare against 1,100+ developers. Median heavy users burn far more than most people guess.

One number from the board worth knowing: across 11+ trillion tracked tokens, about 95% are prompt-cache reads that cost roughly a tenth of normal input tokens. A scary token count in ccusage usually maps to a much smaller real cost — and to less limit pressure than you'd fear.

Hit the limit? Your options, in order

  1. Wait it out. Session windows refresh within hours; /usage shows your weekly reset time.
  2. Burn less per task. Route routine work to smaller models, keep context lean, start fresh conversations instead of dragging 100k-token histories. Nine concrete tactics here — the same habits that cut API bills stretch subscription limits.
  3. Enable usage credits. Pro and Max plans can keep working past the included limit at standard API rates, billed pay-as-you-go — no plan change required.
  4. Switch to an API key for the overflow. API billing has no session or weekly caps, just per-token pricing and org rate limits.
  5. Upgrade — but check the math first. Max 5x ($100/mo) and Max 20x ($200/mo) multiply your limits, and for heavy users they're dramatically cheaper than equivalent API usage. Whether you're a heavy user is an empirical question: drop your ccusage numbers into the calculator and see which tier your actual usage justifies, or read our full Pro vs Max breakdown.

The subscription arbitrage, quantified

Limits exist because flat-rate plans are a genuine arbitrage. On the Claude Code leaderboard, developers routinely show thousands of dollars of API-equivalent usage per month on a $100–$200 subscription — the top of the board is past six figures in tracked equivalent spend. If you keep slamming into weekly caps, you're almost certainly in the population for whom Max pays for itself many times over.

npx viberank-cli

One command puts your real numbers on the board — your code and prompts never leave your machine, only usage totals do.

Claude Code limits FAQ

What are Claude Code's usage limits in 2026?

Two layers: a rolling 5-hour session limit and a weekly cap on top, both shared across Claude Code and the Claude apps. Anthropic permanently doubled the 5-hour limits for Pro, Max, Team, and Enterprise plans in May 2026; the weekly caps stayed put. Exact allowances scale with your plan — Pro ($20/mo), Max 5x ($100/mo), or Max 20x ($200/mo).

How do I check my Claude Code usage against the limits?

Run /usage inside Claude Code — it shows your current session and weekly consumption and when each resets. The same view lives at claude.ai/settings/usage. For token-level history and API-equivalent cost, run npx ccusage@latest daily, which reads your local session logs.

When does the Claude weekly limit reset?

At a fixed time each week assigned to your account — it does not roll with your usage the way the 5-hour session window does. /usage shows your exact reset time.

How do I keep working after hitting a Claude Code limit?

Wait for the reset, enable usage credits (pay-as-you-go at standard API rates once your included limit runs out), switch that session to an API key, or upgrade your plan. Before upgrading, check your real usage — the Viberank calculator tells you which tier your actual consumption justifies.

Do Claude Code limits apply if I pay with an API key?

Subscription session and weekly caps don't apply to API billing — you pay per token against your organization's API rate limits instead. Heavy users on the Viberank leaderboard routinely consume thousands of dollars of API-equivalent usage per month on a $100–$200 subscription, which is why hitting subscription limits is so common.