[Bug] Rapid token consumption - investigate token usage efficiency
Resolved 💬 3 comments Opened Apr 14, 2026 by bhupendraKhatri12 Closed Apr 18, 2026
Bug Description
my token is running out very quick what seems to be the problem ?
Environment Info
- Platform: win32
- Terminal: vscode
- Version: 2.1.104
- Feedback ID: 75861ea2-7e1a-4989-b4a2-07a2314d1b6b
Errors
[{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n at Jg4 (B:/~BUN/root/src/entrypoints/cli.js:2890:15162)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T07:02:00.263Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n at Jg4 (B:/~BUN/root/src/entrypoints/cli.js:2890:15162)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T07:02:00.264Z"},{"error":"Error: 1P event logging: 1 events failed to export (code=ECONNREFUSED, ECONNREFUSED)\n at queueFailedEvents (B:/~BUN/root/src/entrypoints/cli.js:442:2574)\n at async doExport (B:/~BUN/root/src/entrypoints/cli.js:442:1516)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T07:02:00.292Z"},{"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_011CZyWcpZLmqYGT6BseGKTz\"}\n at generate (B:/~BUN/root/src/entrypoints/cli.js:11:53407)\n at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T07:50:19.166Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: ECONNREFUSED\n at Jg4 (B:/~BUN/root/src/entrypoints/cli.js:2890:15162)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T08:58:48.222Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: ECONNREFUSED\n at Jg4 (B:/~BUN/root/src/entrypoints/cli.js:2890:15162)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T08:58:48.222Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: ECONNREFUSED\n at Jg4 (B:/~BUN/root/src/entrypoints/cli.js:2890:15162)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T13:39:20.082Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: ECONNREFUSED\n at Jg4 (B:/~BUN/root/src/entrypoints/cli.js:2890:15162)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T13:39:20.082Z"},{"error":"Error: 1P event logging: 3 events failed to export (code=ECONNREFUSED, ECONNREFUSED)\n at queueFailedEvents (B:/~BUN/root/src/entrypoints/cli.js:442:2574)\n at async doExport (B:/~BUN/root/src/entrypoints/cli.js:442:1516)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T13:39:20.093Z"},{"error":"MaxFileReadTokenExceededError: File content (55225 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 _O_ (B:/~BUN/root/src/entrypoints/cli.js:4500:12874)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T15:28:00.407Z"},{"error":"Error: ensureToolResultPairing: repaired missing tool_result blocks (74 -> 74 messages). Message structure: [0] user; [1] assistant(id=msg_011PeVE9q1Jdw6hgiLrzsJ3k, tool_uses=[toolu_01Y5kAkCsFEx4yTUNCGsk8Df,toolu_01ErQQkMYykdFYpMex1nUJYN]); [2] user(tool_results=[toolu_01Y5kAkCsFEx4yTUNCGsk8Df,toolu_01ErQQkMYykdFYpMex1nUJYN]); [3] assistant(id=msg_01LfZAgrkZmk12fZ4sofN4Dw, tool_uses=[toolu_01FDJD4Cv3JycFvwxi1cCBDn,toolu_01GWqg7hhNdYfxqxTLXntUou]); [4] user(tool_results=[toolu_01FDJD4Cv3JycFvwxi1cCBDn,toolu_01GWqg7hhNdYfxqxTLXntUou]); [5] assistant(id=msg_01GdTYjpgcV8pYbn68wK7kBm, tool_uses=[toolu_011ZmgZ9qgeGurBabd4Z4qnQ,toolu_01AJLZycCPSEiHsDBQxEaez9]); [6] user(tool_results=[toolu_011ZmgZ9qgeGurBabd4Z4qnQ,toolu_01AJLZycCPSEiHsDBQxEaez9]); [7] assistant(id=msg_01WGKGGnkbwcsF1vdpc4NFjD, tool_uses=[toolu_01QkVx6rD26WYhruuYBQPKRi,toolu_01M8rW7aB7rChUk1fSe6h5mL]); [8] user(tool_results=[toolu_01QkVx6rD26WYhruuYBQPKRi,toolu_01M8rW7aB7rChUk1fSe6h5mL]); [9] assistant(id=msg_013k5AZRwDxXghpYxyqaAvJL, tool_uses=[toolu_01Ko1EjdoubKpJG7tr8TyF7T,toolu_01NBDzxVAxMtrLGvpEAyChqj]); [10] user(tool_results=[toolu_01Ko1EjdoubKpJG7tr8TyF7T,toolu_01NBDzxVAxMtrLGvpEAyChqj]); [11] assistant(id=msg_01GJYgU6oF8KPs5W4WZQXzFe, tool_uses=[toolu_012FEpqiNtXzqmt4V86XegiE,toolu_01TLQRD6rqvNQYxVgui35XzJ]); [12] user(tool_results=[toolu_012FEpqiNtXzqmt4V86XegiE,toolu_01TLQRD6rqvNQYxVgui35XzJ]); [13] assistant(id=msg_01LeMfcAgV37PiDbyV3ZR6SW, tool_uses=[toolu_01Q25jfAveKrj4msML9DWkd3,toolu_01TKD2kd9fFwQsiMfk…
Note: Content was truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗