[BUG] API ERROR: Rate Limit Reached with 0% of my session or weekly usage even touched.
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?
I have 1-2% of my weekly and current session usage. I have in fact never gone over usage. Yet, while having extra usage on because Claude gave me a $50 credit a few weeks ago, it ate up all of my credit AND overcharged despite having a $50 limit set. It went to $51.66 and it fully blocked me from using any of MY ALREADY PAID FOR PLAN until i paid off that $1.66. So, I added $5. Within an hour of very light prompting, my usage went to 4% and an additional $1.81 was taken from my extra usage despite having 95% of my current session and weekly usage still available. Additionally, it would not function until i set my ceiling of spending to $55.
So to be concise. Claude code charged extra usage while not going above my normal plan usage bounds. Claude code exceeded the ceiling I set by $1.66. Claude code rate limited me until A) I paid the $1.66 off and B) I raised my ceiling to $55 of extra usage. Claude code continued to charge an additional $1.81 of extra usage TODAY while barely using 2-3% of my plan.
For context, I am on the 20xMax $200/mo plan.
What Should Happen?
I should never ever be charged until 100% of my usage, but am being charged extra regardless and my usage was being restricted from me until i covered the debt despite me having set a hard limit
Error Messages/Logs
Just an API Rate Limit Error
Steps to Reproduce
Simply using it. Again, I have 95%+ available usage, but am being overcharged beyond my limit
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.86
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 14 comments on GitHub. Read the full discussion on GitHub ↗