[BUG] macOS v1.0.51: Claude Max users incorrectly treated as Pro users - Cannot access Opus model
Bug Description
Claude Code v1.0.51 on macOS incorrectly treats Claude Max subscription users as Pro users, preventing access to Opus model. The same version works correctly on Linux, indicating a platform-specific bug.
Environment Info
- Platform: macOS (Darwin 24.5.0)
- Terminal: Various (issue occurs across different terminals)
- Claude Code Version: 1.0.51
- Subscription: Claude Max ($200/month plan)
- Environment Variables: No
CLAUDE_MODELorANTHROPIC_MODELset
Current Behavior
/modelcommand only shows Sonnet option on macOS/model opusreturns error: "Invalid model. Claude Pro users are not currently able to use Opus 4 in Claude Code."/costcorrectly shows Claude Max subscription status
Expected Behavior
Same as Linux behavior - should show three model options:
- Default (recommended) - Opus 4 for up to 50% of usage limits
- Opus - Opus 4 for complex tasks
- Sonnet - Sonnet 4 for daily use
Steps to Reproduce
- Install Claude Code v1.0.51 on macOS
- Login with Claude Max subscription
- Run
/model- observe only Sonnet is shown - Run
/model opus- observe error about Pro users
What I've Tried
- Logging out and logging back in (did NOT fix the issue)
- Verified no environment variables are interfering
- Confirmed same version works on Linux Mint
- Uninstalled and reinstalled Claude Code
Comparison with Linux
Same Claude Code version (1.0.51) on Linux Mint correctly shows all model options and allows Opus selection without any errors.
Related Issues
- #1557 - Similar issue but re-login fix doesn't work for v1.0.51
- #3357 - Another macOS user with Max subscription seeing only Sonnet
- Reddit thread with exact error message: https://www.reddit.com/r/ClaudeAI/comments/1l94242/
Impact
Claude Max subscribers on macOS cannot access Opus model despite paying for the highest tier subscription, significantly limiting the utility of Claude Code for complex tasks.
Additional Context
This may be related to the previous Bedrock integration attempts, though both affected and unaffected machines have clean environments with no Bedrock-related configuration.
23 Comments
Usage has been cut in half and dumbed down. Inside info is they are using their servers to prioritize training for sonnet 4.5 to launch at the same time as xAI dedicated coding model. xAI coding logic is very close to sonnet 4 and has anthropic scrambling. xAI sucks at making designs but codes really well.
What the hell? This and the constant overload errors makes Claude Code a pretty bad deal to me.
Not limited to Claude code. I code with the desktop app plus mcp. The difference now vs a few weeks ago is stark.
1: the amount of tokens for one conversation dropped. Can't quantify it but it's there and it's extremely frustrating. I would bet I spend 25% of each conversation getting Claude back on track.
2: the amount of tokens or time per allowed time period has dropped as well.
What I find disingenuous is that terms say both of these will change with overall use of anthropic AI at any one point in time. This is now across the board meaning anytime I try to code from 8am to midnight I experience this. I don't believe overall usage of anthropic AI increased permanently and drastically all at once. If this felt like a slowly building amount of time and tokens that would feel organic and I would be inclined to believe it. This was immediate.
I would even be okay with anthropic saying "hey we've thankfully experienced a huge influx of users and we're working on expanding our capabilities. Please give us a little grace." But no. So, to me disingenuous is dishonest and I really don't like being lied to.
What I did to fix it...
1- removed completlly cloude-code, includin .claude.json from Users directory
2- reinstalled but choosing the version 1.0.33 npm install -g @anthropic-ai/claude-code@1.0.33
3- loged in normally
By the way, not only Claude Max users, but Pro users as well can access opus-4. I am a pro user, and see the same bug.
At least for me it got fixed on version 1.0.58
______________________________________________
Felipe Castro
Celular: (55) 99156 3083
http://www.linkedin.com/in/felipefcastro
Em sex., 25 de jul. de 2025 às 07:11, yu @.***>
escreveu:
I am a Max user and I can no longer access Opus-4.
<img width="977" height="76" alt="Image" src="https://github.com/user-attachments/assets/52902203-1230-43dc-b6d3-a71158a829c2" />
oh this is bug on cc
last time I also facing this issue,relogin will resolve it
Still getting the same issue.
Whats your cc version?
______________________________________________
Felipe Castro
Celular: (55) 99156 3083
http://www.linkedin.com/in/felipefcastro
Em dom., 27 de jul. de 2025 às 15:50, Sam Lazrak @.***>
escreveu:
same problem anyone have a solution?? or have they fixed it ??
Have you tried to
cdinto~/.claudeandrm -rf .credentials.jsonand then _after opening a new terminal_ startingclaudeagain and then going thru/loginprocess and then checking/status?Yes, it appears to only have sonnet and
**Guide: Fixing Claude CLI (Claude Code) Subscription and Model Access Issues on Windows**
The Problem
You have a paid Claude Pro or Max subscription, which should grant you access to premium models like Opus.
However, when you use the claude-code command-line tool, you experience one or more of the following
issues:
Claude Code."
unexpected costs.
The Root Cause: Credential and Configuration Conflicts
This issue is not a bug in the tool itself but a deep-seated credential conflict on your machine. The
claude-code CLI can authenticate in two different ways:
link to your claude.ai account.
basis. It typically relies on an ANTHROPIC_API_KEY set in your system's environment variables.
The problem arises when the CLI finds traces of both authentication methods on your system. It gets
confused and often prioritizes an old, leftover API key or a cached login token over your active
subscription. A standard uninstall/reinstall does not fix this because it fails to remove these residual
configuration files and environment variables.
The Solution: A Complete System Deep Clean
To solve this, you must manually and thoroughly purge every trace of Claude's configuration from your
system before performing a clean installation and a targeted login.
Step 1: Uninstall All Claude-Related Packages
First, remove the official packages to get rid of the main application files.
1 # Uninstall the main CLI tool
2 npm uninstall -g @anthropic-ai/claude-code
3
4 # Uninstall the Python SDK if it exists
5 pip uninstall claude-code-sdk -y
Step 2: Purge All Configuration and Cache Folders
This is a critical step that a standard uninstall misses.
1 # Remove the main Claude Roaming AppData folder
2 Remove-Item -Path "$HOME\AppData\Roaming\Claude" -Recurse -Force -ErrorAction SilentlyContinue
3
4 # Remove the Claude CLI cache in Local AppData
5 Remove-Item -Path "$HOME\AppData\Local\claude-cli-nodejs" -Recurse -Force -ErrorAction
SilentlyContinue
6
7 # Remove the user-level JSON configuration files
8 Remove-Item -Path "$HOME\.claude.json", "$HOME\.claude.json.backup" -Force -ErrorAction
SilentlyContinue
9
10 # Remove any temporary files created by the CLI
11 Remove-Item -Path "$HOME\AppData\Local\Temp\claude-*-cwd" -Force -ErrorAction SilentlyContinue
Step 3: The Most Critical Step - Delete Environment Variables
This is the most common source of the conflict.
Step 4: Restart Your Terminal
This is mandatory. Environment variable changes will not apply until you close your current terminal and
open a brand new one.
Step 5: (Optional) System Integrity Check
To be absolutely sure your environment is clean, you can run Windows' built-in system repair tools from a
new terminal with Administrator privileges.
1 # First, repair the component store
2 DISM /Online /Cleanup-Image /RestoreHealth
3
4 # Then, scan and repair all protected system files
5 sfc /scannow
Step 6: Reinstall the CLI
Now, from your new, clean terminal (preferably from your user home directory C:\Users\<Your-Username>),
reinstall the tool.
1 npm install -g @anthropic-ai/claude-code
Step 7: The Correct Login Procedure
This is the final piece of the puzzle.
1 claude
1 Select login method:
2
3 > 1. Claude account with subscription
4 2. Anthropic Console account
Step 8: Verification
Once logged in, you will be in the interactive shell. Run the /status command to confirm your setup.
1 /status
The output should now correctly show:
You can now use Opus. Congratulations
check at the bottom of this post i found the answer
This bug is still open and I can't use my Max 5x account. It acts like a Pro account and has the same limits with Pro. But when I try to upgrade, I see that I'm already on Max 5x, and my invoice and bank account statements say the same thing. Is there really no solution to this bug? It's a shame.
@MabuhayDesignsandCo Sent me in the right direction. After having run into this on a MAX plan, I simply logged out, ran
unset CLAUDE_CODE_OAUTH_TOKEN, then logged back in. This fixed my issue and brought back the Opus model. I believe I set that a couple of days ago when having authentication issues and it was the only way I could get connected.Above worked for me, thanks
Mine was specifically not working over SSH due to (I believe) Claude Code no longer using the
~/.claude/.credentials.jsonfile, but only the login keychain.I created a long-lived token & put it in the credentials format in
~/.claude/.credentials.jsonand also persisted it to the login keychain and it's been working now for me.Ensure you don't still have the
CLAUDE_CODE_OAUTH_TOKENenv var set.Perhaps they'll fix the issue over SSH, but if not, I made a small script that has you generate the token and then saves it where it's supposed to go.
https://gist.github.com/matthewevans/a1d8b49a02f56aa2d866cc2044af1990
I added a long lived token using
Claude Code v1.0.85
L Session ID: a4eb5d73-f9f7-41fd-a7d0-85de0b94fed7
Working Directory
L /Users/me/code/site/wp-content/themes/theme
IDE Integration • /config
✔ Connected to Visual Studio Code extension
✔ Installed VS Code extension
Account • /login
L Login Method: Claude Max Account
L Email: user@domain.com
Memory • /memory
L project: CLAUDE.md
Model • /model
L sonnet (claude-sonnet-4-20250514)
thank you for the reports! this should be resolved now
I´m having the same issue. log out didnt solve it. what´s the solution?
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.