claude-code - 💡(How to fix) Fix [BUG] Opus 4.7 missing from Claude Code CLI /model selector (available in Desktop App) [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#50810Fetched 2026-04-20 12:12:25
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Author
Timeline (top)
labeled ×4commented ×1cross-referenced ×1
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report
  • I am using the latest version of Claude Code

What's Wrong?

Claude Opus 4.7 is available on the Anthropic API (claude-opus-4-7) and in the Claude Desktop App model picker (both standard and 1M context variants), but it does not appear in the Claude Code CLI /model selector.

The CLI /model command shows only:

  1. Opus 4.6 with 1M context (default)
  2. Sonnet 4.6
  3. Haiku 4.5

Meanwhile, the Claude Desktop App (same machine, same account) shows:

  1. Opus 4.7
  2. Opus 4.7 1M
  3. Sonnet 4.6
  4. Haiku 4.5

Additionally, the CLI system prompt still states "The most recent Claude model family is Claude 4.6 and 4.5" which is now outdated given the official model docs list Opus 4.7 as the latest.

Expected Behavior

The /model selector in Claude Code CLI should include Opus 4.7 (and Opus 4.7 1M) as selectable options, consistent with the Desktop App and the official model documentation.

Environment

  • Claude Code version: 2.1.98
  • OS: macOS (Darwin 25.4.0)
  • Shell: zsh
  • Claude Desktop App: Opus 4.7 available ✅
  • Claude Code CLI: Opus 4.7 missing ❌

Screenshots

Claude Code CLI /model — no Opus 4.7 option:

<img width="1053" height="261" alt="Image" src="https://github.com/user-attachments/assets/a6212b34-3607-4ba8-b7c2-d9d04ca95fa1" />

Claude Desktop App model picker — Opus 4.7 available:

<img width="220" height="348" alt="Image" src="https://github.com/user-attachments/assets/c6d456ad-4a5a-420b-9d33-93e1c8b5a9fe" />

extent analysis

TL;DR

The most likely fix is to update the Claude Code CLI to recognize and include Opus 4.7 in its /model selector, ensuring consistency with the Desktop App and official model documentation.

Guidance

  • Verify that the Claude Code CLI is properly configured to fetch the latest model updates from the Anthropic API.
  • Check for any version mismatches between the Claude Code CLI and the Desktop App, as they should be using the same model versions.
  • Review the official model documentation to confirm that Opus 4.7 is indeed the latest model and that there are no specific requirements for enabling it in the CLI.
  • Consider resetting or reinitializing the Claude Code CLI to ensure it reloads the latest model information from the Anthropic API.

Example

No specific code snippet is provided as the issue seems related to configuration or versioning rather than code implementation.

Notes

The discrepancy between the models available in the Claude Desktop App and the CLI suggests a potential synchronization or versioning issue. Ensuring both are updated and properly configured should resolve the problem.

Recommendation

Apply workaround: Check for any available updates to the Claude Code CLI and apply them, as this might include the necessary fixes to recognize Opus 4.7. If no updates are available, consider reaching out to support for further assistance.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING