claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

Claude AI usage limit reached|1749470400

Open Autopsias opened this issue 1 year ago • 4 comments

Bug Description Sonnet not available after Opus limit. Opus limit reached just now, and instead of Sonnet being available for the rest of the 5 hour session it was imediatly blocked. I thought Opus would end when you still had some Sonnet usage left!

Environment Info

  • Platform: macos
  • Terminal: cursor
  • Version: 1.0.17
  • Feedback ID: 10f291b3-bcdd-48ad-a2cb-5e1d80d4e9b6

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.\"}}\n    at Y5.generate (file:///Users/ricardocarvalho/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1338:12782)\n    at Kw.makeStatusError (file:///Users/ricardocarvalho/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1353:2082)\n    at Kw.makeRequest (file:///Users/ricardocarvalho/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1353:5257)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-06-09T11:18:36.019Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"}}\n    at Y5.generate (file:///Users/ricardocarvalho/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1338:12782)\n    at Kw.makeStatusError (file:///Users/ricardocarvalho/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1353:2082)\n    at Kw.makeRequest (file:///Users/ricardocarvalho/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1353:5257)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-06-09T11:18:36.098Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"}}\n    at Y5.generate (file:///Users/ricardocarvalho/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1338:12782)\n    at Kw.makeStatusError (file:///Users/ricardocarvalho/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1353:2082)\n    at Kw.makeRequest (file:///Users/ricardocarvalho/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1353:5257)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-06-09T11:18:36.419Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"}}\n    at Y5.generate (file:///Users/ricardocarvalho/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1338:12782)\n    at Kw.makeStatusError (file:///Users/ricardocarvalho/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1353:2082)\n    at Kw.makeRequest (file:///Users/ricardocarvalho/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1353:5257)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-06-09T11:18:36.424Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"}}\n    at Y5.generate (file:///Users/ricardocarvalho/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1338:12782)\n    at Kw.makeStatusError (file:///Users/ricardocarvalho/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1353:2082)\n    at Kw.makeRequest (file:///Users/ricardocarvalho/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1353:5257)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-06-09T11:18:36.614Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"}}\n    at Y5.generate (file:///Users/ricardocarvalho/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1338:12782)\n    at Kw.makeStatusError (file:///Users/ricardocarvalho/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1353:2082)\n    at Kw.makeRequest (file:///Users/ricardocarvalho/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1353:5257)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-06-09T11:18:36.794Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"}}\n    at Y5.generate (file:///Users/ricardocarvalho/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1338:12782)\n    at Kw.makeStatusError (file:///Users/ricardocarvalho/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1353:2082)\n    at Kw.makeRequest (file:///Users/ricardocarvalho/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1353:5257)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-

Note: Error logs were truncated.

Autopsias avatar Jun 09 '25 11:06 Autopsias

Interesting.. mine has switched to sonnet every time so far. I am on Ubuntu 24 desktop, VSCode extension.

spirefyio avatar Jun 09 '25 16:06 spirefyio

It should switch when you still have some quota. Are you on the Max-5x plan?
Let us know if this happens again.

igorkofman avatar Jun 09 '25 20:06 igorkofman

Yes Max-5x plan. Yes it should have switch but it didnt, was weird. Normally works ok.

Autopsias avatar Jun 10 '25 06:06 Autopsias

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Aug 09 '25 14:08 github-actions[bot]