All posts

How to access the DeepSeek API outside China (no Chinese phone, pay with card)

· DeepSeek· API· Guide

DeepSeek's models are among the most capable and cost-efficient you can call today. The catch, if you're outside mainland China, is getting reliable API access in the first place. Here are the real blockers and the fastest way around them.

Why direct access is hard from outside China

Try to use a Chinese model provider directly and you tend to hit the same three walls:

  • Registration usually wants a mainland Chinese phone number for verification.
  • Payment runs on Alipay and WeChat Pay, which most developers abroad can't use.
  • Docs and dashboards are China-first, and billing and quotas are hard to reason about from outside.

None of this is about the model. It's account and payment friction. The model works fine; the on-ramp is what stops you.

The fastest path: a relay with an OpenAI-compatible endpoint

The simplest fix is to call DeepSeek through a relay that already holds the upstream access and exposes a standard OpenAI-compatible endpoint. You bring an international card, top up a balance, and call the API the way you'd call OpenAI: point the base URL at the relay and pick a DeepSeek model.

Turiloop gives you:

  • International card payment, with no Chinese phone number or Alipay.
  • One OpenAI-compatible API for DeepSeek, Qwen, Kimi, GLM, MiniMax and more.
  • Pay-as-you-go billing: top up a balance, spend only what you use.

Call it in three steps

Create a key and top up at turiloop.com, then point any OpenAI SDK at the gateway base URL:

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["TURILOOP_API_KEY"],
    base_url="https://api.turiloop.com/v1",
)

resp = client.chat.completions.create(
    model="deepseek-v4-pro",
    messages=[{"role": "user", "content": "Explain quicksort in one paragraph."}],
)
print(resp.choices[0].message.content)

The same works from Node, or with a raw curl:

curl https://api.turiloop.com/v1/chat/completions \
  -H "Authorization: Bearer $TURILOOP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "deepseek-v4-pro", "messages": [{"role": "user", "content": "Hello"}]}'

Since the endpoint is OpenAI-compatible, switching models later is a one-line change: swap the model field, and your keys, quota and billing stay put.

Frequently asked questions

Do I need a Chinese phone number? No. You register and pay with international methods.

Is it really OpenAI-compatible? Yes. /v1/chat/completions, /v1/messages and /v1/models follow the OpenAI request and response shape, so existing SDKs work unchanged.

Which models can I reach? DeepSeek, Qwen, Kimi, GLM, MiniMax and other top models, all through the same key.

Create a key on Turiloop and make your first DeepSeek call.