[BUG] Opus 4.7 missing from Claude Code CLI /model selector (available in Desktop App)

Status Fixed / completed
Reported on v2.1.98
Maintainer reply ✓ Yes — claude[bot]
Activity 11 comments · opened Apr 19, 2026 · closed May 18, 2026
💡 Likely answer: A maintainer (claude[bot], contributor) responded on this thread — see the highlighted reply below.

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report
  • [x] 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" />

View original on GitHub ↗

11 Comments

namnq-sonat · 4 months ago

Opus 4.7 is missing in the CLI for me, too. But this only happens on Windows. On my other device, which is a Mac, I can select Opus 4.7.

Frankenshtine · 4 months ago

Same thing on MacOS 15.7.5 (24G624)

pchelnikov · 4 months ago

It looks like it’s stuck on version 2.1.98 in Homebrew. Does anyone know why?

https://formulae.brew.sh/cask/claude-code

mohammad19991 · 4 months ago

Same thing here on macOS using Homebrew.

jettjaniak · 4 months ago
brew uninstall --cask claude-code
brew install --cask claude-code@latest
anujfulari · 4 months ago

Run following command to update claude to latest channel (instead of stable channel which is default)

claude install latest
juliohopla · 4 months ago
`` brew uninstall --cask claude-code brew install --cask claude-code@latest ``

It's worked for me too

pchelnikov · 4 months ago

Btw, according to their docs, recommended way is this:
curl -fsSL https://claude.ai/install.sh | bash

Fyb3roptik · 3 months ago

had to manually remove the binary at ~/.local/bin/claude

claude[bot] contributor · 3 months ago

This issue was fixed as of version 2.1.111.

github-actions[bot] · 1 month ago

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.