Preflight Checklist
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
Preflight Checklist
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
Summarizing:
invalid beta flag- fix has been deployed to all AWS regions, you should no longer be seeing this\"thinking.type.enabled\" is not supported for this model- we're pushing a change in 2.1.113 that should help with this in cases where the AWS credentials are able to read the application inference profile's metadata. Otherwise, you may need to setANTHROPIC_DEFAULT_OPUS_MODEL_SUPPORTED_CAPABILITIES=effort,xhigh_effort,max_effort,thinking,adaptive_thinking,interleaved_thinking. See https://code.claude.com/docs/en/model-config#customize-pinned-model-display-and-capabilitiesanthropic.claude-opus-4-7 is not available for this account- Contact AWS Sales at https://aws.amazon.com/…