Skip to content

[BUG] Opus 4.7 doesn't work with bedrock #49238

Description

@otayemre

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?

(26-04-16 15:28:52) <1> [~]
dev-dsk-fotay-1d-35fa9bb2 % claude
╭─── Claude Code v2.1.111 ──────────────────────────────────────────────────────────────────────────────────────────────╮
│ │ Tips for getting started │
│ Welcome back! │ Run /init to create a CLAUDE.md file with instructions for Claude │
│ │ ───────────────────────────────────────────────────────────────── │
│ ▐▛███▜▌ │ Recent activity │
│ ▝▜█████▛▘ │ No recent activity │
│ ▘▘ ▝▝ │ │
│ │ │
│ Opus 4.7 with high effort · API Usage Billing │ │
│ /local/home/fotay │ │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

❯ hi
⎿  API Error: 400 {"type":"error","request_id":"req_kp45ka3ga5m7upqi6w4r6i3vta2n3lvkx724eynqh2kt6qxiw4xa","error":{"type":"invalid_request_er
ror","message":"invalid beta flag"}}

❯ /model
⎿ Set model to Opus 4.7

❯ hi
⎿  API Error: 400 {"type":"error","request_id":"req_mo2t5pnuqx7mpk4ggz527bgxxpccd7nk2yth5hvcgxlhtydugihq","error":{"type":"invalid_request_er
ror","message":"invalid beta flag"}}

What Should Happen?

it should work

Error Messages/Logs

Steps to Reproduce

use bedrock as provider and set model to opus 4.7

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

v2.1.111

Platform

AWS Bedrock

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

Pinned by ant-kurt

Metadata

Metadata

Assignees

Labels

api:bedrockIssue relates to AWS Bedrockarea:providersbugSomething isn't workingplatform:linuxIssue specifically occurs on Linux

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions