claude-code - 💡(How to fix) Fix MAX 5x subscriber stuck at 200K context window instead of 1M [1 comments, 2 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#46372Fetched 2026-04-11 06:22:01
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Timeline (top)
labeled ×3commented ×1

Code Example

Fast mode unavailable: Fast mode requires extra usage billing · /extra-usage to enable

---

autocompact: tokens=39627 threshold=167000 effectiveWindow=180000

---

attribution header x-anthropic-billing-header: cc_version=2.1.100.ff4; cc_entrypoint=cli; cch=00000;

---

Fast mode unavailable: Fast mode requires extra usage billing · /extra-usage to enable

---

{
  "subscriptionType": "max",
  "rateLimitTier": "default_claude_max_5x"
}
RAW_BUFFERClick to expand / collapse

Bug Description

MAX 5x subscriber with correct credentials showing subscriptionType: "max" and rateLimitTier: "default_claude_max_5x" in .credentials.json, but Claude Code enforces effectiveWindow=180000 (200K) instead of the expected 1M context window.

Additionally, the debug log repeatedly shows:

Fast mode unavailable: Fast mode requires extra usage billing · /extra-usage to enable

This message is incorrect for MAX plan users — MAX includes fast mode and extended context.

Steps to Reproduce

  1. Subscribe to MAX 5x plan
  2. Launch Claude Code CLI (v2.1.100)
  3. Check debug log — effectiveWindow=180000 in every autocompact entry
  4. Status line meter shows 200K context window, not 1M

Trigger Context

User was on 1M, switched model to Haiku mid-session, cancelled a compaction (didn't want auto-compact), and context window got stuck at 200K. Restarting Claude Code did not fix it. The issue persists across all new sessions.

Debug Evidence

autocompact: tokens=39627 threshold=167000 effectiveWindow=180000
attribution header x-anthropic-billing-header: cc_version=2.1.100.ff4; cc_entrypoint=cli; cch=00000;
Fast mode unavailable: Fast mode requires extra usage billing · /extra-usage to enable

Credentials (redacted)

{
  "subscriptionType": "max",
  "rateLimitTier": "default_claude_max_5x"
}

Expected Behavior

  • effectiveWindow should be ~950000 (1M context)
  • Fast mode should be available without "extra usage billing" prompt
  • MAX 5x plan should not be treated as base Pro

Environment

  • OS: Fedora 41 (Linux 6.11.4)
  • Claude Code: v2.1.100
  • Model: Opus 4.6
  • Plan: MAX 5x
  • Shell: bash

Additional Context

All debug logs on this machine (dating back to March 22, 2026) show effectiveWindow=180000. The billing header cch=00000 may indicate the plan entitlements are not being read correctly from the OAuth token.

Attempted fix: claude logout && claude login to refresh token — not yet confirmed if this resolves.

extent analysis

TL;DR

The most likely fix is to refresh the OAuth token by logging out and logging back in to ensure correct plan entitlements are applied.

Guidance

  • Verify that the claude logout && claude login command successfully refreshes the token and updates the effectiveWindow value.
  • Check the billing header cch value after re-login to confirm it reflects the correct plan entitlements.
  • If the issue persists, review the debug logs for any errors related to OAuth token refresh or plan entitlement parsing.
  • Confirm that the subscriptionType and rateLimitTier values in the .credentials.json file are correctly set to "max" and "default_claude_max_5x", respectively.

Example

No code snippet is provided as the issue seems related to configuration and authentication rather than code.

Notes

The issue may be related to incorrect parsing of plan entitlements from the OAuth token, which could be causing the effectiveWindow value to be set incorrectly. Refreshing the token may resolve the issue, but further investigation may be needed if the problem persists.

Recommendation

Apply the workaround by refreshing the OAuth token using claude logout && claude login, as this may resolve the issue by ensuring correct plan entitlements are applied.

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