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

Claude Max user cannot access Opus model - 'Claude Pro users are not currently able to use Opus'

Open mikkihugo opened this issue 4 months ago • 22 comments

Issue Description: As a Claude Max user, I'm unable to access Opus models through Claude Code. When attempting to switch to Opus using /model opus, I receive the error message: "Invalid model. Claude Pro users are not currently able to use Opus in Claude Code."

Expected Behavior: Claude Max users should have access to Opus models, as this is a higher tier than Claude Pro.

Current Behavior:

  • /model opus fails with Pro user limitation message
  • /model anthropic/claude-opus-4.1 requires OpenRouter API key
  • No native Anthropic Opus models appear in /models list

Environment:

  • Claude Code CLI
  • Claude Max subscription (not Pro)
  • Recently reset/revoked API keys for security
  • Account email is associated with an organization in the Anthropic API console

Steps to Reproduce:

  1. Launch Claude Code as Claude Max user
  2. Run /model opus
  3. Observe error about Pro user limitations

Additional Context: The error message specifically mentions "Claude Pro users" which seems incorrect for Claude Max tier. Native Anthropic models (claude-3-5-sonnet, claude-3-opus) don't appear in the available models list from /models command.

Note: The account is associated with an organization in the Anthropic API console, though this shouldn't affect Claude Code access.

Request: Please enable Opus access for Claude Max users or clarify the correct model names/commands for accessing native Anthropic models without requiring third-party API keys.

mikkihugo avatar Aug 21 '25 12:08 mikkihugo

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/3566
  2. https://github.com/anthropics/claude-code/issues/3960
  3. https://github.com/anthropics/claude-code/issues/4085

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 Aug 21 '25 12:08 github-actions[bot]

Note: The account is associated with an organization in the Anthropic API console, though this shouldn't affect Claude Code access.

Can you share what /status says? Specifically the "account" section and the version of claude code.

igorkofman avatar Aug 21 '25 15:08 igorkofman

If you haven't tried /logout and /login, please re-authenticate. Claude Code does not automatically pick up the latest account state.

dicksontsai avatar Aug 22 '25 02:08 dicksontsai

Reauthentication doesn't work. Even though the subscription is Max, it shows only Sonnet 4 and asks to upgrade to Max for Opus.

The /status shows

vishalmanohar avatar Aug 26 '25 06:08 vishalmanohar

+1 I'm seeing the same issue as well

> /status
 Claude Code v1.0.93

 Account
  L Login Method: Claude API Account

 Memory • /memory
  L user: ~/.claude/CLAUDE.md
  L project: ~/code/CLAUDE.md

 Model • /model
  L Sonnet Sonnet 4 for daily use

sowrabh avatar Aug 27 '25 03:08 sowrabh

/logout is a key step that erases the incorrect credential values stored on your device. Please make sure to run /logout and then try again.

dicksontsai avatar Aug 27 '25 05:08 dicksontsai

I did that multiple times but no luck

sowrabh avatar Aug 27 '25 05:08 sowrabh

There seems to be an issue with storing your credentials locally. Can you try this workaround of manually specifying your model in settings?

"model": "opus"

dicksontsai avatar Aug 28 '25 13:08 dicksontsai

I´m also having this issue. logout didnt work. where do i try this workaround manually? What's new: • Status line input now includes session cost info • Fix tool_use/tool_result id mismatch error when network is unstable • Fix Claude sometimes ignoring real-time steering when wrapping up a task • @-mention: Add ~/.claude/* files to suggestions for easier agent, output style, and slash command editing • Use built-in ripgrep by default; to opt out of this behavior, set USE_BUILTIN_RIPGREP=0

/model opus ⎿ Invalid model. Claude Pro users are not currently able to use Opus in Claude Code. The current model is now Sonnet.

/model ⎿  Kept model as Sonnet

"model": "opus"

⏺ I see you tried to switch to Opus, but as mentioned in the output, Claude Pro users currently cannot use Opus in Claude Code. The model remains set to Sonnet.

Is there something specific you'd like help with using Sonnet?

llmcourtfield avatar Aug 29 '25 15:08 llmcourtfield

Add "model": "opus" to ~/.claude/settings.json, which is what /model reads from.

Documentation: https://docs.anthropic.com/en/docs/claude-code/settings#settings-files

dicksontsai avatar Aug 29 '25 15:08 dicksontsai

it hasnt fixed it. i logged out and back in again after making the change, but getting the same error.

/model opus ⎿ Invalid model. Claude Pro users are not currently able to use Opus in Claude Code. The current model is now Sonnet.

llmcourtfield avatar Aug 29 '25 15:08 llmcourtfield

I'm still facing the same issue too after multiple logout/login and uninstall/reinstall cycles. And the model in my ~/.claude/settings.json is opus too.

Image

sowrabh avatar Aug 30 '25 02:08 sowrabh

@dicksontsai any news on this? adding "model": "opus" to ~/.claude/settings.json did not fix the issue

llmcourtfield avatar Aug 30 '25 12:08 llmcourtfield

After several rounds of trying the following:

  • generating new OAuth code by running claude set-up token
  • entirely removing OAuth code in.zhsrc
  • logout / login
  • uninstalling claude code / reinstalling it

I´m still not able to get /model opus

Please help

llmcourtfield avatar Aug 30 '25 14:08 llmcourtfield

+1

ocasta avatar Sep 01 '25 15:09 ocasta

Noticed, its working for me now

Image

Claude Code version: 1.0.100

vishalmanohar avatar Sep 02 '25 04:09 vishalmanohar

Please update to v1.0.100, which we just released. We merged a change to mitigate this issue for Max users as we look into the root cause. We are sorry for the inconvenience here.

dicksontsai avatar Sep 02 '25 06:09 dicksontsai

Note: v1.0.102 reverts this mitigation due to a different breakage caused by my change. I'm working to restore this behavior for you all in the next release after v1.0.102. In case you re-encounter this issue, please fall back to v1.0.100 for now.

dicksontsai avatar Sep 03 '25 00:09 dicksontsai

Hi folks, have you tried the following steps? these workarounds has worked for some other folks here:

  • https://github.com/anthropics/claude-code/issues/3960#issuecomment-3091428389
  • https://github.com/anthropics/claude-code/issues/2207#issuecomment-3064618750

kushal-thakkar avatar Sep 03 '25 05:09 kushal-thakkar

Currently, as of 1.0.103, in terminal, unset CLAUDE_CODE_OAUTH_TOKEN will do the trick. Run that, then claude should work fine.

ww2283 avatar Sep 04 '25 14:09 ww2283

If you haven't tried /logout and /login, please re-authenticate. Claude Code does not automatically pick up the latest account state.

Logging in and out resolved the issue for me.

budivoogt avatar Sep 05 '25 09:09 budivoogt

For me, doing /model didn't show opus (max user). IDK if its only supposed to only show models you've used, but after trying logout/login and then deleting the .claude/session-env (might not be a good idea), i tried just /model opus. It came up with "custom model opus" but then i did /model again and then opus 4.5 (Most capable for complex work) was available.

mike-stewart-dev avatar Nov 25 '25 06:11 mike-stewart-dev