[BUG] Bedrock models with global. prefix get raw model ID as display_name in status line JSON
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 with global. prefixed model IDs (cross-region inference), Claude Code sets the status line display_name to the raw model ID string rather than a friendly name. For example, display_name is set to "global.anthropic.claude-opus-4-6-v1[1m]" instead of something like "Claude Opus 4.6".
What Should Happen?
The display_name should be a user-friendly name, consistent with how non-Bedrock models are handled.
Error Messages/Logs
Steps to Reproduce
a. Configure Bedrock with a global. model: "ANTHROPIC_DEFAULT_OPUS_MODEL": "global.anthropic.claude-opus-4-6-v1[1m]"
b. Start a session and inspect the status line JSON
c. Observe: "model": {"id": "global.anthropic.claude-opus-4-6-v1[1m]", "display_name": "global.anthropic.claude-opus-4-6-v1[1m]"}
Claude Model
Not sure / Multiple models
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.47
Platform
AWS Bedrock
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗