DeepSeek API

Call DeepSeek V4.1 Flash, V4 Pro and V3.2 with one Solo Router key. Pay per token from prepaid credit. No Chinese phone number, no separate DeepSeek account.

DeepSeek models and pricing

ModelContextInput / 1MOutput / 1MCached / 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.26$4.52$0.45
DeepSeek V4 Pro (0813)
deepseek/deepseek-v4-pro-0813
1M $1.72$5.15$0.057
DeepSeek V4 Flash
deepseek/deepseek-v4-flash
1M $0.18$0.36$0.036
DeepSeek V4 Flash (0731)
deepseek/deepseek-v4-flash-0731
1M $0.18$0.36$0.036
DeepSeek V3.2
deepseek/deepseek-v3.2
164K $0.65$2.08$0.20

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.

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 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 to try any model.

Get started free

Also on Solo Router: Kimi API · Qwen API · GLM API · MiniMax API · Llama API · Gemma API · all models