Model setting in settings.json not respected at session start
Resolved 💬 3 comments Opened Apr 17, 2026 by jutzig-gocaribou Closed Apr 21, 2026
Description
The model field in ~/.claude/settings.json is not being respected at session initialization. The session starts on claude-opus-4-6 despite the setting specifying claude-opus-4-7.
Steps to Reproduce
- Set
"model": "claude-opus-4-7"in~/.claude/settings.json - Start a new Claude Code session
- Session reports: "You are powered by the model named Opus 4.6. The exact model ID is claude-opus-4-6@default."
Expected Behavior
Session should start on claude-opus-4-7 as configured.
Actual Behavior
Session starts on claude-opus-4-6. However, running /model claude-opus-4-7 mid-session successfully switches to Opus 4.7, confirming the model is available on the account.
Workaround
Using the CLI flag works: claude --model claude-opus-4-7
Environment
- Claude Code version: 2.1.113
- Platform: Windows 11 Pro (Git Bash)
- No project-level settings overriding the global config
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗