[Bug] Excessive token consumption during model initialization or analysis

Resolved 💬 3 comments Opened Apr 21, 2026 by benjack90 Closed Apr 25, 2026

Bug Description
Claude burned 103k tokens just looking into the model. I don't really understand how that could possibly have required that much effort/investigation. That's a ludicrous number of tokens to use here.

It wasn't so much an error as it was the irresponsible consumption of tokens in what I have to imagine was a very basic request. I was restarting a conversation with claude that had _some_ background, but not overly extensive background, and when I resumed the conversation claude kicked off two exploratory agents. One to explore the codebase, and another that failed. They also checked on the MCP tools we had available and in all that quick restart consumed 103k tokens. That's like 75k words or something!

I use claude code frequently and I don't think I've ever seen a number that big restarting a conversation with Claude.

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 2.1.116
  • Feedback ID: dae37280-19de-4d8d-ba86-157660ab03ef

Errors

[{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\ben\\AppData\\Local\\Temp\\claude\\C--Users-ben\\54b34086-2767-4ace-9abb-28133e5dbfda\\tasks\\a1ca351493370355f.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7979:299)","timestamp":"2026-04-21T02:18:45.259Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\ben\\AppData\\Local\\Temp\\claude\\C--Users-ben\\54b34086-2767-4ace-9abb-28133e5dbfda\\tasks\\a53a454aaeaddfcd3.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7979:299)","timestamp":"2026-04-21T02:20:02.239Z"},{"error":"Error: ensureToolResultPairing: repaired missing tool_result blocks (7 -> 7 messages). Message structure: [0] user; [1] assistant(id=msg_01SstcUXaU2Rn57qRUvzLfPx, tool_uses=[toolu_01AtNtN9sSi46nsxjUGWxf7g]); [2] user(tool_results=[toolu_01AtNtN9sSi46nsxjUGWxf7g]); [3] assistant(id=msg_01979teX2TCLpoWtPt2Jvq12, tool_uses=[toolu_015EeBK5CWKN4ZbzioWmErEe]); [4] user(tool_results=[toolu_015EeBK5CWKN4ZbzioWmErEe]); [5] assistant(id=msg_012Sc8QvVz7r82UVfQGvm7uw, tool_uses=[toolu_01CPXWxD9n9sp6BogwCpX4WT]); [6] user\n    at C0_ (B:/~BUN/root/src/entrypoints/cli.js:5285:10250)\n    at Qi_ (B:/~BUN/root/src/entrypoints/cli.js:8129:16029)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T02:20:44.969Z"}]

View original on GitHub ↗

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