[BUG] Using Max 200 Plan but Charged for API Usage!
Environment
- Platform (select one):
- [ ] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [X] Other: Claude Code via Max 200 Plan
- Claude CLI version: 1.0.57 (Claude Code)
- Operating System: macOS 15.5
- Terminal: Ghostty
Bug Description
I'm logged in from Claude Code using Max 200 Plan via OAuth. The usual regular API timeouts happened, but this time it's different. "Claude Console" was also unavailable. When the screen to log into Claude Console was available, OAuth login stalled. Trying to go through the chat service to get help won't work because their login fails, so no support there either. FRUSTRATING!
⏺ Let me update the TodoWrite and then update these references:
⎿ API Error (Request timed out.) · Retrying in 1 seconds… (attempt 1/10)
⎿ API Error (Request timed out.) · Retrying in 1 seconds… (attempt 2/10)
⎿ API Error (Request timed out.) · Retrying in 2 seconds… (attempt 3/10)
⎿ API Error (Request timed out.) · Retrying in 4 seconds… (attempt 4/10)
⎿ API Error (Request timed out.) · Retrying in 8 seconds… (attempt 5/10)
⎿ API Error (Request timed out.) · Retrying in 18 seconds… (attempt 6/10)
⎿ API Error (Request timed out.) · Retrying in 36 seconds… (attempt 7/10)
⎿ API Error (Request timed out.) · Retrying in 39 seconds… (attempt 8/10)
⎿ API Error (Connection error.) · Retrying in 36 seconds… (attempt 9/10)
⎿ TypeError (fetch failed)
⎿ API Error (Request timed out.) · Retrying in 34 seconds… (attempt 10/10)
⎿ API Error: 401 {"type":"error","error":{"type":"authentication_error","message":"OAuth
token has expired. Please obtain a new token or refresh your existing token."}}
> continue
⎿ Invalid API key · Please run /login
You've spent $5 on the Anthropic API this session.
Learn more about how to monitor your spending:
https://docs.anthropic.com/s/claude-code-cost
❯ 1. Got it, thanks!
Steps to Reproduce
- Use Claude Code
- After a while, the regular API errors occur
- You get a notice saying they charged you for API usage when you are on the Max plan
Expected Behavior
Not charge me for what I didn't use?
Actual Behavior
Charged me for $5? HUH?
Additional Context
Attached screenshot
<img width="876" height="606" alt="Image" src="https://github.com/user-attachments/assets/5c6a9fa5-3343-4fdc-9cc8-049a37ff5aae" />
<img width="657" height="255" alt="Image" src="https://github.com/user-attachments/assets/de029ae4-f559-4488-aa87-a23d9102565e" />
<img width="607" height="616" alt="Image" src="https://github.com/user-attachments/assets/3692bb20-ed2b-4a1c-aa11-fbfea337678d" />
<img width="419" height="722" alt="Image" src="https://github.com/user-attachments/assets/8ff25384-84a9-4edf-adca-85d28dc7c7b5" />
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗