[BUG] Opus 4.7 missing from Claude Code CLI /model selector (available in Desktop App)
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:
- Opus 4.6 with 1M context (default)
- Sonnet 4.6
- Haiku 4.5
Meanwhile, the Claude Desktop App (same machine, same account) shows:
- Opus 4.7
- Opus 4.7 1M
- Sonnet 4.6
- 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" />
This issue has 11 comments on GitHub. Read the full discussion on GitHub ↗