CLI /model picker doesn't list Sonnet 5 as a preset; shows custom model instead
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet (closest related: #63456, #72584 — neither is an exact match)
- [x] This is a single bug report
- [x] I am using the latest version of Claude Code
What's Wrong?
The /model interactive picker in the terminal CLI does not list Claude Sonnet 5 (claude-sonnet-5) as a named preset option, unlike the VSCode extension, which already shows "Sonnet 5" as a proper labeled entry with pricing info in its model picker.
Setting the model manually via claude --model claude-sonnet-5 (or /model followed by typing the model ID) works correctly — the CLI accepts it and confirms with "Kept model as claude-sonnet-5". However, afterward the /model picker/status UI displays it generically as "custom model" instead of showing it as "Sonnet 5" with its description/pricing, the way Opus, Sonnet 4.6, Haiku, and Fable presets are shown.
What Should Happen?
The CLI's /model picker should include Sonnet 5 as a first-class named preset (with description and pricing, e.g. "Sonnet 5 · Efficient for routine tasks · $2/$10 per Mtok · promo through Aug 31"), matching what's already shown in the VSCode extension's picker, instead of falling back to a generic "custom model" label.
Steps to Reproduce
- Update Claude Code CLI to the latest version
- Run
claude --model claude-sonnet-5or set it via/model - Run
/modelagain to view the picker/current selection - Observe the model is labeled "custom model" rather than "Sonnet 5"
- Compare with the VSCode Claude Code extension's model picker, which already lists "Sonnet 5" as a proper named preset
Claude Code Version
2.1.185
Platform
Anthropic API
Operating System
macOS (Darwin 25.5.0)
Terminal/Shell
zsh
Is this a regression?
No — this is a new model (Sonnet 5) not yet added to the CLI's preset list, while it has already been added to the VSCode extension's preset list.
Additional Information
Related issues describing the same underlying pattern (new model available on one surface but missing from the CLI /model preset list):
- #63456 — Opus 4.8 not selectable in CLI
/modeldespite being available on account - #72584 — Sonnet 5 vs Sonnet 4.6 display/context mismatch on Windows desktop app (different symptom, same model)
Showing cached comments. Read the full discussion on GitHub ↗
7 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
Additional Diagnostic Info
Installation method: Homebrew Cask (
brew install --cask claude-code)/opt/homebrew/Caskroom/claude-code/2.1.185claude updatereports already on latest versionContext window regression (related symptom): When
claude-sonnet-5is active as "custom model",the CLI status bar reports 200k context window instead of the correct 1M. This was also observed
in #63456 for Opus 4.8 when shown as "custom model".
VSCode extension behavior: The VSCode Claude Code extension (same account, same day) already
lists "Sonnet 5" as a named preset with pricing ("Sonnet 5 · $3/$15 → $2/$10 per Mtok · promo
through Aug 31"), confirming the model is available to the account — it's purely a CLI preset
list gap.
Note for Anthropic team: Unlike #63456 (Opus 4.8, fixed by updating CLI), this issue persists
on the latest CLI version (2.1.185). Sonnet 5 appears not yet been added to the CLI's hardcoded
preset list, while the VSCode extension already has it.
@claude review my last input
i can see the release notes claiming about sonnet 5, but the /model command still doesn't show them
<img width="1087" height="824" alt="Image" src="https://github.com/user-attachments/assets/0992635c-76d1-4ceb-8959-cd83cea14d40" />
The release notes make it clear — it seems i need version 2.1.197 to get Sonnet 5 in the picker, but your brew cask is still on 2.1.185. The cask hasn't been updated yet.
The cask is the problem — Homebrew's cask registry hasn't been updated to 2.1.197 yet, so it still thinks 2.1.185 is the latest.
The difference between the two casks:
claude-code— stable/slower channel, currently stuck at 2.1.185claude-code@latest— fast channel, already at 2.1.197 with Sonnet 5ticket can be closed