[BUG] CLI completely blocked by "out of extra usage" error despite Max 20x plan at only 10% usage
Status Open
Reported on v2.0.76
Maintainer reply None cached
Activity 12 comments · opened Apr 8, 2026
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?
What's Wrong:
Plan: Claude Max 20x ($200/month)
Claude Code version: v2.0.76
OS: macOS
Current session usage: 10%, Extra Usage balance: $0.00
Every CLI command (including claude --version, claude logout, claude config) returns API Error: 400 "You're out of extra usage"
CLI is completely unusable despite plan limits not being reached
Steps to reproduce:
Have Max 20x plan with Extra Usage balance at $0.00
Run any claude command
Get "You're out of extra usage" error regardless of actual plan usage
What Should Happen?
CLI should use plan quota (currently 10% used), not require Extra Usage credits. Web interface works normally with the same account.
Error Messages/Logs
API Error: 400
{"type":"error","error":{"type":"invalid_request_error","message":"You're out of extra usage. Add more at claude.ai/settings/usage and keep going."},"request_id":"req_011CZqiipW9q9ndbZPzBwQnA"}
Steps to Reproduce
- Have Claude Max 20x plan with Extra Usage balance at $0.00
- Run any claude command (claude, claude --version, claude logout, claude config)
- Every command returns "out of extra usage" error
- Web interface (claude.ai) works normally with same account
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.0.76
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
- Plan usage: Session 10%, Weekly 5% (all well within limits)
- Extra Usage balance: $0.00 (auto-reload disabled)
- Web interface works normally, CLI is completely unusable
- rm -rf ~/.claude + claude login did not resolve the issue
- Issue persists across all commands including claude --version
12 Comments
Same issue here, Max plan
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
i toggled on extra, it works.... but fix it plz
Had the exact same issue — Max 20x plan, plenty of remaining limits (47% weekly, 29% session), but every Claude Code command returned the "out of extra usage" error. Tried all models (Opus, Sonnet, Haiku), logout/login — nothing worked.
Root cause: Outdated Claude Code version. I was on v2.1.29, you're on v2.0.76. The old versions appear to route all API requests through extra usage billing instead of the Max plan quota.
Fix:
npm install -g @anthropic-ai/claude-code@latestdid NOT update the version for me. What worked was a fresh install via the official script:This upgraded me to v2.1.96. Logged in again with
claude loginand everything works immediately. Give it a try — your v2.0.76 is likely the problem.same here. i have max. it looks i have plenty of token.
Current session
0% used
Resets 9pm (Asia/Tokyo)
Current week (all models)
████████████ 24% used
Resets Apr 14 at 3pm (Asia/Tokyo)
Current week (Sonnet only)
0% used
Same king of problem here, but on linux Kubuntu.
I have max20 with plenty of tokens (0%usage) but have error 400 You're out of extra usage.
Claude code works fine on my mac mini with the same account while on linux it's error 400.
Everything was ok yesterday, nothing happenned during night.
claude code v2.1.25
This is likely your issue. I had the same problem on v2.1.29 — old versions route API requests through extra usage billing instead of your Max plan quota.
npm install -g @anthropic-ai/claude-code@latestmight not update it properly. Try a fresh install:Then
claude loginagain. This fixed it for me — upgraded to v2.1.96 and it worked immediately.@tumenchudur
thanks.
i got the issue fixed "claude update" on terminal.
oh i got fixed!! thanks gentlemans
Fixed !
Thanks !
here's the fix, obfuscated it so anthropic wont know how it is done. https://github.com/vinzabe/opencode-anthropic-max-fix/tree/master
least obvious crypto stealer