← All guides
🔋

Claude Code / Claude API "Credit Balance Is Too Low": What It Means on Pro and Max, and How to Fix It (2026)

Claude Code or a direct Claude API call showing "Credit balance is too low" is not a card decline — it means the linked Claude Console organization's prepaid API credit has run out, or Claude Code is quietly authenticating with an API key instead of your subscription. Being on Pro, Max or Ultra does not prevent this: the usual cause is an ANTHROPIC_API_KEY environment variable left set on the machine. Run /status to check, unset the variable, then /login. If you genuinely pay for API usage, buy credits or turn on auto-reload in Console Billing. Our own card's ANTHROPIC SAN FRANCISCO charges over the last three months were declined only for insufficient balance, never for anything else.

✓ ConclusionCredit balance is too low means the Claude Console organization's prepaid API credit is empty, or Claude Code is using an API key instead of your subscription; on our own card, charges to ANTHROPIC SAN FRANCISCO over the last three months had a decline rate under 1% once insufficient-balance declines are excluded.

Short answer: "Credit balance is too low" is not a card problem and not a bug in your Pro, Max or Ultra subscription. It means the Claude Console (API) organization you are drawing from has run out of prepaid credit — or Claude Code is sending requests on an API key instead of your subscription at all. If you are on a paid plan and only use claude.ai or Claude Code normally, the fix is almost always to remove a leftover ANTHROPIC_API_KEY environment variable. If you genuinely pay for API usage, buy more credit in Console Billing.

Written by the Pink Card team (pinkcard.cc, not affiliated with Anthropic). Sources: Claude Code's own "Error reference" (code.claude.com/docs/en/errors), the Claude Help Center articles "Using Claude Code with your Pro or Max plan" (support.claude.com/en/articles/11145838) and "How do I pay for my Claude API usage?" (support.claude.com/en/articles/8977456), and the Claude Platform docs "API credits for Max, Ultra, and Team plans" and "Claude API errors" (platform.claude.com/docs/en) — all checked 2026-11-30, not signed in. Card data is from our own read-only database, Beijing time 2026-08-26 00:00 to 2026-11-30, merchant ANTHROPIC SAN FRANCISCO only (Claude's own subscription billing shows as a different merchant name); counts are small, so we publish rates, not raw numbers.

What Claude Code's error reference actually says

Claude Code error reference, Credit balance is too low: caused by the Console organization's prepaid credit running out, or Claude Code using a Console API key instead of the subscription; fix by running /status to check the API key line, unsetting ANTHROPIC_API_KEY and reopening claude with /login, or buying credit and turning on auto-reload
Claude Code docs, "Error reference": the two causes of Credit balance is too low and how to fix each (screenshot, not signed in, checked 2026-11-30)
Image source: Claude Code Docs (link). If this infringes your rights, contact [email protected] and we'll remove it immediately.
  • In the terminal this shows as "Credit balance is too low" or "Credit balance too low · Add funds: https://platform.claude.com/settings/billing."
  • Calling the API directly (your own code, not Claude Code) usually returns the fuller line: "Your credit balance is too low to access the Anthropic API. Please go to Plans & Billing to upgrade or purchase credits."
  • Run /status inside Claude Code first. If the "API key" line has a value, requests are going through that key, not your subscription — see the next section.
  • If there is no API key in use, the organization's own purchased credit is simply empty; buy more in Console Billing (see further down).

On Pro, Max or Ultra and still seeing this? Check ANTHROPIC_API_KEY

Claude Help Center: if an ANTHROPIC_API_KEY environment variable is set on the system, Claude Code uses that API key for authentication instead of the Claude subscription (Pro, Max, Ultra, Team or Enterprise), billing API usage instead of using the plan's included usage
Claude Help Center, "Using Claude Code with your Pro or Max plan": a set ANTHROPIC_API_KEY overrides the subscription (screenshot, not signed in, checked 2026-11-30)
Image source: Claude Help Center (link). If this infringes your rights, contact [email protected] and we'll remove it immediately.

This is the single most common reason a paying Pro/Max/Ultra user sees this error. Many people set ANTHROPIC_API_KEY once, following an older tutorial or a tool's setup instructions, then forget about it. From that point on, Claude Code authenticates with the key and bills per-token API usage — none of it comes out of the subscription's included usage — until the organization's credit runs out.

  1. Run /status in Claude Code and look at the "API key" line. A value there means requests are using that key.
  2. Quit Claude Code, then run unset ANTHROPIC_API_KEY in the same terminal (on Windows, remove it from System Environment Variables).
  3. Open ~/.zshrc, ~/.bashrc or ~/.bash_profile and delete the line that sets export ANTHROPIC_API_KEY=… and save — otherwise it comes back the next time a terminal opens.
  4. Open a fresh terminal, run claude, then run /login and sign in with the Claude account that holds your subscription (the same account you use on claude.ai).
  5. If Claude Code was previously signed in with a separate Console (pay-as-you-go) account, /login again to switch to the subscription account.
  6. Run /status once more to confirm the API key line is now empty. From here on, usage comes from your plan's included usage, and hitting a limit shows a usage-limit message, not Credit balance is too low.

Why the free API credit on Max and Ultra does not cover this

Claude Platform docs summary table: Max and Ultra include monthly API credits ($100 and $200), covering the Claude API, Managed Agents, Agent SDK and the Console playground, but explicitly not covering Claude Code or extra usage in the Claude apps; credits refresh and expire each billing cycle with no rollover
Claude Platform docs, "API credits for Max, Ultra, and Team plans": the included credit explicitly excludes Claude Code (screenshot, not signed in, checked 2026-11-30)
Image source: Claude Platform Docs (link). If this infringes your rights, contact [email protected] and we'll remove it immediately.

Max and Ultra do include a monthly Claude Platform credit ($100 for Max, $200 for Ultra; Team plans pool $20 per standard seat or $100 per premium seat, capped at $500). The documentation is explicit, though, that this credit covers only the Claude API, Claude Managed Agents, the Claude Agent SDK and the Console playground — not Claude Code and not extra usage inside the Claude apps. So if an API key is driving Claude Code, the included credit does nothing for it even while it sits unused.

  • To claim it at all, link a Console organization under claude.ai Settings → Billing (Max/Ultra) or Organization settings → Billing (Team); new subscriptions need 7 days on the plan first.
  • It refreshes every billing cycle and expires at the end of that cycle with no rollover; included credit is spent before any credit you purchased.
  • Cancelling, downgrading below an eligible plan, or getting a refund stops new credit arriving; credit already granted stays usable until it expires.
  • This credit never spills over into your claude.ai or Claude Code usage limits in the other direction either — the two systems are entirely separate books.

If you actually pay for API usage: buying credit and auto-reload

  1. Sign in to Console with an account that has Admin or Billing access, and open Billing at platform.claude.com/settings/billing.
  2. Click Buy credits, enter an amount and confirm. Per Anthropic's own help article, purchased credit is available immediately.
  3. Double check the API key you are using belongs to the same organization and workspace you just funded — a key from a different organization still shows zero balance after a purchase elsewhere.
  4. To stop running dry: under Credit balance, click Set up auto-reload, set a "when balance reaches" threshold and a "bring it back up to" amount, then Turn on. If the balance is already below the threshold, the button instead reads Turn on and purchase and charges immediately.
  5. To turn auto-reload off: click Manage auto-reload, then Turn off, and confirm by clicking Turn off again.
  6. To change the card on file: the pencil icon next to the current payment method on the Billing page, then Update.
  7. Balance clearly positive but requests still fail? Check an organization- or workspace-level spend limit you (or a teammate) set earlier — per Anthropic's API error docs, hitting one returns HTTP 400, except the Claude Code workspace limit specifically, which can return 429 instead.
Two things worth knowing before buying: only successful calls and completed tasks are billed, failed requests are not charged; and purchased credit expires one year after purchase with no extension, and no credit purchase is refundable. Buy in smaller amounts you expect to use rather than a large one upfront.

What we see on our own card

We queried our own read-only database for charges to the merchant ANTHROPIC SAN FRANCISCO (how Console credit purchases show up on a card statement) from Beijing time 2026-08-26 to 2026-11-30. Every decline in that window carried a balance-related reason — "exceeded the monthly transaction amount limit," "exceeded the daily transaction amount limit" or "the value is greater than the maximum single transaction value" — plus one isolated case where the card's expiry date had been entered incorrectly at checkout. Excluding balance and data-entry causes, as we do for all our success-rate figures, the success rate is over 99%.

  • About a third of the cards with this merchant name are also paying a separate Claude subscription charge at the same time (a different merchant name) — the subscription and the API credit purchase are two separate balances on Anthropic's side, and paying for one does not top up the other.
  • The same pattern we see everywhere else applies here too: a top-up usually lands within 5–10 minutes, and buying again before it lands gets declined for the same balance reason — wait for the balance to update, then retry once.

If a credit purchase gets declined on your card, in this order

  1. First tell the two errors apart: a terminal message reading Credit balance is too low is a credit/auth problem, handled by the two sections above. A failed payment when you click Buy credits in Console is a card-side problem — that is what the rest of this section covers.
  2. Look up the card's transaction history with the card number and lookup code. A decline reason mentioning a monthly, daily or maximum single transaction value limit means the card simply does not have enough available right now.
  3. Top up at least the purchase amount plus the usual $1 per-transaction fee, and wait for the top-up to land (usually 5–10 minutes) before buying again — the card number does not change.
  4. Retry the purchase once the balance on the card page has updated. Repeated immediate retries on an unchanged balance just add more declined-attempt fees without changing the outcome.
  5. In a hurry: buy a smaller amount the card can already cover to get the API working again, then buy more once the top-up lands.

About Pink Card (disclosure)

Disclosure: Pink Card, from PinkWallet, is the overseas gift card built for AI subscriptions — a prepaid USD virtual card (Mastercard / Visa) that can be added as a Console payment method to buy API credit, with no official relationship to Anthropic. Pick an amount on pinkcard.cc and pay by Alipay QR code or USDT/USDC; the card number, expiry and CVV usually reach the inbox within 1–2 minutes.

  • Issuance: $10 one-time plus a 3% service fee on (card amount + $10). Preset web amounts start at $50, or a custom amount from $50.
  • Paying in RMB (Alipay) adds a further 3% currency surcharge on top.
  • From the balance: $2.50 per month, and $1 per transaction including declined attempts (capped at 3 declined charges per card per month).
  • Top-ups: $5 plus 5% of (top-up + $5), minimum top-up $30, usually landing on the same card number within 5–10 minutes.

FAQ

Does "Credit balance is too low" mean my card was declined?

No. It means the Claude Console organization's prepaid API credit ran out, or Claude Code is authenticating with an API key instead of your subscription. A declined card is a separate event that shows up as a failed payment when you click Buy credits, with its own reason in the card's transaction history.

I pay for Claude Max — why does Claude Code say my credit balance is too low?

Almost always an ANTHROPIC_API_KEY environment variable left set on the machine. Run /status to see if an API key is in use, unset the variable (and remove it from ~/.zshrc or ~/.bashrc), reopen claude, then /login with your subscription account.

Max gives $100 of API credit a month — why is that not enough?

Per Anthropic's own documentation, that included credit only covers the Claude API, Managed Agents, the Agent SDK and the Console playground — explicitly not Claude Code or extra usage in the Claude apps. If an API key is driving Claude Code, this credit sits unused regardless of balance.

I just bought credit in Console. How soon can I use it?

Anthropic's help article states purchased credit is available immediately. If it still fails, confirm the API key in use belongs to the organization and workspace you funded, and check whether an organization or workspace spend limit you set earlier is blocking it (HTTP 400, or 429 specifically for the Claude Code workspace limit).

My card was declined while buying Console credit. What now?

Check the card's transaction history: on our own cards over the last three months, every decline on this merchant was balance-related. Top up at least the purchase amount plus $1, wait for the top-up to land (usually 5–10 minutes), then retry once rather than repeatedly.

Get a Pink Card

Prepaid virtual card bought with USDT or USDC. No sign-up, details by email about 1–2 minutes after payment.