[Bug] Resumed sessions ignore [1m] context spec, fall back to 200k (regression in 2.1.144)
Resolved 💬 4 comments Opened May 19, 2026 by gjoranv Closed May 20, 2026
Description
Resumed sessions ignore the [1m] context window suffix in the model setting and fall back to 200k context. Fresh sessions work correctly.
Repro
- Set
"model": "claude-opus-4-6[1m]"in~/.claude/settings.json - Start a fresh session -
/contextshows 1M (correct) - Exit and resume the session -
/contextshows 200k (wrong)
⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛀ ⛁ Opus 4.6
⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ claude-opus-4-6
⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ 67.7k/200k tokens (34%)
Regression
- Broken: 2.1.144 (auto-updated 2026-05-19)
- Working: 2.1.143 (downgrading fixes it)
Environment
- macOS, standalone installer
claude-opus-4-6[1m]in global settings.json
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗