claude-code - 💡(How to fix) Fix [BUG] Claude Code UI shows "Opus 4.7" but actual model is "Sonnet 4.6" [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#57804Fetched 2026-05-11 03:24:57
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Timeline (top)
labeled ×3commented ×1

The Claude Code UI displays "Opus 4.7 · 보통" in the model selector, but the system prompt explicitly identifies the model as Sonnet 4.6. This is a critical billing/transparency issue — users selecting Opus 4.7 may be charged Opus rates while receiving Sonnet 4.6 responses.

Error Message

Error Messages/Logs

Root Cause

The Claude Code UI displays "Opus 4.7 · 보통" in the model selector, but the system prompt explicitly identifies the model as Sonnet 4.6. This is a critical billing/transparency issue — users selecting Opus 4.7 may be charged Opus rates while receiving Sonnet 4.6 responses.

Code Example

**System prompt excerpt (auto-injected by Claude Code):**
> "You are powered by the model named Sonnet 4.6.
>  The exact model ID is claude-sonnet-4-6."
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 (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Description

The Claude Code UI displays "Opus 4.7 · 보통" in the model selector, but the system prompt explicitly identifies the model as Sonnet 4.6. This is a critical billing/transparency issue — users selecting Opus 4.7 may be charged Opus rates while receiving Sonnet 4.6 responses.

What Should Happen?

  • UI model selection matches the actual backend model used
  • OR clear documentation of fallback/routing behavior

Error Messages/Logs

**System prompt excerpt (auto-injected by Claude Code):**
> "You are powered by the model named Sonnet 4.6.
>  The exact model ID is claude-sonnet-4-6."

Steps to Reproduce

  1. Open Claude Code
  2. Select model "Opus 4.7" in the model picker
  3. Start a new conversation
  4. Ask the model: "What model are you? Check the system prompt for your model ID."
  5. Model responds: claude-sonnet-4-6 (Sonnet 4.6)
  6. UI still shows "Opus 4.7"

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

not sure

Claude Code Version

most updated version

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

The discrepancy was discovered when the model itself flagged the mismatch in a working session. Consistent across multiple conversations.

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