How do I get a DeepSeek API key, and how much does its API cost?
Create the API key at platform.deepseek.com and pay per token with prepaid credit. Prices for deepseek-flash and deepseek-v4-pro, and when to use Dongee AI Router.

Create your API key at platform.deepseek.com, add credit and pay per million tokens: from 0.30 USD for input and 1.20 USD for output with deepseek-flash during peak hours, and half that off-peak. If you want several models with one key and a spending limit per key, Dongee AI Router is OpenAI-compatible, has no monthly fee and offers top-ups from 3 USD.
Updated December 3, 2026 · Dongee Team
DeepSeek API Pricing (USD per 1M tokens)
| deepseek-flash, peak | deepseek-flash, off-peak | deepseek-v4-pro, peak | deepseek-v4-pro, off-peak | |
|---|---|---|---|---|
| Input (cached) | 0.006 | 0.003 | 0.044 | 0.022 |
| Input (not cached) | 0.30 | 0.15 | 1.32 | 0.66 |
| Output | 1.20 | 0.60 | 3.96 | 1.98 |
DeepSeek peak hours are 01:00–04:00 and 06:00–10:00 UTC, Monday through Friday. In Colombia time (UTC-5), that is 8 p.m. to 11 p.m. Sunday through Thursday and 1 a.m. to 5 a.m. Monday through Friday. Source: DeepSeek pricing page, accessed December 3, 2026; DeepSeek may change these prices.
DeepSeek direct key or a router: comparison
| DeepSeek API key | Dongee AI Router | |
|---|---|---|
| Models | Only those from DeepSeek | Dozens of models with a single key |
| Billing | Prepaid balance in DeepSeek | Top-ups from 3 USD, no monthly fee |
| Spending control | Account balance | Spending limit per key and usage by model |
| Compatibility | OpenAI and Anthropic | OpenAI: change the base URL and key |
| Best if… | You will only use DeepSeek | You combine models or need limits per key |
Steps to obtain the API key
- Create your account at platform.deepseek.com.
- Add credit: consumption is deducted from your prepaid balance.
- Create the key in the API keys section (platform.deepseek.com/api_keys) and copy it to a safe place.
- Set up your code: Base URL
https://api.deepseek.comand modeldeepseek-flashordeepseek-v4-pro. - Save the key on the server, not in the browser. See how to set up a chatbot without exposing your API key.
For OpenAI, please see how to get an OpenAI API key. Router details in Dongee AI Router.
Frequently asked questions
Is the DeepSeek API free?
No. You pay by tokens with a prepaid balance. The price depends on the model and the time: outside peak hours it costs half.
What models does the DeepSeek API offer?
As of December 3, 2026: deepseek-flash (served by DeepSeek-V4.1-Flash-1017) and deepseek-v4-pro (DeepSeek-V4-Pro-0813), both with 1M token context.
Is the DeepSeek API compatible with OpenAI?
Yes. Use the base URL https://api.deepseek.com with the OpenAI SDK. It also supports an Anthropic-compatible format.
Does Dongee AI Router give access to DeepSeek?
Check the current model and pricing table in your Dongee customer area before deciding; do not assume DeepSeek is available.
Where do I save the API key?
In an environment variable on your server, never in the browser code or in a public repository.
Comenta lo que quieras
Unete a la charla
Solo ingresa tu email