[Bug] Session token limit consumption rate appears lower than expected

Resolved 💬 2 comments Opened Mar 24, 2026 by adammjohnson18-bit Closed Apr 21, 2026

Bug Description
This one prompt just used 53% of my session limit. This should be during the 2x limit and it feels like I am getting .5x the limit. I think this is a real bug

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.81
  • Feedback ID: 20babf0a-d71b-430b-a5df-86a0b46451cc

Errors

[{"error":"MaxFileReadTokenExceededError: File content (20630 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at gT9 (/$bunfs/root/src/entrypoints/cli.js:4312:23670)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-24T05:56:16.428Z"},{"error":"MaxFileReadTokenExceededError: File content (15457 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at gT9 (/$bunfs/root/src/entrypoints/cli.js:4312:23670)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-24T06:01:23.488Z"},{"error":"MaxFileReadTokenExceededError: File content (18448 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at gT9 (/$bunfs/root/src/entrypoints/cli.js:4312:23670)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-24T06:01:33.629Z"},{"error":"MaxFileReadTokenExceededError: File content (13603 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at gT9 (/$bunfs/root/src/entrypoints/cli.js:4312:23670)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-24T06:01:44.098Z"},{"error":"Error: ripgrep exited with code null\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:524:11138)\n    at emit (node:events:98:22)\n    at #maybeClose (node:child_process:766:16)\n    at #handleOnExit (node:child_process:520:72)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-24T06:02:39.175Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n    at $ (/$bunfs/root/src/entrypoints/cli.js:526:242)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:526:456)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:524:11209)\n    at emit (node:events:98:22)\n    at #maybeClose (node:child_process:766:16)\n    at #handleOnExit (node:child_process:520:72)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-24T06:02:39.175Z"},{"error":"Error: ripgrep exited with code null\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:524:11138)\n    at emit (node:events:98:22)\n    at #maybeClose (node:child_process:766:16)\n    at #handleOnExit (node:child_process:520:72)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-24T06:02:39.403Z"},{"error":"Error: ripgrep exited with code null\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:524:11138)\n    at emit (node:events:98:22)\n    at #maybeClose (node:child_process:766:16)\n    at #handleOnExit (node:child_process:520:72)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-24T06:02:39.984Z"}]

View original on GitHub ↗

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