claude-code - 💡(How to fix) Fix [Bug] Anthropic API Error: Extra usage required for non-1M context model [3 comments, 4 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#48274Fetched 2026-04-16 07:04:27
View on GitHub
Comments
3
Participants
4
Timeline
7
Reactions
0
Author
Timeline (top)
labeled ×4commented ×3

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/jaredreyes/.local/share/claude/versions/2.1.108 (expected in multi-process scenarios)\n at vU_ (/$bunfs/root/src/entrypoints/cli.js:2342:2153)\n at Cs6 (/$bunfs/root/src/entrypoints/cli.js:2342:1233)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T00:09:10.303Z"},{"error":"Error: EISDIR: illegal operation on a directory, read '/Users/jaredreyes/Developer/rust/oxidize'\n at E1H (/$bunfs/root/src/entrypoints/cli.js:4438:15399)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T00:26:14.812Z"},{"error":"AxiosError: Request failed with status code 503\n at sF (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12744)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:865:50)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T00:26:59.310Z"},{"error":"Error: Request was aborted.\n at jC_ (/$bunfs/root/src/entrypoints/cli.js:1290:12508)\n at next (native:1:11)\n at jp7 (/$bunfs/root/src/entrypoints/cli.js:8032:9307)\n at next (native:1:11)\n at Jp7 (/$bunfs/root/src/entrypoints/cli.js:8037:12450)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T00:41:48.650Z"},{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"Extra usage is required for long context requests."},"request_id":"req_011Ca4uapQJcS5nYTbEsvCZe"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:52736)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T04:14:28.126Z"},{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"Extra usage is required for long context requests."},"request_id":"req_011Ca4upAHzshpbjLoMrfwvC"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:52736)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T04:17:29.269Z"}]

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/jaredreyes/.local/share/claude/versions/2.1.108 (expected in multi-process scenarios)\n    at vU_ (/$bunfs/root/src/entrypoints/cli.js:2342:2153)\n    at Cs6 (/$bunfs/root/src/entrypoints/cli.js:2342:1233)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T00:09:10.303Z"},{"error":"Error: EISDIR: illegal operation on a directory, read '/Users/jaredreyes/Developer/rust/oxidize'\n    at E1H (/$bunfs/root/src/entrypoints/cli.js:4438:15399)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T00:26:14.812Z"},{"error":"AxiosError: Request failed with status code 503\n    at sF (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12744)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:865:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T00:26:59.310Z"},{"error":"Error: Request was aborted.\n    at jC_ (/$bunfs/root/src/entrypoints/cli.js:1290:12508)\n    at next (native:1:11)\n    at jp7 (/$bunfs/root/src/entrypoints/cli.js:8032:9307)\n    at next (native:1:11)\n    at Jp7 (/$bunfs/root/src/entrypoints/cli.js:8037:12450)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T00:41:48.650Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Extra usage is required for long context requests.\"},\"request_id\":\"req_011Ca4uapQJcS5nYTbEsvCZe\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:52736)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T04:14:28.126Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Extra usage is required for long context requests.\"},\"request_id\":\"req_011Ca4upAHzshpbjLoMrfwvC\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:52736)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T04:17:29.269Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description API Error: Extra usage is required for 1M context · run /extra-usage to enable, or /model to switch to standard context Getting this error when im not using 1M context --> model explicitly set to "Sonnet 4.6" NOT 1M Context. And i have enough avaialble token % on my account so it should run anyway

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.108
  • Feedback ID: 0c335ce9-f725-4341-a54c-080d4c19d5ff

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/jaredreyes/.local/share/claude/versions/2.1.108 (expected in multi-process scenarios)\n    at vU_ (/$bunfs/root/src/entrypoints/cli.js:2342:2153)\n    at Cs6 (/$bunfs/root/src/entrypoints/cli.js:2342:1233)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T00:09:10.303Z"},{"error":"Error: EISDIR: illegal operation on a directory, read '/Users/jaredreyes/Developer/rust/oxidize'\n    at E1H (/$bunfs/root/src/entrypoints/cli.js:4438:15399)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T00:26:14.812Z"},{"error":"AxiosError: Request failed with status code 503\n    at sF (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12744)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:865:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T00:26:59.310Z"},{"error":"Error: Request was aborted.\n    at jC_ (/$bunfs/root/src/entrypoints/cli.js:1290:12508)\n    at next (native:1:11)\n    at jp7 (/$bunfs/root/src/entrypoints/cli.js:8032:9307)\n    at next (native:1:11)\n    at Jp7 (/$bunfs/root/src/entrypoints/cli.js:8037:12450)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T00:41:48.650Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Extra usage is required for long context requests.\"},\"request_id\":\"req_011Ca4uapQJcS5nYTbEsvCZe\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:52736)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T04:14:28.126Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Extra usage is required for long context requests.\"},\"request_id\":\"req_011Ca4upAHzshpbjLoMrfwvC\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:52736)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-15T04:17:29.269Z"}]

extent analysis

TL;DR

The error message suggests that extra usage is required for long context requests, despite the model being set to "Sonnet 4.6" and having enough available token percentage.

Guidance

  • The error messages indicate a rate limit error for long context requests, which may not be directly related to the model version.
  • Check the documentation for the API to see if there are any specific requirements or restrictions for long context requests.
  • Verify that the available token percentage is correctly applied to the current request.
  • Consider running the /extra-usage command to enable extra usage, as suggested by the error message.

Example

No code snippet is provided as the issue seems to be related to API usage and rate limiting rather than a specific code problem.

Notes

The issue may be related to the API's rate limiting policy, which could be independent of the model version or available token percentage. The error messages suggest that the request is being blocked due to rate limiting, despite the user's available token percentage.

Recommendation

Apply workaround: Run the /extra-usage command to enable extra usage, as this may resolve the rate limiting issue and allow the request to proceed.

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] Anthropic API Error: Extra usage required for non-1M context model [3 comments, 4 participants]