API Error: Rate limit reached after switching from API credits to Pro subscription - cannot authenticate

Resolved 💬 4 comments Opened Mar 21, 2026 by jimmyp Closed Apr 19, 2026

Bug Report

  • Claude Code version: 2.1.81 (installed via Homebrew on macOS)
  • Switched from API Console PAYG credits to a Claude Pro subscription
  • Every session returns API Error: Rate limit reached regardless of usage
  • claude.ai usage dashboard shows 7% session usage and 2% weekly usage - nowhere near limits
  • No ANTHROPIC_API_KEY environment variable set
  • ~/.claude/sessions/ directory is empty
  • ~/.claude/settings.json contains only model and plugin settings, no API key
  • No credentials.json file exists in ~/.claude/
  • claude logout opens an interactive session instead of logging out
  • /logout slash command used instead, followed by fresh login, issue persists
  • Multiple terminal restarts attempted

Expected behavior

Claude Code should use Pro subscription quota after logging in with Pro account credentials.

Actual behavior

Returns rate limit error immediately on every prompt, suggesting it may still be attempting to use depleted API credits rather than the Pro subscription.

View original on GitHub ↗

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