[Bug] Claude Code fails to recognize MAX subscription tier - defaults to Pro restrictions
Environment
- Platform (select one):
- [ ] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [x] Other: Claude Code CLI
- Claude CLI version: 1.0.43 (Claude Code) (also tested with v1.0.98)
- Operating System: macOS 15.6.1 (Build 24G90)
- Terminal:
Bug Description
MAX x20 subscription is not recognized in Claude Code despite being active and working in Claude Desktop. The system incorrectly identifies me as a "Claude Pro" user and restricts access to Opus model. Login sessions show a new "user:profile" attribute that wasn't present in older sessions, suggesting a change in the authentication flow.
Steps to Reproduce
- Have an active MAX x20 subscription (Org ID: 55456c2e-de81-4166-bc9b-1f113c39d7af)
- Login to Claude Code using
claude login --subscription - Run
/statuscommand - shows "Login Method: Claude API Account" and model restricted to Sonnet - Try to switch to Opus model using
claude --model opus - Receive error message: "Claude Pro users are not currently able to use Opus in Claude Code"
Expected Behavior
- MAX x20 subscription should be recognized upon login
- Should have access to Opus model as per MAX subscription benefits
- Status should reflect correct subscription tier
- Should be able to use same features as in Claude Desktop
Actual Behavior
- Subscription not recognized - stuck with Sonnet model only
- Error message incorrectly identifies user as "Claude Pro" instead of MAX subscriber
/statusshows:- Login Method: Claude API Account
- Model: Sonnet Sonnet 4 for daily use
- Cannot access Opus model despite MAX subscription
Additional Context
- Session ID: 70c4a2ea-9234-4382-ac10-bcd5a9b75665
- Org ID: 55456c2e-de81-4166-bc9b-1f113c39d7af
- Troubleshooting attempted:
- Switched between API and subscription login methods - no change
- Uninstalled and reinstalled Claude Code - no change
- Downgraded Claude Code versions - no change
- Observable difference in Claude Desktop: Login sessions now show two attributes:
- New sessions:
user:inferenceANDuser:profile - Old sessions: Only
user:inference
- New sessions:
- Note: MAX subscription works correctly in Claude Desktop application, issue is isolated to Claude Code CLI
Found 3 possible duplicate issues:
- https://github.com/anthropics/claude-code/issues/6949
- https://github.com/anthropics/claude-code/issues/6247
- https://github.com/anthropics/claude-code/issues/6636
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
Crazy thing ... when i obtain token using claude setup-token Iam able to use opus model?
Deleted old key in Claude Code workspace in console.anthropic.com and expected a new one to be created on Claude /login but that did not happen. Login flow does not work as expected. After login I do not see opus option under /model. Iam on 20x Max subscription.
I also am having this issue. I have deleted all keys, unset environment, tried from multiple shells. Opus only available on Claude desktop.
1.0.100 of Claude Code seems to fix it
I had to rerun the migrate command and then fix the path in the generated shim but... Hey at least its working again I guess 😅
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
I'm also experiencing the same issue with the 20x maximum subscription. Relevant details:
Version: 2.0.65
Session ID: 8ae66526-7ad3-4800-9f1e-2cffa2901115
Login method: Claude Max Account
Model: sonnet[1m] (claude-sonnet-4-5-20250929[1m])
IDE: Connected to VS Code extension version 2.0.65 (server version: 2.0.62)