claude-code - 💡(How to fix) Fix [Bug] Sonnet 4.6 default model incorrectly requires extra usage for 1M context [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#58846Fetched 2026-05-14 03:38:02
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Author
Timeline (top)
labeled ×3commented ×1

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/damiansligo-green/.local/share/claude/versions/2.1.140 (expected in multi-process scenarios)\n at g16 (/$bunfs/root/src/entrypoints/cli.js:2672:2257)\n at RLH (/$bunfs/root/src/entrypoints/cli.js:2672:1337)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-13T22:26:32.820Z"},{"error":"Error: Failed to delete keychain entry: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n at Jgq (/$bunfs/root/src/entrypoints/cli.js:245:289181)\n at async YY9 (/$bunfs/root/src/entrypoints/cli.js:401:898)\n at async A_8 (/$bunfs/root/src/entrypoints/cli.js:401:796)\n at async rj_ (/$bunfs/root/src/entrypoints/cli.js:2648:2388)\n at async VLH (/$bunfs/root/src/entrypoints/cli.js:2674:6149)\n at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2699:3468)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-13T22:27:52.088Z"},{"error":"Error: ENAMETOOLONG: name too long, open\n at readFileSync (unknown)\n at readFileBytesSync (/$bunfs/root/src/entrypoints/cli.js:56:1085)\n at LI9 (/$bunfs/root/src/entrypoints/cli.js:574:15938)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:628:170)\n at map (native:1:11)\n at f (/$bunfs/root/src/entrypoints/cli.js:628:161)\n at X (/$bunfs/root/src/entrypoints/cli.js:629:305)\n at gI1 (/$bunfs/root/src/entrypoints/cli.js:498:1976)\n at dispatch (/$bunfs/root/src/entrypoints/cli.js:498:2652)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:491:111939)","timestamp":"2026-05-13T22:29:02.363Z"},{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"Extra usage is required for long context requests."},"request_id":"req_011Cb1MhmfHNtnQdrjLyjhNh"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:59708)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-13T22:29:04.563Z"},{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"Extra usage is required for long context requests."},"request_id":"req_011Cb1MiJEoBpXYdHq8oMMkc"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:59708)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-13T22:29:11.672Z"},{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"Extra usage is required for long context requests."},"request_id":"req_011Cb1MjnBLmYhiiHaNNdJhu"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:59708)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-13T22:29:31.777Z"}]

Fix Action

Fix / Workaround

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/damiansligo-green/.local/share/claude/versions/2.1.140 (expected in multi-process scenarios)\n    at g16 (/$bunfs/root/src/entrypoints/cli.js:2672:2257)\n    at RLH (/$bunfs/root/src/entrypoints/cli.js:2672:1337)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-13T22:26:32.820Z"},{"error":"Error: Failed to delete keychain entry: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n    at Jgq (/$bunfs/root/src/entrypoints/cli.js:245:289181)\n    at async YY9 (/$bunfs/root/src/entrypoints/cli.js:401:898)\n    at async A_8 (/$bunfs/root/src/entrypoints/cli.js:401:796)\n    at async rj_ (/$bunfs/root/src/entrypoints/cli.js:2648:2388)\n    at async VLH (/$bunfs/root/src/entrypoints/cli.js:2674:6149)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2699:3468)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-13T22:27:52.088Z"},{"error":"Error: ENAMETOOLONG: name too long, open\n    at readFileSync (unknown)\n    at readFileBytesSync (/$bunfs/root/src/entrypoints/cli.js:56:1085)\n    at LI9 (/$bunfs/root/src/entrypoints/cli.js:574:15938)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:628:170)\n    at map (native:1:11)\n    at f (/$bunfs/root/src/entrypoints/cli.js:628:161)\n    at X (/$bunfs/root/src/entrypoints/cli.js:629:305)\n    at gI1 (/$bunfs/root/src/entrypoints/cli.js:498:1976)\n    at dispatch (/$bunfs/root/src/entrypoints/cli.js:498:2652)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:491:111939)","timestamp":"2026-05-13T22:29:02.363Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Extra usage is required for long context requests.\"},\"request_id\":\"req_011Cb1MhmfHNtnQdrjLyjhNh\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:59708)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-13T22:29:04.563Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Extra usage is required for long context requests.\"},\"request_id\":\"req_011Cb1MiJEoBpXYdHq8oMMkc\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:59708)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-13T22:29:11.672Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Extra usage is required for long context requests.\"},\"request_id\":\"req_011Cb1MjnBLmYhiiHaNNdJhu\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:59708)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-13T22:29:31.777Z"}]

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/damiansligo-green/.local/share/claude/versions/2.1.140 (expected in multi-process scenarios)\n    at g16 (/$bunfs/root/src/entrypoints/cli.js:2672:2257)\n    at RLH (/$bunfs/root/src/entrypoints/cli.js:2672:1337)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-13T22:26:32.820Z"},{"error":"Error: Failed to delete keychain entry: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n    at Jgq (/$bunfs/root/src/entrypoints/cli.js:245:289181)\n    at async YY9 (/$bunfs/root/src/entrypoints/cli.js:401:898)\n    at async A_8 (/$bunfs/root/src/entrypoints/cli.js:401:796)\n    at async rj_ (/$bunfs/root/src/entrypoints/cli.js:2648:2388)\n    at async VLH (/$bunfs/root/src/entrypoints/cli.js:2674:6149)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2699:3468)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-13T22:27:52.088Z"},{"error":"Error: ENAMETOOLONG: name too long, open\n    at readFileSync (unknown)\n    at readFileBytesSync (/$bunfs/root/src/entrypoints/cli.js:56:1085)\n    at LI9 (/$bunfs/root/src/entrypoints/cli.js:574:15938)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:628:170)\n    at map (native:1:11)\n    at f (/$bunfs/root/src/entrypoints/cli.js:628:161)\n    at X (/$bunfs/root/src/entrypoints/cli.js:629:305)\n    at gI1 (/$bunfs/root/src/entrypoints/cli.js:498:1976)\n    at dispatch (/$bunfs/root/src/entrypoints/cli.js:498:2652)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:491:111939)","timestamp":"2026-05-13T22:29:02.363Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Extra usage is required for long context requests.\"},\"request_id\":\"req_011Cb1MhmfHNtnQdrjLyjhNh\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:59708)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-13T22:29:04.563Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Extra usage is required for long context requests.\"},\"request_id\":\"req_011Cb1MiJEoBpXYdHq8oMMkc\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:59708)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-13T22:29:11.672Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Extra usage is required for long context requests.\"},\"request_id\":\"req_011Cb1MjnBLmYhiiHaNNdJhu\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:59708)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-13T22:29:31.777Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description Getting an error with choosing sonnet - telling me I need extra usage for 1M context even when just choosing the default model: ?? docs/prototypes/survey-redesign-v3/heating-matrix-spike.png
⎿ API Error: Extra usage is required for 1M context · run /extra-usage to enable, or /model to switch to standard context

✻ Baked for 0s This conversation is cached for the current model. Switching to Opus 4.7 means the full history gets re-read on your next message.

❯ 1. Yes, switch to Opus 4.7
2. No, go back

⎿ Set model to Sonnet 4.6 (default) with high effort

❯ cont
⎿ API Error: Extra usage is required for 1M context · run /extra-usage to enable, or /model to switch to standard context

✻ Baked for 0s

Environment Info

  • Platform: darwin
  • Terminal: cursor
  • Version: 2.1.140
  • Feedback ID: 0afa8036-917a-4311-a3c3-b8d32c0593de

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/damiansligo-green/.local/share/claude/versions/2.1.140 (expected in multi-process scenarios)\n    at g16 (/$bunfs/root/src/entrypoints/cli.js:2672:2257)\n    at RLH (/$bunfs/root/src/entrypoints/cli.js:2672:1337)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-13T22:26:32.820Z"},{"error":"Error: Failed to delete keychain entry: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n    at Jgq (/$bunfs/root/src/entrypoints/cli.js:245:289181)\n    at async YY9 (/$bunfs/root/src/entrypoints/cli.js:401:898)\n    at async A_8 (/$bunfs/root/src/entrypoints/cli.js:401:796)\n    at async rj_ (/$bunfs/root/src/entrypoints/cli.js:2648:2388)\n    at async VLH (/$bunfs/root/src/entrypoints/cli.js:2674:6149)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2699:3468)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-13T22:27:52.088Z"},{"error":"Error: ENAMETOOLONG: name too long, open\n    at readFileSync (unknown)\n    at readFileBytesSync (/$bunfs/root/src/entrypoints/cli.js:56:1085)\n    at LI9 (/$bunfs/root/src/entrypoints/cli.js:574:15938)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:628:170)\n    at map (native:1:11)\n    at f (/$bunfs/root/src/entrypoints/cli.js:628:161)\n    at X (/$bunfs/root/src/entrypoints/cli.js:629:305)\n    at gI1 (/$bunfs/root/src/entrypoints/cli.js:498:1976)\n    at dispatch (/$bunfs/root/src/entrypoints/cli.js:498:2652)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:491:111939)","timestamp":"2026-05-13T22:29:02.363Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Extra usage is required for long context requests.\"},\"request_id\":\"req_011Cb1MhmfHNtnQdrjLyjhNh\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:59708)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-13T22:29:04.563Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Extra usage is required for long context requests.\"},\"request_id\":\"req_011Cb1MiJEoBpXYdHq8oMMkc\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:59708)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-13T22:29:11.672Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Extra usage is required for long context requests.\"},\"request_id\":\"req_011Cb1MjnBLmYhiiHaNNdJhu\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:59708)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-13T22:29:31.777Z"}]

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] Sonnet 4.6 default model incorrectly requires extra usage for 1M context [1 comments, 2 participants]