claude-code - 💡(How to fix) Fix [BUG] [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#45218Fetched 2026-04-09 08:03:59
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Participants
Timeline (top)
labeled ×4

Error Message

Error Messages/Logs

  1. Send any prompt — error appears immediately

Root Cause

On the Max plan, resuming a large Cowork session fails immediately. The session runs on claude-sonnet-4-6 and the transcript (~2.95 MB) exceeds the 200K standard window, so the runtime escalates to 1M context. Because the session is on Sonnet, this requires usage credits even on Max (per the model-config docs, only Sonnet 1M requires credits on Max; Opus 1M is included). The session should have been routed to opus[1m], which is covered by the subscription. CLAUDE_CODE_DISABLE_1M_CONTEXT=1 has no effect because the session genuinely cannot fit in 200K.

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

On the Max plan, resuming a large Cowork session fails immediately. The session runs on claude-sonnet-4-6 and the transcript (~2.95 MB) exceeds the 200K standard window, so the runtime escalates to 1M context. Because the session is on Sonnet, this requires usage credits even on Max (per the model-config docs, only Sonnet 1M requires credits on Max; Opus 1M is included). The session should have been routed to opus[1m], which is covered by the subscription. CLAUDE_CODE_DISABLE_1M_CONTEXT=1 has no effect because the session genuinely cannot fit in 200K.

What Should Happen?

On Max, an oversized session should be served by opus[1m] (included with the subscription) or otherwise not be gated behind usage credits. Cowork should not silently route it to sonnet[1m], which requires credits on Max.

Error Messages/Logs

Steps to Reproduce

  1. Max plan, Claude desktop app, Cowork
  2. Resume a large session (transcript well over 200K tokens)
  3. Send any prompt — error appears immediately

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

Claude 1.9659.2 (390d6c) 2026-05-28T21:50:01.000Z

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

extent analysis

TL;DR

The issue with Claude Code v

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