claude-code - 💡(How to fix) Fix Max plan: Claude Code may compress context at 200K instead of using extended context window

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…
RAW_BUFFERClick to expand / collapse

Plan: Max 20x Model: claude-opus-4-6 Version: 2.1.153

Claude Code triggers context compression ("Transmuting") well before what my Max plan should allow. I suspect the client tracks the context window against the model's base 200K limit and doesn't account for the extended context available on Max plans.

Evidence:

  • Session hits "100% context used" and starts compressing during moderate-length conversations
  • ~82K tokens of system prompt (startup hooks, CLAUDE.md chain, 9 MCP servers) means only ~118K remains for actual conversation before compression
  • On Max 20x, I'd expect access to the full context window, not early compression at 200K

Expected behavior: Claude Code should query the plan's actual context limit from the API and use that as the compression threshold, not a hardcoded model default.

Requested info: Does Max 20x extend the context window for Opus 4.6 beyond 200K? If yes, does Claude Code honor that?

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 Max plan: Claude Code may compress context at 200K instead of using extended context window