claude-code - 💡(How to fix) Fix Model picker selects Opus 4.7 1M when choosing Opus 4.7 (200k), possibly after compaction [4 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#53780Fetched 2026-04-28 06:47:27
View on GitHub
Comments
4
Participants
2
Timeline
10
Reactions
0
Timeline (top)
labeled ×5commented ×4renamed ×1
RAW_BUFFERClick to expand / collapse

Bug

In the Claude Code model picker (Ctrl+I) there are two Opus 4.7 entries:

  • Opus 4.7 (default 200k context)
  • Opus 4.7 1M

Selecting Opus 4.7 (the 200k variant) appears to set the model to Opus 4.7 1M instead. The picker UI shows the checkmark on the chosen entry, but the active model indicator at the bottom shows the 1M variant.

I want to flag two possible distinct bugs — I cannot fully separate them from the client side:

  1. Picker / UI bug: clicking Opus 4.7 (200k) visually resolves to Opus 4.7 1M in the active-model indicator.
  2. Routing / billing bug: even if the UI shows 1M, it is unclear whether the actual request is routed to the 1M variant or 200k. Only Anthropic backend logs can confirm this.

The second is the more serious case. I do not have direct evidence from billing/usage that the request was billed as 1M — flagging the UI behavior and asking for a backend check.

Environment

  • Claude Code: desktop app (Windows)
  • OS: Windows 11 Pro 10.0.26200
  • Effort: High
  • Account plan: Max

Steps to reproduce (suspected)

  1. Open model picker (Ctrl+I).
  2. Click Opus 4.7 (the 200k variant, not the 1M one).
  3. Observe the active-model indicator at the bottom — it shows Opus 4.7 1M.

Expected

Selecting Opus 4.7 (200k) should keep the model at the 200k variant.

Actual

Selection appears to switch / resolve to the 1M variant.

Compaction hypothesis

I suspect this may only occur in resumed / compacted sessions, not fresh ones. I have not confirmed in a clean session yet — will follow up in a comment.

Evidence

Screenshot of the picker in this session attached separately by user. Will follow up with: (a) which model variant actually responded to the next message, (b) whether the bug reproduces in a clean session without compaction.

Ask

Could the team confirm from backend usage logs whether requests in affected sessions were routed to Opus 4.7 200k or Opus 4.7 1M?

extent analysis

TL;DR

The issue may be resolved by verifying the backend logs to confirm whether requests are being routed to the correct Opus 4.7 model variant.

Guidance

  • Verify the backend logs to determine if the requests are being routed to Opus 4.7 200k or Opus 4.7 1M.
  • Test the model picker in a clean session without compaction to see if the issue reproduces.
  • Check the active-model indicator at the bottom after selecting Opus 4.7 (200k) to confirm if it shows the correct variant.
  • Provide additional evidence, such as the response to the next message, to help identify the root cause.

Notes

The issue may be specific to resumed or compacted sessions, and further testing is needed to confirm this hypothesis.

Recommendation

Apply workaround: Verify the backend logs to confirm the correct model variant is being used, and test the model picker in a clean session to isolate the issue.

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

claude-code - 💡(How to fix) Fix Model picker selects Opus 4.7 1M when choosing Opus 4.7 (200k), possibly after compaction [4 comments, 2 participants]