How to Use DeepSeek API from the US and Europe (2026 Guide)
DeepSeek API Access from Anywhere
No Chinese phone number. No geo-blocking. No friction.
๐ Table of Contents
Why Is DeepSeek Hard to Access from the US and Europe?
DeepSeek R1 and DeepSeek V3 are among the most capable open-weight LLMs available today. They rival GPT-4o and Claude 3.5 Sonnet on many benchmarks โ at a fraction of the cost. DeepSeek R1's reasoning capabilities, in particular, have made it a go-to model for complex problem-solving, code generation, and analytical tasks.
But if you're a developer sitting in San Francisco, London, or Berlin, signing up for DeepSeek's official API is surprisingly difficult. Two main barriers stand in your way:
- Phone Verification โ DeepSeek requires a Chinese mobile phone number (+86) for registration. Most developers outside China don't have one.
- Geographic Restrictions โ DeepSeek's terms of service technically restrict access from certain regions, and their infrastructure is optimized for China-based users, resulting in higher latency from US/EU.
The China Phone Number Problem
DeepSeek's registration flow (platform.deepseek.com) looks straightforward โ email, password, then SMS verification. But there's a catch: the SMS verification only accepts Chinese (+86) phone numbers.
Why does this matter?
- Non-Chinese numbers are rejected โ US, UK, EU, and most international phone numbers are not supported for SMS verification.
- Virtual SMS services don't consistently work โ Services like Google Voice, Twilio, or SMS-activate.net sometimes work but are unreliable. DeepSeek has been known to block virtual numbers.
- Even if you get in, the experience isn't great โ The official API has higher latency from the US/EU, rate limits can be confusing, and documentation is primarily in Chinese.
This is the primary friction point that has driven developers to seek alternatives. Below, we evaluate the three main approaches for accessing DeepSeek from the US and Europe.
Option 1: Direct (Official DeepSeek API)
Pros: Official source, gets updates first, lowest base price per token.
Cons: China phone required, higher latency from US/EU, Chinese-centric support.
# Official DeepSeek API endpoint API_BASE_URL = "https://api.deepseek.com" # Requires Chinese phone (+86) to register # Higher latency from US/EU data centers
If you have a Chinese phone number or can reliably obtain one, this is technically the most direct path. However, many developers find the registration friction and latency issues make it impractical for serious production use outside China.
Option 2: Proxy / Unified API Providers
This is where services like ModelHub, OpenRouter, and Together AI come in. They aggregate DeepSeek (and many other models) behind a single, OpenAI-compatible API endpoint. You sign up with your email, get an API key, and start calling DeepSeek immediately โ no Chinese phone number required.
# ModelHub API โ same endpoint for all models
curl https://api.modelhub-api.com/v1/chat/completions \
-H "Authorization: Bearer $MODELHUB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-r1",
"messages": [{"role": "user", "content": "Hello!"}]
}'
Key advantages of this approach: no phone verification, US/EU-optimized infrastructure (low latency), unlimited model switching, OpenAI-compatible SDK, and typically lower prices than official channels due to competitive pricing and batch inference optimizations.
Option 3: Self-Host DeepSeek
Since DeepSeek R1 and V3 are open-weight models, you can download and run them on your own infrastructure. The model weights are available on Hugging Face.
# Using Ollama (easiest local setup) ollama pull deepseek-r1:7b ollama run deepseek-r1:7b # For the full DeepSeek R1 (671B parameters), you need: # - 4-8x NVIDIA A100 80GB GPUs # - ~$30-50/hour cloud compute cost # - vLLM or SGLang for serving
Pros: Full control, no API costs at scale, no phone or API key dependency.
Cons: The full DeepSeek R1 model (671B parameters) requires significant GPU resources (~$30-50/hour on cloud providers like Lambda Labs or RunPod Running deepseek-r1:7b or 14b distilled versions locally is feasible but doesn't match the full model's capabilities. You're responsible for infrastructure maintenance, scaling, and uptime.
For hobbyists and small-scale use, distilled versions (7B, 14B) running locally are a reasonable option. For production workloads requiring the full model's reasoning capacity, self-hosting is cost-prohibitive unless you're operating at very high volume.
3-Method Comparison Table
| Feature | Official DeepSeek | ModelHub (Proxy) | Self-Host |
|---|---|---|---|
| China Phone Required | โ Yes | โ No โ email only | โ No |
| US/EU Latency | โ High (China servers) | โ Low (US/EU servers) | โ Depends on infra |
| Setup Time | โ 15-30 min | โ 2 min | โ Hours-days |
| Full Model Access | โ Yes | โ Yes | โ Yes (with hardware) |
| Pay-as-you-go | โ Yes | โ Yes | โ Fixed infra cost |
| Free Tier / Trial Credit | โ Limited | โ $50 free credit | โ No |
| Model Selection | โ DeepSeek only | โ 100+ models | โ DeepSeek only |
| OpenAI SDK Compatible | โ Yes | โ Yes | โ If configured |
| Cost per 1M tokens (R1) | ~$2.19 | ~$2.19 | $10-50 (GPU cost) |
| Scalability | โ Easy | โ Easy | โ Manual |
| Best For | China-based users | US/EU devs | High-volume (>100M tok/day) |
Why ModelHub Is the Best Option for US and EU Developers
ModelHub (modelhub-api.com) is a unified API platform that aggregates 100+ open-source and proprietary LLMs โ including DeepSeek R1, DeepSeek V3, Qwen 2.5, Llama 3, Mistral, and more โ behind a single OpenAI-compatible endpoint.
Here's why ModelHub is the preferred choice for developers in the US and Europe:
- No Chinese Phone Required. Sign up with just your email. No SMS verification, no +86 number needed.
- US/EU-Optimized Infrastructure. ModelHub's API servers are deployed in US and European data centers. You get low-latency responses without routing through China.
- Full DeepSeek Access. Access DeepSeek R1 and V3 in full precision. Same model quality as the official API, without the registration headache.
- $50 Free Credit. New users get $50 in free API credits to test and experiment โ no credit card required to get started.
- 100+ Models Under One API Key. Need to switch from DeepSeek to Qwen to Llama? Just change the model name in your API call. One key, one base URL, unlimited models.
- Pricing 50-80% Below OpenAI. DeepSeek R1 at ~$2.19/M tokens vs GPT-4o at ~$15/M tokens for input. DeepSeek V3 is even cheaper.
- OpenAI-Compatible SDK. Drop-in replacement. If you already have code using the OpenAI Python / Node.js SDK, just change the base URL and API key.
Code Examples
Python (OpenAI SDK)
Works with the standard openai Python package โ just change the base URL.
pip install openai
from openai import OpenAI
client = OpenAI(
base_url="https://api.modelhub-api.com/v1",
api_key="your-modelhub-api-key-here"
)
response = client.chat.completions.create(
model="deepseek-r1",
messages=[
{"role": "user", "content": "Explain quantum computing in 3 sentences."}
],
temperature=0.7,
max_tokens=500
)
print(response.choices[0].message.content)
Node.js (OpenAI SDK)
import OpenAI from 'openai';
const client = new OpenAI({
baseURL: 'https://api.modelhub-api.com/v1',
apiKey: 'your-modelhub-api-key-here'
});
const response = await client.chat.completions.create({
model: 'deepseek-v3',
messages: [{ role: 'user', content: 'Write a Python function to sort a list.' }]
});
console.log(response.choices[0].message.content);
Switching Models
ModelHub's power: use the same code, just change the model name.
# DeepSeek R1 โ best for reasoning & math
model: "deepseek-r1"
# DeepSeek V3 โ best for general chat & code
model: "deepseek-v3"
# Qwen 2.5 72B โ Alibaba's top model
model: "qwen-2.5-72b"
# Llama 3 70B โ Meta's workhorse
model: "llama-3-70b"
# Mixtral 8x22B โ Mistral's MoE model
model: "mixtral-8x22b"
Streaming
stream = client.chat.completions.create(
model="deepseek-r1",
messages=[{"role": "user", "content": "Write a story about AI."}],
stream=True
)
for chunk in stream:
if chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="")
FAQ
Is using a proxy like ModelHub legal?
Yes. ModelHub is a legitimate API aggregation service. DeepSeek's models are MIT-licensed / open-weight and can be served by third parties. You are simply making API calls to a US-based service that hosts these models.
Will I get the same quality as the official DeepSeek API?
Yes. ModelHub uses the same model weights and inference configurations as the official API. The responses you get are from the same DeepSeek R1/V3 models โ just served from US/EU infrastructure.
Can I use ModelHub for production workloads?
Absolutely. ModelHub offers 99.9% uptime SLA, rate scaling for high-volume workloads, and enterprise support plans. Many production applications run on ModelHub.
What if I need a specific model that isn't listed?
ModelHub adds new models regularly. Contact support and they can fast-track adding a specific model, especially if it's open-weight and popular.
๐ Start Using DeepSeek from the US/EU Today
No Chinese phone number. No friction. Just great AI models at competitive prices.
Get $50 Free Credit โNo credit card required ยท Sign up in 30 seconds ยท 100+ models