claude-code - 💡(How to fix) Fix [Bug] Sonnet 4.6 1M context unavailable for Max plan account [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#54836Fetched 2026-04-30 06:34:34
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Timeline (top)
labeled ×3commented ×1

Error Message

[{"error":"Error: EISDIR: illegal operation on a directory, read\n at readSync (unknown)\n at readSync (/$bunfs/root/src/entrypoints/cli.js:53:1553)\n at IdH (/$bunfs/root/src/entrypoints/cli.js:126:5400)\n at Db (/$bunfs/root/src/entrypoints/cli.js:127:181)\n at tL (/$bunfs/root/src/entrypoints/cli.js:129:54)\n at fp5 (/$bunfs/root/src/entrypoints/cli.js:8249:8932)\n at j (/$bunfs/root/src/entrypoints/cli.js:8249:8148)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8249:8479)\n at FP (/$bunfs/root/src/entrypoints/cli.js:477:63172)\n at S2H (/$bunfs/root/src/entrypoints/cli.js:477:76227)","timestamp":"2026-04-29T22:39:42.437Z"}]

Code Example

[{"error":"Error: EISDIR: illegal operation on a directory, read\n    at readSync (unknown)\n    at readSync (/$bunfs/root/src/entrypoints/cli.js:53:1553)\n    at IdH (/$bunfs/root/src/entrypoints/cli.js:126:5400)\n    at Db (/$bunfs/root/src/entrypoints/cli.js:127:181)\n    at tL (/$bunfs/root/src/entrypoints/cli.js:129:54)\n    at fp5 (/$bunfs/root/src/entrypoints/cli.js:8249:8932)\n    at j (/$bunfs/root/src/entrypoints/cli.js:8249:8148)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8249:8479)\n    at FP (/$bunfs/root/src/entrypoints/cli.js:477:63172)\n    at S2H (/$bunfs/root/src/entrypoints/cli.js:477:76227)","timestamp":"2026-04-29T22:39:42.437Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description Descrição:

Tenho Max plan $200 ativo, mas ao tentar acessar Sonnet 4.6 com 1M context via Claude Code CLI, recebo:

Sonnet 4.6 with 1M context is not available for your account.
Learn more: https://code.claude.com/docs/en/model-config#extended-context-with-1m

Informações:

  • Plano: Max ($200/mês)
  • Claude Code versão: 2.1.123
  • Comando executado: /model sonnet[1m]
  • Data: 29 de abril de 2026
  • Email da conta: [email protected]

Esperado:
Sonnet 4.6 com 1M context deve estar disponível em Max plan conforme documentação oficial.

Evidência: De acordo com a documentação, Max plan inclui acesso a 1M context windows:
https://code.claude.com/docs/en/model-config#extended-context-with-1m

Colegas com Max plan conseguem acessar. Solicito ativação da feature ou diagnóstico do que está bloqueando.

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.1.114
  • Feedback ID: 2228024f-4e79-4bce-b2b2-ff45fa9960da

Errors

[{"error":"Error: EISDIR: illegal operation on a directory, read\n    at readSync (unknown)\n    at readSync (/$bunfs/root/src/entrypoints/cli.js:53:1553)\n    at IdH (/$bunfs/root/src/entrypoints/cli.js:126:5400)\n    at Db (/$bunfs/root/src/entrypoints/cli.js:127:181)\n    at tL (/$bunfs/root/src/entrypoints/cli.js:129:54)\n    at fp5 (/$bunfs/root/src/entrypoints/cli.js:8249:8932)\n    at j (/$bunfs/root/src/entrypoints/cli.js:8249:8148)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8249:8479)\n    at FP (/$bunfs/root/src/entrypoints/cli.js:477:63172)\n    at S2H (/$bunfs/root/src/entrypoints/cli.js:477:76227)","timestamp":"2026-04-29T22:39:42.437Z"}]

extent analysis

TL;DR

The issue might be resolved by checking the account configuration or contacting support, as the error message suggests that Sonnet 4.6 with 1M context is not available for the account despite having a Max plan.

Guidance

  • Verify that the Max plan ($200/month) indeed includes access to Sonnet 4.6 with 1M context by checking the official documentation: https://code.claude.com/docs/en/model-config#extended-context-with-1m
  • Check if there are any account-specific restrictions or configuration issues that might be preventing access to the feature
  • Compare the configuration and settings with colleagues who have successfully accessed Sonnet 4.6 with 1M context using the Max plan
  • Consider reaching out to support for further assistance, as the error message does not provide a clear technical solution

Notes

The provided error message in JSON format does not seem directly related to the issue of accessing Sonnet 4.6 with 1M context, as it mentions an "EISDIR: illegal operation on a directory" error.

Recommendation

Apply workaround: Contact support for assistance, as the issue seems to be account-specific and not directly related to the code or configuration.

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