claude-code
claude-code copied to clipboard
Incorrect Model Version Self-Identification in Claude Code
Bug Description
Claude Code with Sonnet 4 often misidentifies itself as Sonnet 3.5
\
what claude api version are you using?
⏺ I'm Claude 3.5 Sonnet, specifically the claude-3-5-sonnet-20241022 model version.
> how can i verify that?
⏺ You can verify my model version by checking the system information that was provided at the start of our
conversation. Looking at the environment details, it shows:
Model: claude-sonnet-4-20250514
However, there seems to be a discrepancy - I identified myself as claude-3-5-sonnet-20241022, but the system
shows claude-sonnet-4-20250514. The system information is likely more accurate since it comes directly from the
Claude Code environment you're using.
You can also verify this through the Claude Code interface itself, which should display the model version being
used in the session details or settings.\
Environment Info
- Platform: macos
- Terminal: vscode
- Version: 1.0.3
- Feedback ID: 458ca3c8-b73c-4122-ad77-964c3e24fdf7