claude-code - 💡(How to fix) Fix [BUG] Max plan: context window stuck at 200K instead of 1M (hasExtraUsageEnabled not updated after Pro → Max upgrade) [2 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#47019Fetched 2026-04-13 05:43:39
View on GitHub
Comments
2
Participants
2
Timeline
7
Reactions
0
Timeline (top)
labeled ×4commented ×2cross-referenced ×1

Error Message

Error Messages/Logs

Fix Action

Fix / Workaround

  1. Create account on Pro plan (Feb 25, 2026)
  2. Authorize Claude Code for the first time while on Pro (Mar 8, 2026) — organization is created with extraUsage: disabled
  3. Upgrade to Max 5x plan (Mar 21, 2026)
  4. Run /context in Claude Code — shows 200k limit instead of 1000k
  5. Run /logout then /login — reauthorize — limit still 200k
  6. Manually edit .claude.json to set hasExtraUsageEnabled: true — server overwrites it back to false on next launch

Timeline:

  • 2026-02-25: Account created (Pro)
  • 2026-03-08: First Claude Code auth (org created with extraUsage: disabled)
  • 2026-03-21: Upgrade to Max 5x (plan updated, org flag NOT updated)
  • 2026-04-12: Bug discovered

Code Example

From .claude.json (oauthAccount block):
"hasExtraUsageEnabled": false

From .claude.json (top level):
"cachedExtraUsageDisabledReason": "org_level_disabled"

/context output:
Tokens: 65k / 200k (32%)
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?

After upgrading from Pro to Max 5x plan on March 21, 2026, Claude Code context window remains at 200K instead of the expected 1M. The /context command shows 65k / 200k tokens (32%). The organization-level flag hasExtraUsageEnabled in .claude.json is stuck at false with cachedExtraUsageDisabledReason: "org_level_disabled" — inherited from the original Pro plan authorization on March 8, 2026, and never updated after the Max upgrade. Manually editing the file has no effect — the server overwrites it back to false on every launch.

What Should Happen?

Context window should show Xk / 1000k for Max 5x plan subscribers. The hasExtraUsageEnabled flag should be true at the organization level.

Error Messages/Logs

From .claude.json (oauthAccount block):
"hasExtraUsageEnabled": false

From .claude.json (top level):
"cachedExtraUsageDisabledReason": "org_level_disabled"

/context output:
Tokens: 65k / 200k (32%)

Steps to Reproduce

  1. Create account on Pro plan (Feb 25, 2026)
  2. Authorize Claude Code for the first time while on Pro (Mar 8, 2026) — organization is created with extraUsage: disabled
  3. Upgrade to Max 5x plan (Mar 21, 2026)
  4. Run /context in Claude Code — shows 200k limit instead of 1000k
  5. Run /logout then /login — reauthorize — limit still 200k
  6. Manually edit .claude.json to set hasExtraUsageEnabled: true — server overwrites it back to false on next launch

Claude Model

Opus

Is this a regression?

No, this never worked

Last Working Version

No response

Claude Code Version

2.1.101

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

Organization UUID: aa8ba640-d6eb-46d5-86d8-4e1900f9ea3b Account UUID: cdc0e8e9-84cb-4c79-b731-494a2bf99b19 Plan: max_5x_monthly (Stripe subscription, active until 2026-04-21) Email: [email protected]

Timeline:

  • 2026-02-25: Account created (Pro)
  • 2026-03-08: First Claude Code auth (org created with extraUsage: disabled)
  • 2026-03-21: Upgrade to Max 5x (plan updated, org flag NOT updated)
  • 2026-04-12: Bug discovered

Support ticket via Fin AI Agent (Conversation ID: 215473870469578) — bot looped without escalation.

Request: Please update hasExtraUsageEnabled to true for the organization listed above.

extent analysis

TL;DR

The issue can likely be resolved by updating the organization-level flag hasExtraUsageEnabled to true for the specified organization UUID.

Guidance

  • The root cause appears to be that the hasExtraUsageEnabled flag was not updated when the plan was upgraded from Pro to Max 5x.
  • To verify the issue, check the .claude.json file for the hasExtraUsageEnabled flag and the /context command output.
  • To mitigate the issue, it may be necessary to manually update the organization-level flag through the API or support channel, as editing the .claude.json file directly does not persist the change.
  • The organization UUID aa8ba640-d6eb-46d5-86d8-4e1900f9ea3b should be used to identify the correct organization for the update.

Notes

The issue is specific to the Anthropic API and Claude Code version 2.1.101, and may not be applicable to other versions or platforms.

Recommendation

Apply a workaround by requesting support to update the hasExtraUsageEnabled flag to true for the specified organization UUID, as the automatic update mechanism appears to be faulty.

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