Use DeepSeek API without a Chinese phone number
DeepSeek’s native platform often requires Chinese mobile verification and local payment methods. That blocks many overseas developers even when they only want an OpenAI-compatible endpoint.
Three paths
- Official account — if you can complete local verification and Alipay/WeChat billing.
- Cloud hosts — third-party clouds that serve DeepSeek weights (pricing and versions vary).
- API gateway (recommended for most apps) — keep your SDK; change
base_url.
Gateway setup with ChinaSo
from openai import OpenAI
client = OpenAI(api_key="YOUR_KEY", base_url="https://api.chinaso.org/v1")
print(client.chat.completions.create(
model="deepseek-chat",
messages=[{"role":"user","content":"ping"}],
).choices[0].message.content)
No Chinese SIM. English console. Prepaid balance.