[Bug] Excessive token consumption for simple queries - 74.8k tokens used with 5 tool calls

Resolved 💬 3 comments Opened Apr 6, 2026 by Acurioustractor Closed Apr 10, 2026

Bug Description
Then sytem used thsi many tokens for a simple questions - using too much claude-code-guide(Check "extra usage" meaning)
⎿  Done (5 tool uses · 74.8k tokens · 1m 1s)

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.89
  • Feedback ID: 2ef7ff79-b9e6-4aa8-8fb5-5c67fa307fb7

Errors

[{"error":"Error: spawn /Users/benknight/.claude/local/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/arm64-darwin/rg EACCES\n    at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n    at onErrorNT (node:internal/child_process:483:16)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","timestamp":"2026-04-03T00:13:01.921Z"},{"error":"Error: spawn /Users/benknight/.claude/local/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/arm64-darwin/rg EACCES\n    at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n    at onErrorNT (node:internal/child_process:483:16)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","timestamp":"2026-04-03T00:17:05.319Z"},{"error":"Error: 1P event logging: 4 events failed to export (code=ENOTFOUND, getaddrinfo ENOTFOUND api.anthropic.com)\n    at pN1.queueFailedEvents (file:///Users/benknight/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:498:2546)\n    at async pN1.doExport (file:///Users/benknight/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:498:1465)","timestamp":"2026-04-03T03:08:05.280Z"},{"error":"Error: {\"stack\":\"Error: Failed to export 4 events (code=ENOTFOUND, getaddrinfo ENOTFOUND api.anthropic.com)\\n    at pN1.doExport (file:///Users/benknight/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:498:1640)\",\"message\":\"Failed to export 4 events (code=ENOTFOUND, getaddrinfo ENOTFOUND api.anthropic.com)\",\"name\":\"Error\"}\n    at MQ1.error (file:///Users/benknight/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2087:4337)\n    at dk1.error (file:///Users/benknight/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:471:10507)\n    at file:///Users/benknight/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:471:36853\n    at Gq_ (file:///Users/benknight/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:471:37399)\n    at file:///Users/benknight/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:472:24943","timestamp":"2026-04-03T03:08:05.282Z"},{"error":"Error: 1P event logging: 2 events failed to export (code=ENOTFOUND, getaddrinfo ENOTFOUND api.anthropic.com)\n    at pN1.queueFailedEvents (file:///Users/benknight/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:498:2546)\n    at async pN1.doExport (file:///Users/benknight/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:498:1465)","timestamp":"2026-04-03T03:08:20.381Z"},{"error":"Error: {\"stack\":\"Error: Failed to export 2 events (code=ENOTFOUND, getaddrinfo ENOTFOUND api.anthropic.com)\\n    at pN1.doExport (file:///Users/benknight/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:498:1640)\",\"message\":\"Failed to export 2 events (code=ENOTFOUND, getaddrinfo ENOTFOUND api.anthropic.com)\",\"name\":\"Error\"}\n    at MQ1.error (file:///Users/benknight/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2087:4337)\n    at dk1.error (file:///Users/benknight/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:471:10507)\n    at file:///Users/benknight/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:471:36853\n    at Gq_ (file:///Users/benknight/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:471:37399)\n    at file:///Users/benknight/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:472:24943","timestamp":"2026-04-03T03:08:20.382Z"},{"error":"Error: getaddrinfo ENOTFOUND platform.claude.com\n    at ev.from (file:///Users/benknight/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:108:7836)\n    at XV.<anonymous> (file:///Users/benknight/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:116:12658)\n    at XV.emit (node:events:531:35)\n    at Lq1.<computed> (file:///Users/benknight/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:115:1120)\n    at ClientRequest.emit (node:events:519:28)\n    at emitErrorEvent (node:_http_client:107:11)\n    at TLSSocket.socketErrorListener (node:_http_client:574:5)\n    at TLSSocket.emit (node:events:519:28)\n    at emitErrorNT (node:internal/streams/destroy:170:8)\n    at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n    at rm6.request (file:///Users/benknight/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:118:2450)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async dF6 (file:///Users/benknight/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:299:266368)\n    at async Lk1 (file:///Users/benknight/.claude/local/node_modules/@anthropic-ai/cla…

Note: Content was truncated.

View original on GitHub ↗

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