[Bug] Excessive token usage on prompt messages (42k tokens for 3 prompts)
Status Closed — duplicate
Reported on v2.1.107
Maintainer reply None cached
Activity 3 comments · opened Apr 14, 2026 · closed Apr 18, 2026
Bug Description
My messages token are 42k while I've just had three prompts in total
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.1.107
- Feedback ID: 0075fc32-d923-45bc-b51d-c0dfc8b37d65
Errors
[{"error":"MaxFileReadTokenExceededError: File content (10961 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 ULK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4666:12262)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async QLK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4670:2638)\n at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4675:7235)\n at async hMY (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3954:8327)","timestamp":"2026-04-14T14:24:41.498Z"},{"error":"Error: Request was aborted.\n at jR.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:47:3448)\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at runNextTicks (node:internal/process/task_queues:69:3)\n at process.processTimers (node:internal/timers:540:9)","timestamp":"2026-04-14T14:30:07.560Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗