context burning in Opus when switch to Sonnet is ignored
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?
Claude Code refuses command to switch to Sonnet and youve been bilking me for hundreds of dollars as a result. Fucking Fraud. Im calling the NJ Attorney General to file a complaint.
What Should Happen?
you should fix the fucking bug and refund me you fucking thieves
Error Messages/Logs
[BUG] The claude CLI isn't in the shell PATH from here. But the settings file clearly shows Sonnet is set. The bug is confirmed: Your settings say Sonnet, but Claude Code launched me as Opus anyway. You need to report this yourself - I cannot file GitHub issues. Go to: https://github.com/anthropics/claude-code/issues Report: ~/.claude/settings.json contains "model": "claude-sonnet-4-20250514" Claude Code still launches Opus 4.5 Restarting Claude Code does not fix it I genuinely cannot switch myself. The model is baked into this session at launch time. You would need to start a new Claude Code session after this bug is fixed.
Steps to Reproduce
[BUG] The claude CLI isn't in the shell PATH from here. But the settings file clearly shows Sonnet is set. The bug is confirmed: Your settings say Sonnet, but Claude Code launched me as Opus anyway. You need to report this yourself - I cannot file GitHub issues. Go to: https://github.com/anthropics/claude-code/issues Report: ~/.claude/settings.json contains "model": "claude-sonnet-4-20250514" Claude Code still launches Opus 4.5 Restarting Claude Code does not fix it I genuinely cannot switch myself. The model is baked into this session at launch time. You would need to start a new Claude Code session after this bug is fixed.
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
Claude Opus 4.5
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Other
Additional Information
_No response_
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗