[BUG] settings.json model preference ignored on v2.1.111 — sessions default to Opus 4.7 despite explicit model pin

Resolved 💬 1 comment Opened Apr 16, 2026 by cnighswonger Closed May 24, 2026

What's Wrong?

~/.claude/settings.json contains "model": "claude-opus-4-6" but claude --resume on v2.1.111 starts the session on Opus 4.7.

What Should Happen?

If the user has an explicit model preference in settings.json, the session should respect it. Users should be able to pin their model via configuration without having to run /model on every resume.

Steps to Reproduce

  1. Set "model": "claude-opus-4-6" in ~/.claude/settings.json
  2. npm install -g @anthropic-ai/claude-code@2.1.111
  3. claude --resume on any existing session
  4. Observe: session starts on Opus 4.7, not 4.6

Impact

Opus 4.7 uses adaptive thinking which consumes Q5h quota at approximately 2.4x the rate of 4.6 (measured across 71 API calls, cross-validated by independent gateway proxy data). Users who have pinned 4.6 in settings.json to avoid this cost increase are silently overridden.

See community discussion with metered data: https://github.com/cnighswonger/claude-code-cache-fix/discussions/25

Claude Code Version

2.1.111

Platform

Anthropic API (subscription, Max 5x)

Operating System

Ubuntu Linux

Terminal/Shell

bash

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗