How to Add Credits to the Anthropic / Claude API When Your Card Is Declined (2026)
Hitting 'Add credits' in the Anthropic Console and watching your card get declined? Here's why it fails, how Claude API billing actually works (prepaid credits), and the two fixes that work.
1. The API is not the same as a subscription
A claude.ai subscription covers the web app and Claude Code usage. The API (console.anthropic.com) is a developer interface billed per token. To build apps, run batch jobs, or power an agent you must use the API, which has its own credit balance and card on file.
2. What you need
Two things: access to console.anthropic.com, and a card that Anthropic will accept. In many countries a local card is declined at checkout, which is exactly the gap a US-issued virtual card fills.
3. Add a card and top up credits
Open Console then Settings then Billing, add your cocodot card, then use Add credits to load your balance (starting with $5 to confirm the card works is a good idea). Credits are usable the moment they post, and you can call the API right away.
4. Pick the right model to save money
Use Sonnet or Haiku for everyday tasks and Opus for the hard problems. Turning on prompt caching cuts a large share of repeated-context cost. Set a spend limit to avoid runaway usage — and your card balance acts as a natural cap on top of that.
5. Common issues
If a card is declined, confirm it has not expired and that the billing address is complete. If credits do not appear, check the invoice status on the Billing page. Need a receipt for accounting? You can download invoices directly from the Console.
Can't add Claude API credits: which fix is for you
| ① Add credits via official Console | ② Call Claude through a relay | |
|---|---|---|
| Best for | You need the official account, invoices or SLA | You just need Claude working in your code |
| How you pay | Issue a US Visa virtual card → Console → Add credits | Fund the balance directly — no card |
| Account | Your own official Anthropic account | Relay account — still the official models underneath |
| Network | Direct access from China is unstable; still your problem | Direct route, no VPN |
| Setup cost | Issue a card, then the official card-on-file flow | Change one base_url (OpenAI-compatible) |