← All fixes
Anthropic· Quota & billing

Claude Code usage limit reached — weekly limits, fixes & the alternatives heavy users switch to (2026)

Claude usage limit reached. Your limit will reset at …
Quick answer

Claude Pro/Max plans meter Claude Code inside rolling windows (a 5-hour session window, plus weekly caps). Heavy agentic sessions — big repos, long context, many tool calls — hit the window early; it unblocks automatically when the window resets.

What causes it

How to fix it

  1. Wait for the window reset (the error tells you when) — or schedule heavy runs so they straddle windows.
  2. Use /compact regularly and start fresh sessions per task to keep context small.
  3. Upgrade the plan tier (Max raises the caps substantially) or switch Claude Code to API billing for pay-as-you-go.
  4. Move overflow work to an agent that isn't plan-metered.
Running an agent?

Agentic loops are what burn the window: every tool result re-enters context. The same task done with smaller context lasts several times longer before hitting the cap.

The permanent fix

Stop hitting this entirely

Since August 2026 you CAN point Claude Code at a different endpoint: Standard Compute serves the Anthropic Messages API (/v1/messages) with Claude 5-family models on a flat monthly price — set ANTHROPIC_BASE_URL to https://api.stdcmpt.com and Claude Code runs with no 5-hour window and no weekly cap. Alternatively, open agents like OpenCode, Cline and Aider run on the same flat-rate endpoint via the OpenAI-compatible base URL.

Get a free API key →How it connects →

FAQ

How long until Claude Code unblocks?

The session window is rolling (~5 hours from when usage started), and the error message shows the exact reset time. Weekly caps reset on their own schedule.

Can I point Claude Code at a different provider to avoid limits?

Yes — since August 2026. Claude Code talks the Anthropic Messages API, and providers that serve that format work via the ANTHROPIC_BASE_URL environment variable. Standard Compute serves Claude 5-family models this way on a flat monthly price with no session windows. Anthropic API billing (pay-per-token) also removes the plan window, but the bill scales with usage.

Related errors

Anthropic / Claude rate limit exceeded (429)Anthropic (Claude) · 429Cursor “You've hit your usage limit” — how to fixCursorCodex “You've hit your usage limit. Upgrade your plan or add credits” — the Fixes (2026)OpenAICan you use a Claude Pro/Max subscription with OpenCode? Login, limits & alternatives (2026)OpenCode / Anthropic