How to Get a DeepSeek API Key Without a Chinese Phone Number

Sep 15, 2026 · #deepseek#api#tutorial#ai

# How to Get a DeepSeek API Key Without a Chinese Phone Number

The models are open-weight. The API is not open-access. That gap is where most non-Chinese developers get stuck, and it has nothing to do with your coding ability.

If you have tried to sign up for DeepSeek's own platform from outside China, you already know the wall: registration expects a mainland phone number, and billing expects a mainland payment method. A card issued in Jakarta or Lagos is not a path through that.

So here are the four routes that actually exist, what each one costs you, and how to pick.

Route 1: The official platform

What it is: direct access, cheapest per token, first-party.

What it requires: a Chinese phone number for registration and a Chinese payment method for top-ups. If you have a colleague or relative in mainland China who can help you register and top up, this is the best route and nothing else on this list beats it on price.

The catch: you are dependent on someone else's account, and topping up remains awkward forever. For a side project this is usually more friction than it is worth.

Route 2: Western aggregators

What it is: OpenRouter and similar. One API key, many models, card billing.

What it requires: a working international card — which is the original problem. The aggregator solves the model-access problem, not the payment problem.

The catch: you pay a margin on top of the model price, and if your card was being declined by DeepSeek it will usually be declined here too. It is a good product aimed at a different user.

Route 3: Self-hosting

What it is: run the model yourself. The weights are downloadable.

What it requires: real hardware. A quantised mid-size model runs acceptably on a single 24GB card; anything approaching the hosted quality needs multiple GPUs and a serious power bill.

The catch: you trade a token bill for capex plus operations. That is a legitimate trade for some teams and a trap for most side projects. It also does not remove the payment problem — you still have to buy the GPU.

Route 4: An OpenAI-compatible gateway

What it is: a service that holds the upstream relationship and sells you access through a standard OpenAI-format endpoint. You change one config value and your existing code works.

What it requires: any payment rail you can actually use. That is the entire point — this is the route that exists because routes 1 and 2 both assume something you might not have.

The catch: you are paying a margin, and you are trusting a third party with your traffic. Both are real costs. Read the section below before picking one.

If you go with a gateway: the setup

1. Create an account. At api.lbase.com/register it is email and password. You get $2 of free credit, no card required. That is enough to measure real latency and output quality on your own workload before you spend anything.

2. Create an API key — and pick a group. This is the step that trips up almost everyone. A key that is not assigned to a group returns API Key is not assigned to any group on every request, and the error reads like the service is broken. It is not. It is a required field on a form.

3. Point your client at the base URL. Nothing else in your code changes:

from openai import OpenAI

client = OpenAI(
    api_key="sk-...",
    base_url="https://api.lbase.com/v1"
)

r = client.chat.completions.create(
    model="deepseek-flash",
    messages=[{"role": "user", "content": "hello"}]
)
print(r.choices[0].message.content)

It works the same way in Cursor, Cline, Aider, Continue, Dify, LangChain, Cherry Studio and Open WebUI — the docs have copy-paste configs for each.

4. Measure before you commit. Run 50 requests on a realistic prompt mix from your actual location, with streaming enabled, and record p50 and p95. A benchmark from someone else's datacenter tells you nothing about your connection.

The questions that separate a good gateway from an expensive lesson

Ask any provider these five before you put money in:

The honest summary

If you can use the official platform, use it — it is cheaper and it is first-party. If you cannot, you are choosing between an aggregator that still wants a card, self-hosting that wants a GPU, and a gateway that wants a margin.

Pick based on which of those three costs you can actually pay, not on which headline token price is lowest. And whatever you pick, keep a second option configured. A single provider's billing outage should not be able to take your project offline.


NovaAPI is a reseller, not DeepSeek. We run on a single node in Hong Kong, so treat uptime as best-effort and keep a fallback configured for anything production. We do not store prompt contents beyond what billing and abuse prevention require.