[Bug] Rate limit error at 72% token usage

Resolved 💬 7 comments Opened Apr 12, 2026 by tehcyx Closed Jun 6, 2026

Bug Description
i'm at 72% usage and I'm getting a rate limited error

Environment Info

  • Platform: linux
  • Terminal: kitty
  • Version: 2.1.104
  • Feedback ID: 1c965b79-1cab-4356-bbec-0115ee97e039

Errors

[{"error":"Error: ECONNREFUSED\n    at from (/$bunfs/root/src/entrypoints/cli.js:105:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:113:12934)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:112:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T21:19:16.004Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 209375 tokens > 200000 maximum\"},\"request_id\":\"req_011CZzaJU6FVzDrNhvLAntgu\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:53185)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T21:19:18.849Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 204890 tokens > 200000 maximum\"},\"request_id\":\"req_011CZzaJsebFeTkjYKXAcKHz\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:53185)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T21:19:25.045Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 212723 tokens > 200000 maximum\"},\"request_id\":\"req_011CZzaKL1cK9Jei2jZecQUg\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:53185)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T21:19:31.232Z"},{"error":"Error: ECONNREFUSED\n    at from (/$bunfs/root/src/entrypoints/cli.js:105:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:113:12934)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:112:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:115:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T21:19:33.853Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 208210 tokens > 200000 maximum\"},\"request_id\":\"req_011CZzaKnXJESeRWvJDWTrFM\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:53185)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T21:19:37.145Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 211623 tokens > 200000 maximum\"},\"request_id\":\"req_011CZzaLE2DjEQui1F4wmRfC\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:53185)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T21:19:43.556Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 209075 tokens > 200000 maximum\"},\"request_id\":\"req_011CZzaLhB7MQbwi56dMnT18\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:53185)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T21:19:50.253Z"},{"error":"Error: ECONNREFUSED\n    at from (/$bunfs/root/src/entrypoints/cli.js:105:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:113:12934)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:112:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:115:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T21:19:52.167Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 211254 tokens > 200000 maximum\"},\"request_id\":\"req_011CZzaMBtWUmun56zTD41h4\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:53185)\n    at makeRequest (…

Note: Content was truncated.

View original on GitHub ↗

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