claude-code - 💡(How to fix) Fix [BUG] Usage limit reached on Max 5x with low usage (4% weekly, 9% session) [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#54620Fetched 2026-04-30 06:40:38
View on GitHub
Comments
2
Participants
2
Timeline
6
Reactions
0
Timeline (top)
labeled ×4commented ×2

Error Message

OR a clear error message explaining which specific limit was hit.

Error Messages/Logs

with "Usage limit reached" error and "Upgrade" button

Root Cause

  1. Open Claude Code in a project folder (in my case: classiccarsarena.com)
  2. Use Sonnet 4.6 model with Medium thinking
  3. Send several content-generation messages (~47,000 words editorial output total across the session)
  4. At some point during normal usage, the input box becomes blocked with "Usage limit reached" error and "Upgrade" button
  5. Open claude.ai/settings/usage in browser and observe:
    • Plan: Max 5x
    • Current session: 9% used
    • Weekly all models: 4% used
    • Sonnet only: 2% used
    • Extra usage: OFF
  6. Switching model from Opus 4.7 to Sonnet 4.6 does not unblock input
  7. Cannot run /bug, /compact, /clear because input is fully blocked

Code Example

Usage limit reached
[Upgrade button visible]
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Plan: Max 5x Model: Sonnet 4.6 (also tried Opus 4.7) OS: Windows Claude Code version: Latest as of April 29, 2026 (cannot check exact version, blocked from terminal)

What's wrong: Claude Code shows "Usage limit reached" and blocks all input, making /bug, /compact, /clear impossible to run.

Settings > Usage shows:

  • Current session: 9% used (resets in 1h 41min)
  • Weekly all models: 4% used (resets Tue 7PM)
  • Sonnet only: 2% used

I cannot type anything in the input box. Upgrade button shows. Tried switching from Opus 4.7 to Sonnet 4.6 — same result.

What Should Happen?

Claude Code should accept input and execute commands normally, given that:

  • Plan usage limits are far from exhausted (4% weekly, 9% session)
  • Both 5-hour and weekly limits show plenty of capacity remaining
  • The block prevents even basic recovery commands like /bug, /compact, /clear

Expected: input box accepts typing and commands execute normally, OR a clear error message explaining which specific limit was hit.

Error Messages/Logs

Usage limit reached
[Upgrade button visible]

Steps to Reproduce

  1. Open Claude Code in a project folder (in my case: classiccarsarena.com)
  2. Use Sonnet 4.6 model with Medium thinking
  3. Send several content-generation messages (~47,000 words editorial output total across the session)
  4. At some point during normal usage, the input box becomes blocked with "Usage limit reached" error and "Upgrade" button
  5. Open claude.ai/settings/usage in browser and observe:
    • Plan: Max 5x
    • Current session: 9% used
    • Weekly all models: 4% used
    • Sonnet only: 2% used
    • Extra usage: OFF
  6. Switching model from Opus 4.7 to Sonnet 4.6 does not unblock input
  7. Cannot run /bug, /compact, /clear because input is fully blocked

Expected: with 4% weekly usage on Max 5x plan, Claude Code should not be reporting "Usage limit reached".

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.42 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

<img width="1115" height="149" alt="Image" src="https://github.com/user-attachments/assets/a0231d1b-f0c6-4978-808f-7566c9575f4d" /> <img width="594" height="279" alt="Image" src="https://github.com/user-attachments/assets/844b4eef-8a74-40c8-b878-065dba10f330" />

extent analysis

TL;DR

The "Usage limit reached" error in Claude Code may be due to an undocumented limit or a bug, and checking the Anthropic API documentation for any additional usage limits or reaching out to support could provide a solution.

Guidance

  • Review the Anthropic API documentation to see if there are any additional usage limits not reflected in the Claude Code settings.
  • Check if there are any known issues or bugs in the current version of Claude Code (2.1.42) that could be causing this error.
  • Consider reaching out to the Claude Code support team for further assistance, as the error message does not align with the reported usage percentages.
  • Verify that the "Extra usage" feature is indeed set to "OFF" and that no other hidden limits are being exceeded.

Notes

The provided information suggests that the usage limits displayed in the settings do not align with the "Usage limit reached" error, indicating a potential bug or undocumented limit.

Recommendation

Apply workaround: Reach out to the Claude Code support team for assistance, as the issue seems to be related to an undocumented limit or a bug in the current version.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING