[Bug] Resumed sessions ignore [1m] context spec, fall back to 200k (regression in 2.1.144)

Status Fixed / completed
Reported on v2.1.144
Maintainer reply None cached
Activity 5 comments · opened May 19, 2026 · 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

  1. Set "model": "claude-opus-4-6[1m]" in ~/.claude/settings.json
  2. Start a fresh session - /context shows 1M (correct)
  3. Exit and resume the session - /context shows 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

View original on GitHub ↗

5 Comments

JackDempsey9 · 3 months ago

Just like to mention it is Tues 26-05-26 This issue is still present and active.

gjoranv · 3 months ago

Works for me in 2.1.149

JackDempsey9 · 3 months ago
Works for me in 2.1.149

Yes same, but they closed your bug report, but it still persistent, I had to downgrade for it to resolve.

gjoranv · 2 months ago

This bug was re-introduced somewhere between 2.1.150 and 2.1.160

github-actions[bot] · 25 days ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.