claude-code - 💡(How to fix) Fix [Bug] Opus 4.7 performance degradation: excessive context consumption and task failures compared to Opus 4.6 [2 comments, 3 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#49601Fetched 2026-04-17 08:36:33
View on GitHub
Comments
2
Participants
3
Timeline
5
Reactions
0
Author
Timeline (top)
labeled ×3commented ×2

Error Message

[{"error":"AxiosError: Request failed with status code 400\n at XU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12736)\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 async yQH (/$bunfs/root/src/entrypoints/cli.js:253:275814)\n at async NS6 (/$bunfs/root/src/entrypoints/cli.js:406:3883)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T23:17:26.826Z"},{"error":"AxiosError: Request failed with status code 400\n at XU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12736)\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 async yQH (/$bunfs/root/src/entrypoints/cli.js:253:275814)\n at async NS6 (/$bunfs/root/src/entrypoints/cli.js:406:3883)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T23:17:27.063Z"},{"error":"AxiosError: Request failed with status code 401\n at XU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12736)\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 async oo (/$bunfs/root/src/entrypoints/cli.js:421:4111)\n at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2635:190)\n at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:6593:22658)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T23:17:27.231Z"},{"error":"AxiosError: Request failed with status code 401\n at XU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12736)\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 async sc1 (/$bunfs/root/src/entrypoints/cli.js:3084:14667)\n at async Ee9 (/$bunfs/root/src/entrypoints/cli.js:3084:15206)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T23:17:27.511Z"},{"error":"AxiosError: Request failed with status code 401\n at XU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12736)\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 async sc1 (/$bunfs/root/src/entrypoints/cli.js:3084:14667)\n at async Ee9 (/$bunfs/root/src/entrypoints/cli.js:3084:15206)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T23:17:27.526Z"},{"error":"AxiosError: Request failed with status code 400\n at XU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12736)\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 async yQH (/$bunfs/root/src/entrypoints/cli.js:253:275814)\n at async NS6 (/$bunfs/root/src/entrypoints/cli.js:406:3883)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T23:17:27.641Z"},{"error":"AxiosError: Request failed with status code 400\n at XU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12736)\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…

Code Example

[{"error":"AxiosError: Request failed with status code 400\n    at XU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12736)\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 async yQH (/$bunfs/root/src/entrypoints/cli.js:253:275814)\n    at async NS6 (/$bunfs/root/src/entrypoints/cli.js:406:3883)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T23:17:26.826Z"},{"error":"AxiosError: Request failed with status code 400\n    at XU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12736)\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 async yQH (/$bunfs/root/src/entrypoints/cli.js:253:275814)\n    at async NS6 (/$bunfs/root/src/entrypoints/cli.js:406:3883)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T23:17:27.063Z"},{"error":"AxiosError: Request failed with status code 401\n    at XU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12736)\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 async oo (/$bunfs/root/src/entrypoints/cli.js:421:4111)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2635:190)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:6593:22658)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T23:17:27.231Z"},{"error":"AxiosError: Request failed with status code 401\n    at XU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12736)\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 async sc1 (/$bunfs/root/src/entrypoints/cli.js:3084:14667)\n    at async Ee9 (/$bunfs/root/src/entrypoints/cli.js:3084:15206)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T23:17:27.511Z"},{"error":"AxiosError: Request failed with status code 401\n    at XU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12736)\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 async sc1 (/$bunfs/root/src/entrypoints/cli.js:3084:14667)\n    at async Ee9 (/$bunfs/root/src/entrypoints/cli.js:3084:15206)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T23:17:27.526Z"},{"error":"AxiosError: Request failed with status code 400\n    at XU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12736)\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 async yQH (/$bunfs/root/src/entrypoints/cli.js:253:275814)\n    at async NS6 (/$bunfs/root/src/entrypoints/cli.js:406:3883)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T23:17:27.641Z"},{"error":"AxiosError: Request failed with status code 400\n    at XU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12736)\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…
RAW_BUFFERClick to expand / collapse

Bug Description all, i was really looking forward to Opus 4.7, but man it's rough. I can't get it to do simple tasks that were easy for Opus 4.6 to do. It basically just chews up context and uses up my 5h window (Pro Max account). This is no bueno. I'm happy to expand more but i'm working on my agent orchestration platform and some mobiles apps and i'm not able to make progress on them with the new model. read more about my work here - https://philjohnstonii.com

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.112
  • Feedback ID: 3a6377ec-dec1-4c32-a8d7-86b2c7781fb3

Errors

[{"error":"AxiosError: Request failed with status code 400\n    at XU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12736)\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 async yQH (/$bunfs/root/src/entrypoints/cli.js:253:275814)\n    at async NS6 (/$bunfs/root/src/entrypoints/cli.js:406:3883)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T23:17:26.826Z"},{"error":"AxiosError: Request failed with status code 400\n    at XU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12736)\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 async yQH (/$bunfs/root/src/entrypoints/cli.js:253:275814)\n    at async NS6 (/$bunfs/root/src/entrypoints/cli.js:406:3883)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T23:17:27.063Z"},{"error":"AxiosError: Request failed with status code 401\n    at XU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12736)\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 async oo (/$bunfs/root/src/entrypoints/cli.js:421:4111)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2635:190)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:6593:22658)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T23:17:27.231Z"},{"error":"AxiosError: Request failed with status code 401\n    at XU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12736)\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 async sc1 (/$bunfs/root/src/entrypoints/cli.js:3084:14667)\n    at async Ee9 (/$bunfs/root/src/entrypoints/cli.js:3084:15206)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T23:17:27.511Z"},{"error":"AxiosError: Request failed with status code 401\n    at XU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12736)\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 async sc1 (/$bunfs/root/src/entrypoints/cli.js:3084:14667)\n    at async Ee9 (/$bunfs/root/src/entrypoints/cli.js:3084:15206)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T23:17:27.526Z"},{"error":"AxiosError: Request failed with status code 400\n    at XU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12736)\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 async yQH (/$bunfs/root/src/entrypoints/cli.js:253:275814)\n    at async NS6 (/$bunfs/root/src/entrypoints/cli.js:406:3883)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T23:17:27.641Z"},{"error":"AxiosError: Request failed with status code 400\n    at XU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12736)\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…

Note: Content was truncated.

extent analysis

TL;DR

The issue may be resolved by checking the request payload and authentication credentials, as the error messages indicate request failures with status codes 400 and 401.

Guidance

  • Review the request payload to ensure it is correctly formatted and meets the API's requirements, as the 400 status code suggests a bad request.
  • Verify the authentication credentials, such as API keys or tokens, to ensure they are valid and properly configured, as the 401 status code indicates an unauthorized request.
  • Check the API documentation to ensure that the request is being made to the correct endpoint and with the required parameters.
  • Consider enabling debug logging to capture more detailed information about the requests being made and the errors being encountered.

Example

No code snippet can be provided without more context, but the error messages suggest that the issue is related to the request function in the cli.js file.

Notes

The issue description is truncated, so it is possible that additional information is available that could help resolve the issue. The errors appear to be related to Axios requests, but without more context, it is difficult to provide a more specific solution.

Recommendation

Apply a workaround by verifying the request payload and authentication credentials, as the error messages suggest that these may be the cause of the issue. This is a reasonable first step, as it is a relatively simple check and may resolve the issue quickly.

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] Opus 4.7 performance degradation: excessive context consumption and task failures compared to Opus 4.6 [2 comments, 3 participants]