DeepSeek API
The DeepSeek API on Solo Router: call DeepSeek V4.1 Flash, V4 Pro and V3.2 with one key. Pay per token from prepaid credit. No separate DeepSeek account, no extra billing setup.
DeepSeek models and pricing
| Model | Context | Input / 1M | Output / 1M | Cached / 1M |
|---|---|---|---|---|
DeepSeek V4.1 Flash deepseek/deepseek-v4.1-flash |
1M | $0.39 | $1.56 | $0.008 |
DeepSeek V4.1 Flash (1017) deepseek/deepseek-v4.1-flash-1017 |
1M | $0.39 | $1.56 | $0.008 |
DeepSeek V4 Pro deepseek/deepseek-v4-pro |
1M | $2.262 | $4.524 | $0.452 |
DeepSeek V4 Pro (0813) deepseek/deepseek-v4-pro-0813 |
1M | $1.716 | $5.148 | $0.057 |
DeepSeek V4 Flash deepseek/deepseek-v4-flash |
1M | $0.182 | $0.364 | $0.036 |
DeepSeek V4 Flash (0731) deepseek/deepseek-v4-flash-0731 |
1M | $0.182 | $0.364 | $0.036 |
DeepSeek V3.2 deepseek/deepseek-v3.2 |
164K | $0.65 | $2.08 | $0.195 |
USD per million tokens. Billed from prepaid credit; every response reports its exact cost.
Quick start
curl https://solorouter.ai/api/v1/chat/completions \ -H "Authorization: Bearer $SOLO_KEY" \ -H "Content-Type: application/json" \ -d '{"model": "deepseek/deepseek-v4.1-flash", "messages": [{"role": "user", "content": "Hello"}]}'
Works with LangChain, Cline, Continue, Open WebUI and any tool that lets you set a base URL: use https://solorouter.ai/api/v1. See the docs.
How to get your DeepSeek API key
- Sign in with Google. New accounts get free credit (one per person).
- Copy the API key created for you on the Keys page, or create one with its own spending limit.
- Send requests to
https://solorouter.ai/api/v1/chat/completionswith"model": "deepseek/deepseek-v4.1-flash". Top up from $5 when you need more.
Why use DeepSeek through Solo Router
- One key for every model: switch between DeepSeek, DeepSeek, GLM, Kimi, Qwen and more by changing the model string.
- Prepaid, no surprises: each request reserves its cost first, every response reports its exact price, and keys can have spending limits.
- Works with your tools: LangChain, Cline, Continue, Open WebUI and anything that accepts a base URL.
- Private: we do not store your prompts or responses.
Related guides
- How to get a DeepSeek API key
- DeepSeek API pricing with cost examples
- The cheapest LLM APIs right now
- Free LLM API options (and their limits)
- Solo Router as an OpenRouter alternative
Frequently asked questions
How do I get a DeepSeek API key?
Sign in to Solo Router with Google, open the Keys page and create a key. The same key works for every DeepSeek model and every other model we list. New accounts get free credit (one per person) to test.
How much does the DeepSeek API cost?
Prices are per million tokens and shown in the table above. You only pay for tokens you use; there is no monthly fee.
Is the DeepSeek API compatible with my existing code?
Yes. Solo Router uses the standard chat-completions format, so tools such as LangChain, Cline, Continue or Open WebUI work by setting our base URL and your key.
Which DeepSeek model should I use?
DeepSeek V4.1 Flash is the best default: fast, cheap, 1M-token context and reasoning. V4 Pro is stronger on hard tasks. V4 Flash (0731) is the cheapest.
Get your API key in 30 seconds
Sign in with Google. New accounts get free credit (one per person) to try the models.
Get started freeAlso on Solo Router: Kimi API · Qwen API · GLM API · MiniMax API · Llama API · Gemma API · all models