Skip to content
AI Dev Toolkit.
Esc
  • AI Token CounterCount tokens for GPT, Claude, Gemini, DeepSeek, Qwen and more.Tool
  • LLM API Cost CalculatorEstimate per-request, daily and monthly API costs.Tool
  • AI Model ComparisonCompare prices, context windows and features across models.Tool
  • AI Model Pricing PagesSpecs, real costs and cheaper alternatives for popular models.Tool
  • Context Window CheckerSee whether your text fits each model's context window.Tool
  • Subscription vs API CalculatorFind out whether a chat plan or the API is cheaper for you.Tool
  • GPU / VRAM CalculatorCheck how much VRAM a local model needs and which GPUs fit.Tool
  • Claude Code Error DatabaseExact Claude Code error messages with tested fixes.Tool

Claude Code · Server and limits

You've hit your session limit

Your Claude subscription’s rolling usage allowance ran out; it comes back at the time shown.

Message

The exact error

Claude Code
You've hit your session limit · resets 3:45pm

Also appears as:

Weekly allowance
You've hit your weekly limit · resets Mon 12:00am
Model-family limits
You've hit your Opus limit · resets 3:45pm
Warning before the limit
You've used 85% of your session limit · resets 3:45pm

Meaning

What it means

Pro, Max, Team and Enterprise plans include a rolling allowance for a session window and for the week. When either runs out, Claude Code blocks requests until the reset time in the message. Session and weekly limits cover all models, so switching model doesn’t help with them; the Opus and Sonnet limits apply only to that model family.

Causes

Common causes

  • Heavy use in the current window: long agentic tasks, large files, many subagents
  • A burst of activity using up the weekly allowance before the session window resets

Fix

How to fix it

  1. See where you stand

    Run /usage to see your plan’s windows and when each resets.

  2. For an Opus or Sonnet limit, switch family

    Run /model and pick a model outside that family to keep working.

  3. Wait, or let Claude Code continue for you

    In an interactive session, Claude Code can wait and continue the task shortly after the reset.

  4. Buy more usage or upgrade

    Run /usage-credits to buy extra usage on Pro and Max (or request it from your admin on Team and Enterprise), or move to a higher plan. Compare the cost with the API in the subscription vs API calculator.

Related

Search all Claude Code errors