claude-code - 💡(How to fix) Fix [BUG] Claude Code serves Opus 4.6 despite selecting Opus 4.7 [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#49576Fetched 2026-04-17 08:37:13
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Author
Timeline (top)
labeled ×4commented ×1cross-referenced ×1

Error Message

Error Messages/Logs

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?

Summary Claude Code consistently serves claude-opus-4-6[1m][1m] regardless of selecting Opus 4.7 in the model picker. Opus 4.7 is accessible via claude.ai web interface on the same account.

Environment OS: Windows 11 Home 10.0.26200 IDEs tested: Cursor, VS Code (same behavior in both) Claude Code extension version: 2.1.111 Account: Pro/Max plan (has Opus 4.7 access on claude.ai)

Steps to reproduce Open Claude Code extension in VS Code or Cursor Select Opus 4.7 from the model picker Start a new session Run /context Model reported is claude-opus-4-6[1m][1m], not 4.7

What I've tried Restarting the IDE (both Cursor and VS Code) Starting fresh sessions Removing CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING env var from settings

Expected behavior /context should report Opus 4.7 when selected.

Actual behavior Opus 4.7 appears in the model picker but the API always serves Opus 4.6.

What Should Happen?

Expected behavior /context should report Opus 4.7 when selected.

Actual behavior Opus 4.7 appears in the model picker but the API always serves Opus 4.6.

Error Messages/Logs

Steps to Reproduce

Steps to reproduce Open Claude Code extension in VS Code or Cursor Select Opus 4.7 from the model picker Start a new session Run /context Model reported is claude-opus-4-6[1m][1m], not 4.7

Claude Model

Opus

Is this a regression?

No, this never worked

Last Working Version

No response

Claude Code Version

2.1.111

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Cursor

Additional Information

<img width="831" height="441" alt="Image" src="https://github.com/user-attachments/assets/0e47176c-14e7-416c-b7ad-20be9a62e44c" />

extent analysis

TL;DR

The issue might be resolved by checking the API request sent by the Claude Code extension to ensure it correctly specifies the selected Opus model version.

Guidance

  • Verify that the model picker selection is correctly propagated to the API request by checking the extension's code or debugging logs.
  • Inspect the network requests sent by the extension to confirm that the request for Opus 4.7 is being made correctly.
  • Check the Anthropic API documentation to ensure that the correct parameters are being passed to request Opus 4.7.
  • Consider testing the API directly using a tool like curl or Postman to isolate the issue.

Example

No code snippet is provided as the issue does not include specific code details.

Notes

The issue may be related to how the Claude Code extension interacts with the Anthropic API, and resolving it might require changes to the extension's code or configuration.

Recommendation

Apply workaround: Check the API request and parameters to ensure correct specification of the Opus model version, as the issue seems to be related to the interaction between the Claude Code extension and the Anthropic API.

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