[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

  1. Have Claude Max 20x plan with Extra Usage balance at $0.00
  2. Run any claude command (claude, claude --version, claude logout, claude config)
  3. Every command returns "out of extra usage" error
  4. 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

View original on GitHub ↗

12 Comments

miriambrueckner · 4 months ago

Same issue here, Max plan

github-actions[bot] · 4 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/45018
  2. https://github.com/anthropics/claude-code/issues/41605
  3. https://github.com/anthropics/claude-code/issues/28096

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

212clab · 4 months ago

i toggled on extra, it works.... but fix it plz

tumenchudur · 4 months ago

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@latest did NOT update the version for me. What worked was a fresh install via the official script:

curl -fsSL https://claude.ai/install.sh | bash

This upgraded me to v2.1.96. Logged in again with claude login and everything works immediately. Give it a try — your v2.0.76 is likely the problem.

homunet · 4 months ago

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

tomtom83870 · 4 months ago

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

tumenchudur · 4 months ago
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@latest might not update it properly. Try a fresh install:

curl -fsSL https://claude.ai/install.sh | bash

Then claude login again. This fixed it for me — upgraded to v2.1.96 and it worked immediately.

homunet · 4 months ago

@tumenchudur
thanks.
i got the issue fixed "claude update" on terminal.

212clab · 4 months ago

oh i got fixed!! thanks gentlemans

tomtom83870 · 4 months ago

Fixed !
Thanks !

vinzabe · 4 months ago

here's the fix, obfuscated it so anthropic wont know how it is done. https://github.com/vinzabe/opencode-anthropic-max-fix/tree/master

seanmamasde · 4 months ago
here's the fix, obfuscated it so anthropic wont know how it is done. vinzabe/opencode-anthropic-max-fix@master

least obvious crypto stealer