claude-code - 💡(How to fix) Fix [Bug] API Error: Extra usage required for 1M context window despite Max subscription [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#56392Fetched 2026-05-06 06:29:19
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Timeline (top)
labeled ×4commented ×1

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/mlapin/.local/share/claude/versions/2.1.128 (expected in multi-process scenarios)\n at Nq6 (/$bunfs/root/src/entrypoints/cli.js:2764:2177)\n at uGH (/$bunfs/root/src/entrypoints/cli.js:2764:1257)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-05T18:53:33.734Z"},{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"Extra usage is required for long context requests."},"request_id":"req_011Cajvyhob8SHeBs7ZBMdnB"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:58281)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4949)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-05T18:55:55.344Z"},{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"Extra usage is required for long context requests."},"request_id":"req_011Cajw3bvjMZ9dBmbW512gJ"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:58281)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4949)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-05T18:56:48.787Z"}]

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/mlapin/.local/share/claude/versions/2.1.128 (expected in multi-process scenarios)\n    at Nq6 (/$bunfs/root/src/entrypoints/cli.js:2764:2177)\n    at uGH (/$bunfs/root/src/entrypoints/cli.js:2764:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-05T18:53:33.734Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Extra usage is required for long context requests.\"},\"request_id\":\"req_011Cajvyhob8SHeBs7ZBMdnB\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:58281)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4949)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-05T18:55:55.344Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Extra usage is required for long context requests.\"},\"request_id\":\"req_011Cajw3bvjMZ9dBmbW512gJ\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:58281)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4949)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-05T18:56:48.787Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description I have Max subscription. but it says API Error: Extra usage is required for 1M context · run /extra-usage to enable, or /model to switch to standard context

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.1.128
  • Feedback ID: ecc0466f-ffa4-49f5-96ad-555b695ffc67

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/mlapin/.local/share/claude/versions/2.1.128 (expected in multi-process scenarios)\n    at Nq6 (/$bunfs/root/src/entrypoints/cli.js:2764:2177)\n    at uGH (/$bunfs/root/src/entrypoints/cli.js:2764:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-05T18:53:33.734Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Extra usage is required for long context requests.\"},\"request_id\":\"req_011Cajvyhob8SHeBs7ZBMdnB\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:58281)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4949)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-05T18:55:55.344Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Extra usage is required for long context requests.\"},\"request_id\":\"req_011Cajw3bvjMZ9dBmbW512gJ\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:58281)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4949)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-05T18:56:48.787Z"}]

extent analysis

TL;DR

Run the /extra-usage command to enable extra usage for long context requests.

Guidance

  • The error messages indicate a rate limit error due to the requirement of extra usage for long context requests.
  • The system suggests running /extra-usage to enable this feature or /model to switch to a standard context.
  • Verify that the Max subscription is properly configured and recognized by the system.
  • Check the documentation for any specific requirements or limitations related to extra usage and long context requests.

Notes

The provided information does not specify the exact commands or steps to run /extra-usage or /model, so refer to the system's documentation or support resources for detailed instructions.

Recommendation

Apply workaround: Run the /extra-usage command as suggested by the error message to enable extra usage for long context requests.

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

claude-code - 💡(How to fix) Fix [Bug] API Error: Extra usage required for 1M context window despite Max subscription [1 comments, 2 participants]