How to buy a Claude API key
If you want to buy a Claude API key without an Anthropic account, an invite, or a company card, the whole process takes about five minutes: create an account, top up a prepaid balance by card or crypto, and generate a key. That key calls the same Anthropic Messages API as one issued by Anthropic itself — Opus, Sonnet and Haiku included — at a flat 50% off official spend. Below is the exact purchase flow, the billing math, and the endpoints to point your tools at.
·
The five-minute purchase: account, balance, key
Buying a Claude API key on apiToken.sale is three moves: sign up, top up a prepaid balance, click generate. The key is active on the very next request — no waitlist, no manual review, and no Anthropic account or approval at any point in the flow.
- 01Create an account with Google, GitHub, or email and password. Accounts created with Google or GitHub start with $5 of platform bonus credit, valid on supported Claude, GPT, Gemini and Kimi models; email/password accounts do not receive the bonus.
- 02Top up any whole-dollar amount — there is no fixed product catalog and no minimum plan. Pay by bank card or with cryptocurrency through a secure checkout provider.
- 03Open the dashboard and generate an API key. It looks like sk-pool-••• and works immediately; the same key also covers the supported GPT, Gemini and Kimi models on the platform.
- 04Verify the key with one request (the curl at the end of this guide). A 200 with real output means you are done; a 401 means the key or the header name is wrong.
See also: Claude API quickstart: set up and make your first call
No Anthropic account, invite, or company card
Buying direct from Anthropic means an Anthropic account, and for many buyers that is the blocker: the signup, the approval, the card requirement. apiToken.sale replaces that entire layer — it issues its own key and its own prepaid balance, so the only things you need are an email address (or a Google/GitHub login) and a way to pay.
What you get in return is not a clone or a rerouted third-party model. The gateway serves the same Anthropic Messages API and the same Claude models, and your requests behave the same way. Only three things differ from buying direct: the price per call, how you sign up, and how you pay.
One key, every Claude model — and three protocols
The key is not tied to one model or one tool. A single balance covers the full supported Claude line, each under its standard model ID:
- Claude Opus 4.8 (claude-opus-4-8) and Opus 4.7
- Claude Sonnet 5 (claude-sonnet-5) and Sonnet 4.6
- Claude Haiku 4.5 (claude-haiku-4-5)
The Anthropic lane serves the Messages API unchanged: SSE streaming, tool use and system prompts behave exactly as they do against Anthropic's own endpoint. What changes from client to client is only the protocol lane you point at — all three share the same key and the same balance:
| Protocol lane | Endpoint | Auth header |
|---|---|---|
| Anthropic Messages (Claude, Kimi) | https://router.apitoken.sale/v1/messages | x-api-key |
| OpenAI-compatible (GPT and OpenAI-shaped clients) | https://router.apitoken.sale/v1 | Authorization: Bearer |
| Native Gemini | https://router.apitoken.sale | x-goog-api-key |
Because the wire format is stock Anthropic, the key drops into every Anthropic-compatible tool with no plugin or proxy: Claude Code, Cursor, Cline, Continue, Zed and the official Anthropic SDKs. Nothing about the protocol changes; only the price does.
Prepaid balance math: how the 50% discount is applied
There is no subscription and no monthly fee. Your balance is prepaid, never expires, and is spent only when API requests run — idle weeks cost nothing. Billing works in three steps on every call:
- The request is metered at official Anthropic token rates first.
- Your active discount is subtracted: B2C accounts get a flat 50% off official spend on every request.
- The net amount is drawn from your prepaid balance — so $50 of balance covers $100 of official-rate usage.
When the balance runs out, requests fail with an insufficient-balance error until you top up again — there is no overdraft and no surprise charge to your card.
Pointing Claude Code, Cursor and the SDKs at your key
Every Anthropic-compatible client needs exactly two values changed: the base URL and the credential. Prompts, streaming code and tool definitions stay as they are. For Claude Code and other shell-driven agents, export the two environment variables:
export ANTHROPIC_BASE_URL=https://router.apitoken.sale export ANTHROPIC_AUTH_TOKEN=sk-pool-•••
The official SDKs take the same two arguments:
import anthropic
client = anthropic.Anthropic(
base_url="https://router.apitoken.sale",
api_key="sk-pool-•••",
)In Cursor, Cline, Continue and Zed the same two fields live in the provider settings — for example Cursor → Settings → Models → Anthropic API. Paste the key, set the base URL to https://router.apitoken.sale, pick a model such as claude-opus-4-8, and requests flow through your prepaid balance with the discount applied.
If a client only offers an "OpenAI-compatible" provider type, use https://router.apitoken.sale/v1 with an Authorization: Bearer header instead — the x-api-key header belongs to the Anthropic Messages lane.
Verify the purchase with one request
Before you wire the key into a big project, send one minimal call. It costs a fraction of a cent and proves the whole chain — key, balance, endpoint — end to end:
curl https://router.apitoken.sale/v1/messages \
-H "x-api-key: sk-pool-•••" \
-H "anthropic-version: 2023-06-01" \
-H "content-type: application/json" \
-d '{
"model": "claude-haiku-4-5",
"max_tokens": 64,
"messages": [{"role":"user","content":"ping"}]
}'- 401 Unauthorized — the key is missing or mistyped, the header is not x-api-key, or the base URL is wrong.
- 400 Bad Request — check the model ID (for example claude-haiku-4-5) and that max_tokens is set. If error.details.error_code is documented_limitation or unsupported_parameter, omit the named field.
- 402 billing_error — the balance is empty; top up any whole-dollar amount. error.type is billing_error, not invalid_request_error.
- 429 Too Many Requests — respect the Retry-After header and lower concurrency.
Frequently asked questions
Do I need an Anthropic account to buy a Claude API key?
No. apiToken.sale issues its own key and prepaid balance, so you can start without an Anthropic account, an invite, or approval — and there is no company-card requirement either.
How fast is the key active after purchase?
Instantly. You generate the key in the dashboard and it works on the next request — there is no waitlist or manual review.
What is the minimum I can spend to start?
Top-ups are any whole-dollar amount, so you can start with a few dollars. New accounts created with Google or GitHub also get $5 of platform bonus credit.
Can I pay for a Claude API key with cryptocurrency?
Yes. Checkout accepts bank cards and cryptocurrency through a secure payment provider, and the topped-up balance never expires.
Is this the official Claude API?
Yes — it serves the same Anthropic Messages API and the same Claude models, including streaming and tool use. Only the price, and the way you sign up and pay, are different.
Try it before you pay: new Google/GitHub accounts include $5 of platform bonus credit.