[BUG] Claude Code blocks usage at 77% session limit instead of 100%
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Environment
- Platform: Claude Code CLI
- Claude CLI version: 2.1.30 (Claude Code)
- Operating System: Linux
- Terminal: Konsole
- Plan: Claude Pro
- Timezone: Europe/Paris
Bug Description
Claude Code completely blocks all usage when session limit reaches 77%, despite /usage showing 23% remaining quota. The error message states "You've hit your limit • resets 2am (Europe/Paris)" but the usage dashboard clearly shows capacity still available.
Impact
This effectively reduces the usable session quota to 77% of limit
The rate limiting enforcement system appears to be blocking users before they reach their actual quota limit, or there's a desync between the usage tracking display and the rate limiting enforcement mechanism?
What Should Happen?
Claude Code should allow usage up to 100% of the session limit. If /usage shows 77% used, I should be able to continue working until reaching 100%.
Error Messages/Logs
- `/usage` command shows: **77% used** with reset at 2am
- Claude Code displays: **"You've hit your limit • resets 2am (Europe/Paris)"**
- All prompts are completely blocked despite 20% quota remaining
- Weekly limit shows only 9% used (plenty of capacity)
## Supporting Evidence
### `/usage` Output
### `/stats` Output (showing minimal total usage)
Total tokens: 37.9k
Sessions: 4
Active days: 1/2
### Error Message Screenshot
[See attached: claude_web_usage_Screenshot_20260203_223521.png]
### Web Interface Comparison
Web interface (claude.ai Settings > Usage) shows 77% session usage, which aligns with CLI showing 77% - but both should still allow continued usage.
## Additional Context
- This occurs consistently - not a one-time glitch
- The `/usage` display does not update to 100% even after waiting several minutes
- Total token usage (37.9k) is very modest, suggesting the block is premature
- Weekly quota is barely used (9%), so this is specifically a session limit calculation issue
- The blocking persists until the scheduled reset time
Steps to Reproduce
- Use Claude Code normally during a session
- Monitor usage with
/usagecommand - Observe that blocking occurs at approximately 77% instead of 100%
- Attempt to send any prompt - all requests are rejected
- Run
/usageagain - still shows 77%, not 100%
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.30
Platform
Anthropic API
Operating System
Other Linux
Terminal/Shell
Other
Additional Information
Session ID: eb82462d-1f04-46ca-ab71-ef0d8b01ba89
Timestamp of issue: February 3, 2026, ~10:35 PM Europe/Paris time
<img width="1445" height="756" alt="Image" src="https://github.com/user-attachments/assets/33265b88-0c83-4083-b362-f3010ef593da" />
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗