Skip to content
AI Dev Toolkit.
Esc
  • Loading…

Claude Code · Server and limits

Claude Code: Credit balance is too low

Claude Code says “Credit balance is too low” on a Pro or Max plan? It’s billing an API key or Console credits. How to switch back to your plan, or top up.

Message

The exact error

Claude Code
Credit balance is too low

Also appears as:

Organization with only plan-included API credits
Credit balance too low · Add funds: https://platform.claude.com/settings/billing
Raw API response
Your credit balance is too low to access the Anthropic API. Please go to Plans & Billing to upgrade or purchase credits.

Meaning

What does “Credit balance is too low” mean?

“Credit balance is too low” means Claude Code is sending requests with a Claude Console API key whose organization has no prepaid credit left. If you pay for Pro, Max, Team or Enterprise, Claude Code is almost certainly using an ANTHROPIC_API_KEY instead of your subscription: run /status, remove the key, relaunch and run /login. Your subscription’s usage allowance and Console credits are separate balances.

Causes

Why do I get it with a Pro or Max subscription?

  • An ANTHROPIC_API_KEY in your shell, profile or a .env file overriding your subscription
  • A key stored by your editor or another tool, or set in the env block of ~/.claude/settings.json
  • A Console organization holding only the API credits included with Max or Team, which don’t cover Claude Code
  • The Console organization’s prepaid credits ran out, or a new organization that starts at zero

Fix

How do I fix it?

  1. If you have a subscription, stop using the key

    Run /status and check the API key row. Unset the variable in the current shell, remove it from your shell profile, then relaunch claude and run /login if needed.

    macOS / Linux
    unset ANTHROPIC_API_KEY
    claude
    Windows PowerShell
    Remove-Item Env:ANTHROPIC_API_KEY
    claude
  2. If you use the API on purpose, add credits

    Top up at platform.claude.com/settings/billing and consider auto-reload so the balance doesn’t hit zero mid-task. Our Claude API key guide explains how prepaid credits work.

  3. Cap spending per workspace

    Set per-workspace spend limits in the Console so one project can’t drain the whole balance.

Explained

Do the API credits in Max and Team plans cover Claude Code?

No. Max and Team plans include monthly credits for the Claude API in a linked Console organization. Anthropic’s page on those credits says they cover the Claude API, Managed Agents, the Agent SDK and the playground, but not Claude Code or extra usage in the Claude apps. If you created an API key in that organization and Claude Code picked it up, it stops with Credit balance too low · Add funds. Sign in to Claude Code with your subscription and keep the key for your own apps.

Explained

Why does VS Code, Zed or JetBrains show it?

Editors and agent plugins can store their own Anthropic API key and use it instead of your subscription. Remove the key from the editor’s AI settings, or from the env block of your Claude Code settings, and sign in through the Claude Code login flow instead. If a key is rejected outright rather than out of credit, see Invalid API key.

FAQ

Questions people ask

Does Claude Pro include API credits?

No. Anthropic lists Free, Pro and Enterprise plans as not eligible for the included monthly API credits; only Max and Team plans include them, and those don’t cover Claude Code either. A Pro subscription is used by signing in to Claude Code with /login, not through an API key.

How do I check which account Claude Code is billing?

Run /status. It shows the sign-in method and, if one is in use, the API key row. A key there means requests are billed to that Console organization’s prepaid credits rather than your subscription’s usage allowance. Remove the key and relaunch to go back to the plan.

I added credits but still see “Credit balance is too low”. Why?

Check that the key belongs to the organization you topped up: open platform.claude.com, go to Settings > Billing, and compare it with the organization that owns the key. Credits are per organization, and each new organization starts at zero. Then restart Claude Code so it sends requests with the right key.

Is “Credit balance is too low” the same as hitting my usage limit?

No. A usage limit (“You’ve hit your session limit”) is your subscription’s allowance and resets on its own. “Credit balance is too low” is about prepaid Console credits on an API key, which only come back when you add funds or the next included credits arrive.

Related

Search all Claude Code errors

Keep exploring