[Bug] Unexpected API Credit Depletion Despite Max Plan Subscription

Status Closed — not planned
Maintainer reply None cached
Activity 3 comments · opened Sep 15, 2025 · closed Jan 7, 2026

Bug Description
claude code seems to be getting out of credits even though in max plan and using mminimal work and works fine again if login again

Environment Info

  • Platform: linux
  • Terminal: vscode
  • Version: 1.0.113
  • Feedback ID: ca9a81a7-4546-49a8-8cf8-99d0c5132782

Errors

[{"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_011CT9F5eM4RhipYcpbj7gMj\"}\n    at V4.generate (file:///home/sam/.nvm/versions/node/v20.12.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:993:2622)\n    at mT.makeStatusError (file:///home/sam/.nvm/versions/node/v20.12.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:1010:2131)\n    at mT.makeRequest (file:///home/sam/.nvm/versions/node/v20.12.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:1010:5344)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async LY1.showErrors (file:///home/sam/.nvm/versions/node/v20.12.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:1918:29783)\n    at async LY1 (file:///home/sam/.nvm/versions/node/v20.12.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:1918:18101)\n    at async fYB (file:///home/sam/.nvm/versions/node/v20.12.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:1918:29610)\n    at async file:///home/sam/.nvm/versions/node/v20.12.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:1918:24438\n    at async Pw0 (file:///home/sam/.nvm/versions/node/v20.12.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:1918:4362)\n    at async X01 (file:///home/sam/.nvm/versions/node/v20.12.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:1918:24408)","timestamp":"2025-09-15T00:31:17.619Z"},{"error":"Error: Tab close: Invalid tab not found!\n    at A3B (file:///home/sam/.nvm/versions/node/v20.12.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:1886:15963)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async ntB (file:///home/sam/.nvm/versions/node/v20.12.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:3600:19997)\n    at async EventTarget.J (file:///home/sam/.nvm/versions/node/v20.12.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:3600:18977)","timestamp":"2025-09-15T00:53:45.837Z"},{"error":"Error: Tab close: Invalid tab not found!\n    at A3B (file:///home/sam/.nvm/versions/node/v20.12.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:1886:15963)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async ntB (file:///home/sam/.nvm/versions/node/v20.12.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:3600:19997)\n    at async EventTarget.J (file:///home/sam/.nvm/versions/node/v20.12.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:3600:18977)","timestamp":"2025-09-15T02:23:06.174Z"},{"error":"Error: Tab close: Invalid tab not found!\n    at A3B (file:///home/sam/.nvm/versions/node/v20.12.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:1886:15963)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async ntB (file:///home/sam/.nvm/versions/node/v20.12.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:3600:19997)\n    at async EventTarget.J (file:///home/sam/.nvm/versions/node/v20.12.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:3600:18977)","timestamp":"2025-09-15T03:37:10.807Z"},{"error":"Error: Tab close: Invalid tab not found!\n    at A3B (file:///home/sam/.nvm/versions/node/v20.12.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:1886:15963)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async ntB (file:///home/sam/.nvm/versions/node/v20.12.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:3600:19997)\n    at async EventTarget.J (file:///home/sam/.nvm/versions/node/v20.12.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:3600:18977)","timestamp":"2025-09-15T03:48:40.017Z"}]

View original on GitHub ↗

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