[BUG] /model persists us. prefix for Opus 4.6 on EU Bedrock (eu-west-1), causing 400 in new sessions
Status Fixed / completed
Reported on v2.1.100
Maintainer reply None cached
Activity 4 comments · opened Apr 10, 2026 · closed Apr 10, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When using AWS Bedrock in eu-west-1, running /model and selecting Opus 4.6 writes us.anthropic.claude-opus-4-6-v1 into ~/.claude/settings.json. This model ID is invalid in eu-west-1 — only eu.anthropic.claude-opus-4-6-v1 and global.anthropic.claude-opus-4-6-v1 exist there.
The session where /model was used continues to work (presumably resolves the model differently at runtime), but every new session reads the persisted us. model ID from settings.json and fails with:
API Error (us.anthropic.claude-opus-4-6-v1): 400 The provided model identifier is invalid.
Sonnet 4.6 is unaffected — /model correctly persists eu.anthropic.claude-sonnet-4-6 for Sonnet.
Expected Behavior
/model should persist either:
- The short alias (
opus) and resolve the regional prefix at runtime, OR - The correct regional prefix (
eu.whenAWS_REGION=eu-west-1)
Steps to Reproduce
- Configure Bedrock with
AWS_REGION=eu-west-1:
``json``
{
"env": {
"CLAUDE_CODE_USE_BEDROCK": "1",
"AWS_REGION": "eu-west-1",
"AWS_PROFILE": "your-profile"
}
}
- Start Claude Code, run
/model, select Opus 4.6 - Send any message — works in this session
- Check
~/.claude/settings.json— shows"model": "us.anthropic.claude-opus-4-6-v1" - Open a new Claude Code session — fails with 400
Verification
# Only eu. and global. profiles exist in eu-west-1:
aws bedrock list-inference-profiles --region eu-west-1 \
--query 'inferenceProfileSummaries[?contains(inferenceProfileId,`opus-4-6`)].inferenceProfileId'
# ["eu.anthropic.claude-opus-4-6-v1", "global.anthropic.claude-opus-4-6-v1"]
Environment
- Claude Code version: 2.1.100 (bug NOT present in 2.1.97)
- API provider: Amazon Bedrock
- AWS region: eu-west-1
- OS: macOS Darwin 25.3.0
- Shell: zsh
Related Issues
- #20594 — ANTHROPIC_MODEL ignored, cross-region inference profile used instead
- #27241 — Haiku model ID missing cross-region prefix
- #25193 — Teammates receive normalized model ID instead of Bedrock model ID
4 Comments
Found 1 possible duplicate issue:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
Not a duplicate of #23499. That issue is about the
[1m](1M context) variant specifically. This bug affects the standard Opus 4.6 selection — no 1M variant involved.Regression from 2.1.97 → 2.1.100
/model→ Opus 4.6 works correctly, persistseu.anthropic.claude-opus-4-6-v1/model→ Opus 4.6 persistsus.anthropic.claude-opus-4-6-v1— invalid in eu-west-1Impact
Opus 4.6 is completely broken for all EU Bedrock users. Any user in eu-west-1, eu-west-3, or eu-central-1 who switches to Opus via
/modelwill:us.prefix model ID400 The provided model identifier is invalidThis is not an edge case — it affects every EU Bedrock deployment. Requesting
regressionlabel.Still broken in 2.1.101 — same behavior,
/model→ Opus 4.6 persistsus.anthropic.claude-opus-4-6-v1on eu-west-1.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.