[BUG] Claude Code CLI model access error for all models despite active Pro subscription

Resolved 💬 1 comment Opened May 24, 2026 by CodeGod1346 Closed Jun 24, 2026

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?

Every model returns "There's an issue with the selected model. It may not
exist or you may not have access to it." Login succeeds but all messages fail.

Tried: Sonnet 4.6, Opus 4.6, Haiku 4.5 — all fail with model_not_found 404.

Claude Code works fine in the Claude desktop app but not in the CLI.

What Should Happen?

Claude Code CLI should accept messages and respond normally after
logging in with an active Pro subscription.

Error Messages/Logs

There's an issue with the selected model (claude-sonnet-4-6). It may not 
exist or you may not have access to it. Run /model to pick a different model.

Error type: model_not_found
API status: 404

Same error occurs for all models:
- claude-sonnet-4-6
- claude-opus-4-6  
- claude-haiku-4-5-20251001

Steps to Reproduce

  • Fresh login/logout multiple times
  • Cleared credentials, settings, .claude.json
  • Reinstalled Claude Code
  • Removed ANTHROPIC_API_KEY environment variable
  • Tried multiple model versions

hasAvailableSubscription shows false in .claude.json despite active paid subscription.

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.150

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗