Drop-in compatible
Already using the OpenAI SDK? Change two lines and you're live on DeepSeek — no new client, no rewrite.
base_url = "https://api.deepseekapi.dev/v1"
api_key = "sk-ds-your-key"
Instant access to DeepSeek's flagship models through a drop-in, OpenAI-compatible proxy. Top up credits, generate a key, and start building — you only pay for what you use.
from openai import OpenAI
client = OpenAI(
api_key="sk-ds-your-key",
base_url="https://api.deepseekapi.dev/v1",
)
resp = client.chat.completions.create(
model="deepseek-chat",
messages=[
{"role": "user",
"content": "Hello, DeepSeek!"},
],
)
print(resp.choices[0].message.content)
Works with the tools you already use
Everything you need to run DeepSeek in production — without rewriting your stack.
Already using the OpenAI SDK? Change two lines and you're live on DeepSeek — no new client, no rewrite.
Top up from $5. No subscription, no surprise invoices — spend only on the tokens you actually use.
Globally routed edge with under 50ms overhead, automatic retries, and failover when upstream is busy.
Real-time spend tracking per key and model, scoped keys per project, instant rotation and spend limits.
Encrypted in transit, rate-limit smoothing, and a 99.9% uptime target so your app stays up.
Both flagship models behind a single consistent interface. Pick the right one per request.

A high-throughput general model for chat, coding, summarization, and retrieval-augmented apps. A large context window and fast responses make it the everyday workhorse.
View in docs
A reasoning-optimized model that thinks step by step before answering — built for math, complex code, and multi-step problems where accuracy matters most.
View in docsCreate an account and top up from $5. Credits never require a subscription.
Create an API key from your dashboard and drop it into your environment.
Set the base URL to our endpoint and call DeepSeek with the SDK you already use.
Buy a credit pack, spend it on any model. Top up more, get more bonus credit.
For testing and side projects.
For production apps and teams.
For high-volume workloads.
| Model | Input / 1M tokens | Output / 1M tokens |
|---|---|---|
| deepseek-chat (V3) | $0.28 | $0.42 |
| deepseek-reasoner (R1) | $0.56 | $1.68 |
Indicative rates for illustration. See your dashboard for live pricing.
No. deepseekapi.dev is an authorized reseller that resells access to the DeepSeek API. The DeepSeek models are created and operated by DeepSeek. For DeepSeek's own first-party products and apps, visit deepseek.com.
Immediately. After you top up credits and generate a key, you can make your first API call in minutes — no waitlist or approval step.
Yes. The endpoint mirrors the OpenAI Chat Completions schema, so most existing SDKs and tools work by changing only the base URL and API key.
Prepaid credits are valid for 12 months from purchase, and you'll get spend alerts before your balance runs low.
Requests are proxied over encrypted connections and we don't sell your data. See our Privacy Policy for full detail.
Yes — on the Scale plan we support invoicing and wire payment. Contact us to set it up.
Top up from $5, get an instant API key, and ship your first DeepSeek-powered feature this afternoon.
Get your API key