Claude Code usage limits

Two windows: five hours and one week. Here is why Claude Code drains them faster than chat, and how to stay inside them.

Two windows, not one

WindowHow it refillsWhat it stops
Every 5 hoursContinuously, as the window rolls forwardA long unbroken session
Every weekOnce, at the resetSustained heavy use across days

Most people notice the 5-hour window first and assume it is the constraint. For anyone using Claude Code daily, the weekly window is the one that ends the plan.

Why Claude Code drains a limit faster than chat

Headless use is worse than interactive use: one measurement found claude -p filling the 5-hour meter about 1.5x faster than interactive sessions doing the same work.

Ways to stay inside the limits

  1. Keep sessions warm rather than restarting them. A cold session re-reads everything at full price.
  2. Avoid changing the system prompt, tool definitions or CLAUDE.md mid-session — editing the prefix invalidates everything behind it.
  3. Route simple work to Sonnet or Haiku. The meter is the same; the work per unit is not.
  4. Trim large tool outputs. A 500 kB file read is roughly 125,000 tokens.
  5. Watch the weekly window, not the 5-hour one, and plan heavy refactors for after the reset.

What a metered plan changes

A metered plan has no windows. You buy an amount of usage, measured at API list value, and it is drawn down as you work. There is nothing to exhaust mid-week and nothing to wait for.

gatewaydock charges 10.5% of list, so $69 buys $657 of usage. The only cap is a daily one, which paces spending rather than removing it. Plans are on Claude Code pricing.

Questions

What are the Claude Code usage limits?

A 5-hour window and a weekly window, both expressed as multiples of the Pro allowance. Anthropic does not publish token counts for either.

What happens when I hit the Claude Code limit?

Requests stop until the window refills. The 5-hour window clears quickly; the weekly window does not, so a heavy week can leave you waiting days.

What are the Claude Code rate limits on the API?

The API uses rate limits by usage tier — Start, Build and Scale — measured in requests and tokens per minute, not in weekly allowances. They are documented separately from subscription limits.

Sources

Last checked 2026-12-06.

Private beta

Founding members keep their price. Join the waitlist before the first batch of seats opens.

Join waitlist