[Bug] High API usage rate after agent startup on Max 5x instance
Resolved 💬 5 comments Opened Apr 3, 2026 by bennycho Closed May 12, 2026
Bug Description
My agents haven't done much yet. I only asked the agent teams leader to investigate whether any agents were compressing their usage. Two agents started compressing shortly after startup, but within an hour, my usage was back to 42%. I'm using a Max 5x instance. Is this usage normal? It's not peak time now, but the usage is much faster than before.
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.1.91
- Feedback ID: b9adae63-309d-4085-b935-c97f40c5dca2
Errors
[{"error":"MaxFileReadTokenExceededError: File content (19371 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 mO7 (/$bunfs/root/src/entrypoints/cli.js:4306:13161)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-03T06:30:29.896Z"},{"error":"MaxFileReadTokenExceededError: File content (10050 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 mO7 (/$bunfs/root/src/entrypoints/cli.js:4306:13161)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-03T06:31:00.417Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011CZgWdMDkYg7VeidTFSnpm\"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:51892)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4942)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-03T08:20:21.176Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011CZgWdQCb1R6quSpVrePr4\"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:51892)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4942)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-03T08:20:22.164Z"}]This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗