[BUG] `opusplan` mode falls back to `sonnet 3.7` instead of `sonnet 4` for edits

Status Fixed / completed
Maintainer reply ✓ Yes — dicksontsai
Activity 7 comments · opened Aug 17, 2025 · closed Aug 22, 2025
💡 Likely answer: A maintainer (dicksontsai, collaborator) responded on this thread — see the highlighted reply below.

Environment

  • Platform (select one):
  • [ ] Anthropic API
  • [x] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 1.0.83 (Claude Code)
  • Operating System: macOS 26 Tahoe
  • Terminal: iTerm2

Bug Description

When using /model to set the specific model, the opusplan option says Use Opus 4.1 in plan mode, Sonnet 4 otherwise. Activating this plan uses opus 4.1 for plans but falls back to sonnet 3.7 for edits instead of sonnet 4

Steps to Reproduce

  1. Open claude
  2. Set /model to opusplan
  3. Run a plan
  4. Switch to edit mode
  5. Run edits

Expected Behavior

Edit mode uses sonnet 4

Actual Behavior

Edit mode uses sonnet 3.7

Additional Context

<img width="461" height="81" alt="Image" src="https://github.com/user-attachments/assets/86f4336f-f506-4fbb-b346-9ddbaab47794" />

View original on GitHub ↗

7 Comments

github-actions[bot] · 1 year ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/5658
  2. https://github.com/anthropics/claude-code/issues/3434
  3. https://github.com/anthropics/claude-code/issues/5195

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

sxhmilyoyo · 1 year ago

I met the same issue.

kevin-esensoy · 1 year ago

We have attempted disabling the models (like Sonnet 3.7) that should not be selected during OpusPlan mode, and instead of seeing improved behavior we see errors confirming the problem

wpfleger96 · 1 year ago

I am experiencing the same issue using Claude Code 1.0.86 on AWS Bedrock, when I set "model": "opusplan" in ~/.claude/settings.json we can see in the CC statusline output that Opus 4.1 is being used properly during plan mode:

  "model": {
    "id": "us.anthropic.claude-opus-4-1-20250805-v1:0",
    "display_name": "Opus 4.1"
  },

But when I change to "edit"/non-plan mode, the statusline output shows that we're falling back to Sonnet 3.7 instead of 4:

  "model": {
    "id": "us.anthropic.claude-3-7-sonnet-20250219-v1:0",
    "display_name": "Sonnet 3.7"
  },
dicksontsai collaborator · 1 year ago

We are updating the Bedrock Sonnet default to anthropic.claude-sonnet-4-20250514-v1:0 in the next release, as well as providing a way to configure the "opus" and "sonnet" models used in "opusplan".

dicksontsai collaborator · 1 year ago
github-actions[bot] · 1 year ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.