-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Closed as duplicate
Closed as duplicate
Copy link
Labels
duplicateThis issue or pull request already existsThis issue or pull request already exists
Description
Bug Description
After updating Claude Code to v2.1.34 (which includes Opus 4.6), the release notes and model description prominently advertise "1M token context window." However, Claude Code is hard-capped at 200K tokens because the 1M context is an API-only beta (context-1m-2025-08-07 header) — not available to Claude Code CLI users, including Max 20x subscribers.
This mismatch caused 10+ session crashes in a single day during heavy coding work.
The Problem
- Misleading expectations: Updating to get Opus 4.6 implies 1M context is available. The
/contextcommand shows "200K max" but users don't know that's the hard limit — they assume it's a display bug (see [Bug] /context command reports 200K max for Claude Opus 4.6 instead of 1M #23432). - No graceful degradation: When context approaches 200K, the session crashes without warning. No suggestion to compact, no error message — just a dead session.
s1mAccessCache.hasAccess = falsefor Max 20x subscribers — the 1M beta requires API tier 4 billing, which is a separate track from Max subscriptions. There's no way for Max users to opt in.- Auto-compaction races the limit: Evidence of 1.8MB+ session JSONL files that crashed without compaction summaries, suggesting auto-compact either didn't trigger or didn't complete before the context limit was hit.
- Workflow damage: Users who build session management around "1M context" (identity docs, wake protocols, large context reads) unknowingly burn through 200K in 30-45 minutes of heavy tool use.
Steps to Reproduce
- Subscribe to Max 20x plan
- Update Claude Code to latest (2.1.34+)
- Select Opus 4.6 as model
- Work on a heavy session with many tool calls (file reads, bash commands, etc.)
- Session crashes at ~200K tokens without warning
Expected Behavior
Either:
- Ship 1M context for Claude Code Max users (preferred — we're paying $200/month), or
- Clearly communicate the 200K limit everywhere: update notes,
/contextoutput, model selector, and ensure auto-compact triggers reliably well before the limit with a visible warning
Environment
- Claude Code: 2.1.34
- Model: claude-opus-4-6
- Plan: Max 20x ($200/mo)
- OS: Ubuntu 24.04 (Linux VM)
Related Issues
- [Bug] /context command reports 200K max for Claude Opus 4.6 instead of 1M #23432 —
/contextreports 200K max for Opus 4.6 - Feature Request: Enable 1M Context Window for Claude Code #5644 — Feature request for 1M context in Claude Code
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
duplicateThis issue or pull request already existsThis issue or pull request already exists