[Bug] Token Usage Tracking Incorrectly Reporting Context Limit Percentage

Resolved 💬 3 comments Opened Sep 17, 2025 by Tim275 Closed Sep 25, 2025

Bug Description
my rreal context usage is 184,9k tokens. but i only have 3% saays my system to me und smth is wrong... claude cli is bugged by me sad

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 1.0.117
  • Feedback ID:

Errors

[{"error":"AxiosError: Request failed with status code 403\n    at EN (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:715:1077)\n    at Unzip.H0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:716:9955)\n    at Unzip.emit (node:events:520:35)\n    at Unzip.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1701:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n    at CQ1.request (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:718:2088)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async k51 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1013:6974)\n    at async y20 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1013:9848)\n    at async bI1.startOAuthFlow (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2606:5424)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2922:1806","timestamp":"2025-09-17T18:35:01.684Z"},{"error":"Error: Request was aborted.\n    at N51._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1000:7955)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-09-17T18:36:47.850Z"},{"error":"Error: Compaction canceled.\n    at Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2373:41)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async TY5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3357:17374)\n    at async MqB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3357:15611)\n    at async iI5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3395:1045)\n    at async Z21 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3389:1859)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3405:5062","timestamp":"2025-09-17T18:36:47.855Z"},{"error":"Error: Request was aborted.\n    at N51._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1000:7955)\n    at processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at runNextTicks (node:internal/process/task_queues:69:3)\n    at listOnTimeout (node:internal/timers:569:9)\n    at process.processTimers (node:internal/timers:543:7)","timestamp":"2025-09-17T18:37:06.605Z"},{"error":"AxiosError: Request failed with status code 403\n    at EN (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:715:1077)\n    at Unzip.H0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:716:9955)\n    at Unzip.emit (node:events:520:35)\n    at Unzip.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1701:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n    at CQ1.request (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:718:2088)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async p15 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1983:480)\n    at async Promise.all (index 0)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1969:6994","timestamp":"2025-09-17T18:38:55.546Z"}]

View original on GitHub ↗

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