CLI /model picker doesn't list Sonnet 5 as a preset; shows custom model instead

Status Open
Reported on v2.1.185
Maintainer reply None cached
Activity 8 comments · opened Jul 1, 2026

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

  1. Update Claude Code CLI to the latest version
  2. Run claude --model claude-sonnet-5 or set it via /model
  3. Run /model again to view the picker/current selection
  4. Observe the model is labeled "custom model" rather than "Sonnet 5"
  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 /model despite being available on account
  • #72584 — Sonnet 5 vs Sonnet 4.6 display/context mismatch on Windows desktop app (different symptom, same model)

View original on GitHub ↗

7 Comments

github-actions[bot] · 2 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/63456
  2. https://github.com/anthropics/claude-code/issues/70019
  3. https://github.com/anthropics/claude-code/issues/63654

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

palminha · 2 months ago

Additional Diagnostic Info

Installation method: Homebrew Cask (brew install --cask claude-code)

  • Installed: /opt/homebrew/Caskroom/claude-code/2.1.185
  • claude update reports already on latest version

Context window regression (related symptom): When claude-sonnet-5 is 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.

palminha · 2 months ago

@claude review my last input

palminha · 2 months ago

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" />

palminha · 2 months ago

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.

palminha · 2 months ago

The difference between the two casks:

  • claude-code — stable/slower channel, currently stuck at 2.1.185
  • claude-code@latest — fast channel, already at 2.1.197 with Sonnet 5
palminha · 2 months ago

ticket can be closed

Showing cached comments. Read the full discussion on GitHub ↗