[BUG] Wrong AI model name reported with `ANTHROPIC_MODEL = private in-house inference profile ARN`
Resolved 💬 2 comments Opened Feb 9, 2026 by saiya Closed Mar 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?
- I set
ANTHROPIC_MODELwith our own AWS Bedrock "inference profile" ARN, such like"ANTHROPIC_MODEL": "arn:aws:bedrock:ap-northeast-1:1234567890:application-inference-profile/1234567890abcedf" - Then, Claude Code reports wrong AI model name
- e.g. I using Claude Opus
4.5on AWS Bedrock via the step1.'s inference profile and also I does not have4.6setup on our AWS environment yet, but Claude Code makesCo-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>header when making Git commit
What Should Happen?
I expect one of these behavior:
- Report correct AI model name (in the Git commit
Co-Authored-Byetc.) - Or, just say "model name unknown", "using custom model" or similar
Error Messages/Logs
No visible error messages nor logs
Steps to Reproduce
- I set
ANTHROPIC_MODELwith own in-house/private AWS Bedrock "inference profile" ARN, such like"ANTHROPIC_MODEL": "arn:aws:bedrock:ap-northeast-1:1234567890:application-inference-profile/1234567890abcedf", and also setCLAUDE_CODE_USE_BEDROCK=true - Let Claude Code reports AI model name, such as ask it make Git commit
- It reports wrong model name
- e.g. I using Claude Opus
4.5, but it makesCo-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>header when making Git commit
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.37 (Claude Code)
Platform
AWS Bedrock
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
Note that /model command correctly reports AWS Bedrock inference profile's ARN and Custom model
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗