[BUG] Both the web portal and claude code report usage at ~70% but Claude Code reports I have hit my rate limit
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?
Claude Code reports I have hit my rate limit even though usage is reported at around 70%
What Should Happen?
Claude Code should not hit a rate limit if usage is not maxed.
Error Messages/Logs
You've hit your limit
Steps to Reproduce
This occurred to me during regular usage of the service.
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.29 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
Screenshots of Claude Code version, rate limit error message and two sources for the same usage number:
<img width="447" height="454" alt="Image" src="https://github.com/user-attachments/assets/9a583db9-96b1-4d2c-a292-8418e12441f4" />
<img width="937" height="502" alt="Image" src="https://github.com/user-attachments/assets/626b94d0-3095-4508-ba8f-25e009b274e8" />
I would also add that the chat function still works, only Claude Code is reporting hitting it's rate limit.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗