[BUG] Forcefully using my Api balance over my Max Plan
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'm able to use the desktop app for claude, but when I click into claude code tab it gives me errors. I get the same errors in cli. It is trying to use an api key? I login via my max plan and authorize but it keeps me locked into api billing. I had $50 in my balance, and now have $24.23. I have more than enough max plan usage. Any suggestions?
What Should Happen?
I should be able to login via my max plan in cli, and also use claude code in the desktop app. I was incorrectly charged towards my API balance when I have a $200 Max plan.
Error Messages/Logs
Steps to Reproduce
open powershell
claude /logout
close powershell
claude /login
pick max plan
authorize
click enter
it shows API rather than Max Plan
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.50
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗