[BUG] Opus 4.6 stuck at 200k context on Max plan — s1mAccessCache hasAccess:false persists after re-auth (v2.1.107)

Resolved 💬 2 comments Opened Apr 14, 2026 by Hahyun-Lee Closed Apr 14, 2026

Preflight Checklist

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

What's Wrong?

Claude Code v2.1.107 on Claude Max plan shows 200k context window instead of 1M for Opus 4.6. /context consistently reports xxx/200k tokens despite Max subscription.

Diagnostics from .claude.json:

  • s1mAccessCache: hasAccess: false (even after clearing cache and re-login)
  • cachedExtraUsageDisabledReason: was org_level_disabled (personal Max account, no org)
  • tengu_hawthorn_window: 200000 (server re-pushes after every restart)
  • hasAvailableSubscription: false

Steps taken (none resolved):

  1. claude auth logoutclaude auth login (re-authenticated)
  2. Cleared s1mAccessCache to {} → server re-populates with hasAccess: false
  3. Manually set tengu_hawthorn_window: 1000000 → server reverts to 200000 on next sync
  4. Set CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 → blocks sync but /context still shows 200k
  5. Fresh terminal, new session — same result

Impact:

  • Autocompact triggers at ~160k tokens (80% of 200k) instead of ~800k
  • Conversations are unnecessarily truncated, losing context mid-session
  • Paying for Max plan but receiving Pro-level context window

What Should Happen?

/context should show xxx/1000k tokens and autocompact should respect the 1M limit for Opus 4.6 on Max plan.

Error Messages/Logs

❯ /context
   claude-opus-4-6
   54.3k/200k tokens (27%)

Steps to Reproduce

  1. claude auth logout && claude auth login
  2. Launch claude (v2.1.107)
  3. Run /context
  4. Observe 200k limit instead of 1M

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

Not confirmed (may have never worked on this account)

Claude Code Version

2.1.107

Platform

Anthropic API (claude.ai OAuth)

Operating System

macOS (Darwin 25.3.0, Apple M4 Pro)

Related Issues

  • #34158 — s1mAccessCache fix (didn't work)
  • #36649 — Context window defaulting to 200k (same symptoms, OPEN)
  • #47019 — hasExtraUsageEnabled stuck after plan change

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗