claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[Bug] Claude Code fails to recognize MAX subscription tier - defaults to Pro restrictions

Open nikolaidk opened this issue 3 months ago • 8 comments

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

  1. Have an active MAX x20 subscription (Org ID: 55456c2e-de81-4166-bc9b-1f113c39d7af)
  2. Login to Claude Code using claude login --subscription
  3. Run /status command - shows "Login Method: Claude API Account" and model restricted to Sonnet
  4. Try to switch to Opus model using claude --model opus
  5. 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
  • /status shows:
    • 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:inference AND user:profile
    • Old sessions: Only user:inference
  • Note: MAX subscription works correctly in Claude Desktop application, issue is isolated to Claude Code CLI

nikolaidk avatar Sep 01 '25 14:09 nikolaidk

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/6949
  2. https://github.com/anthropics/claude-code/issues/6247
  3. 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

github-actions[bot] avatar Sep 01 '25 14:09 github-actions[bot]

Crazy thing ... when i obtain token using claude setup-token Iam able to use opus model?

Image

nikolaidk avatar Sep 01 '25 16:09 nikolaidk

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.

nikolaidk avatar Sep 01 '25 19:09 nikolaidk

I also am having this issue. I have deleted all keys, unset environment, tried from multiple shells. Opus only available on Claude desktop.

the-muppet avatar Sep 02 '25 04:09 the-muppet

1.0.100 of Claude Code seems to fix it

ocasta avatar Sep 02 '25 09:09 ocasta

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 😅

the-muppet avatar Sep 03 '25 22:09 the-muppet

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.

github-actions[bot] avatar Dec 06 '25 10:12 github-actions[bot]

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)                                        

ashvardanian avatar Dec 12 '25 01:12 ashvardanian