[BUG] Account & Usage shows "Plan: Claude api" instead of Max plan after recent update
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?
After a recent platform update (around 2026-03-17), the "Account & Usage" dialog
shows "Plan: Claude api" even though the account has a Max plan and is authenticated
correctly via Claude.ai OAuth.
Auth method shown: Claude AI (correct)
Plan shown: Claude api (incorrect — should show Max)
ANTHROPIC_API_KEY: not set in environment
Steps to reproduce:
- Open Claude Code
- Click on account icon → "Account & Usage"
- Plan shows "Claude api" instead of Max
I have done /logout and /login again — issue persists.
The usage percentages (Weekly 24%, Weekly Sonnet 39%) are being tracked,
so the plan seems active but the label is wrong.
What Should Happen?
The "Plan" field in "Account & Usage" should correctly display
the user's active plan (Max), not "Claude api", when the user
is authenticated via Claude.ai OAuth and no API key is configured.
Error Messages/Logs
Steps to Reproduce
- Have a Max plan account authenticated via Claude.ai OAuth
- Open Claude Code (VSCode extension or terminal)
- Click on account icon → "Account & Usage"
- Observe "Plan" field shows "Claude api" instead of Max
- Run /logout then /login again using Claude.ai option
- Check "Account & Usage" again — issue persists
- Confirm ANTHROPIC_API_KEY is not set in environment (echo $ANTHROPIC_API_KEY returns empty)
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.78
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗