claude-code - 💡(How to fix) Fix [Bug] Resumed sessions ignore [1m] context spec, fall back to 200k (regression in 2.1.144) [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#60548Fetched 2026-05-20 03:55:44
View on GitHub
Comments
0
Participants
1
Timeline
5
Reactions
0
Author
Participants
Timeline (top)
labeled ×5

Resumed sessions ignore the [1m] context window suffix in the model setting and fall back to 200k context. Fresh sessions work correctly.

Root Cause

Resumed sessions ignore the [1m] context window suffix in the model setting and fall back to 200k context. Fresh sessions work correctly.

Code Example

⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛀ ⛁   Opus 4.6
⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁   claude-opus-4-6
⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁ ⛁   67.7k/200k tokens (34%)
RAW_BUFFERClick to expand / collapse

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

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [Bug] Resumed sessions ignore [1m] context spec, fall back to 200k (regression in 2.1.144) [1 participants]