claude-code - 💡(How to fix) Fix [Bug] Anthropic API Error: Extra usage required for 1M context access [1 comments, 1 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#50784Fetched 2026-04-20 12:13:07
View on GitHub
Comments
1
Participants
1
Timeline
7
Reactions
0
Author
Participants
Timeline (top)
labeled ×5closed ×1commented ×1

Error Message

[{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"Extra usage is required for long context requests."},"request_id":"req_011CaDN5ruUzzZ7auxMPerEW"}\n at generate (B:/~BUN/root/src/entrypoints/cli.js:11:53135)\n at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T15:26:44.538Z"},{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"Extra usage is required for long context requests."},"request_id":"req_011CaDN7rPnXzF99paJsvY3g"}\n at generate (B:/~BUN/root/src/entrypoints/cli.js:11:53135)\n at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T15:27:11.707Z"},{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"Extra usage is required for long context requests."},"request_id":"req_011CaDNA7mJoRpz8JnXaUCfe"}\n at generate (B:/~BUN/root/src/entrypoints/cli.js:11:53135)\n at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T15:27:42.215Z"}]

Code Example

[{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Extra usage is required for long context requests.\"},\"request_id\":\"req_011CaDN5ruUzzZ7auxMPerEW\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:53135)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T15:26:44.538Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Extra usage is required for long context requests.\"},\"request_id\":\"req_011CaDN7rPnXzF99paJsvY3g\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:53135)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T15:27:11.707Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Extra usage is required for long context requests.\"},\"request_id\":\"req_011CaDNA7mJoRpz8JnXaUCfe\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:53135)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T15:27:42.215Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description Claude code complains that "Extra usage is required for 1M context"... FWIW i've been using the 1M context for a few days and it didn't complain until now. My extra usage is indeed turned off and it was working, so it feels like a glitch to me? I tried restarting and clearing and login. Limits are all under 25%, except Claude Design at 88%. On Max 20x.

Is the message just misleading and it means the servers are under stress? (it's written rate-limited and not "denied"). Maybe the error message should be clearer / more transparent?

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 2.1.113
  • Feedback ID: fcae5fc1-9e51-4bc9-bef3-e882f2adeabb

Errors

[{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Extra usage is required for long context requests.\"},\"request_id\":\"req_011CaDN5ruUzzZ7auxMPerEW\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:53135)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T15:26:44.538Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Extra usage is required for long context requests.\"},\"request_id\":\"req_011CaDN7rPnXzF99paJsvY3g\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:53135)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T15:27:11.707Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Extra usage is required for long context requests.\"},\"request_id\":\"req_011CaDNA7mJoRpz8JnXaUCfe\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:53135)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T15:27:42.215Z"}]

extent analysis

TL;DR

The error message "Extra usage is required for 1M context" likely indicates that the current usage limits are being exceeded, despite the reported limits being under 25%, and may require enabling extra usage or optimizing requests.

Guidance

  • Review the current usage limits and consider enabling extra usage to accommodate the 1M context requests.
  • Verify that the reported limits are accurate and up-to-date, as the error message may be triggered by a temporary spike in usage.
  • Check the Claude Design usage, which is currently at 88%, to see if it's contributing to the error.
  • Consider optimizing requests or reducing the context size to mitigate the error, if enabling extra usage is not feasible.

Example

No code snippet is provided as the issue is related to usage limits and error messages, rather than code-specific issues.

Notes

The error message "Extra usage is required for long context requests" may be misleading, as it's written as a rate-limited error rather than a denied error. The actual cause of the error may be related to temporary server stress or usage spikes.

Recommendation

Apply workaround: Enable extra usage to accommodate the 1M context requests, as the error message suggests that the current usage limits are being exceeded. This may help resolve the issue, but it's essential to monitor usage and optimize requests to avoid future errors.

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