[Bug] Token usage exceeds expected rate during API calls

Resolved 💬 3 comments Opened May 15, 2026 by terserv Closed May 18, 2026

Bug Description
Spending too fast

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.141
  • Feedback ID: 6010aa3f-37a5-4a0d-8473-77a68da97eca

Errors

[{"error":"AxiosError: Request failed with status code 400\n    at Io (/$bunfs/root/src/entrypoints/cli.js:116:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:12702)\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:123:2467)\n    at async zK_ (/$bunfs/root/src/entrypoints/cli.js:245:277804)\n    at async R68 (/$bunfs/root/src/entrypoints/cli.js:401:5569)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-15T00:41:06.628Z"},{"error":"Error: 401 {\"type\":\"error\",\"error\":{\"type\":\"authentication_error\",\"message\":\"Invalid authentication credentials\"},\"request_id\":\"req_011Cb3RavXrrXz31j9FoSWJv\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:59994)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-15T00:41:11.267Z"},{"error":"SyntaxError: JSON Parse error: Unexpected identifier \"Please\"\n    at <parse> (:0)\n    at parse (unknown)\n    at pwq (/$bunfs/root/src/entrypoints/cli.js:175:10088)\n    at O (/$bunfs/root/src/entrypoints/cli.js:131:18462)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:177:1658)\n    at N1H (/$bunfs/root/src/entrypoints/cli.js:6583:601)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-15T00:41:11.268Z"},{"error":"Error: 401 {\"type\":\"error\",\"error\":{\"type\":\"authentication_error\",\"message\":\"Invalid authentication credentials\"},\"request_id\":\"req_011Cb3RawepnPSjeZga79azs\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:59994)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-15T00:41:11.565Z"}]

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗