DeepSeek R1 API pricing
DeepSeek R1 costs $0.55 per million input tokens and $2.19 per million output tokens on the DeepSeek API, and $0.14 per million cached input tokens. Context window: 66k tokens. Updated .
| Price per 1M tokens | US dollars |
|---|---|
| Input | $0.55 |
| Cached input | $0.14 |
| Output | $2.19 |
What it costs in practice
- One chat or extraction call (2,000 tokens in, 500 out): $0.0022
- 1,000 such calls: $2.19
- 1 million tokens at a typical 80% input / 20% output mix: $0.878
Abilities: tool use, reasoning. Batch, long-context, priority and regional prices differ; check the full table and the provider’s own pricing page before you commit.
Cheapest alternatives from other providers
| Model | Input | Output | Context | Typical call ×1,000 |
|---|---|---|---|---|
| Qwen Turbo Alibaba (Qwen) | $0.050 | $0.20 | 129k | $0.20 |
| GPT-5 nano OpenAI | $0.050 | $0.40 | 272k | $0.30 |
| Gemini 2.5 Flash Lite Google | $0.10 | $0.40 | 1.0M | $0.40 |
| Claude Haiku 5.5 Anthropic | $0.10 | $0.50 | 1M | $0.45 |
| GPT-6 luna OpenAI | $0.10 | $0.50 | 922k | $0.45 |
| Qwen3.8 Flash Alibaba (Qwen) | $0.15 | $0.47 | 992k | $0.54 |
Other DeepSeek models
| Model | Input | Output | Context | Typical call ×1,000 |
|---|---|---|---|---|
| DeepSeek Coder DeepSeek | $0.14 | $0.28 | 128k | $0.42 |
| DeepSeek V3.2 DeepSeek | $0.28 | $0.40 | 164k | $0.76 |
| DeepSeek V3 DeepSeek | $0.27 | $1.10 | 66k | $1.09 |
| DeepSeek Flash DeepSeek | $0.30 | $1.20 | 1M | $1.20 |
| DeepSeek V4 Flash DeepSeek | $0.30 | $1.20 | 1M | $1.20 |
| DeepSeek V4 Flash Vision Exp DeepSeek | $0.30 | $1.20 | 1M | $1.20 |
Questions
How much does DeepSeek R1 cost?
DeepSeek R1 costs $0.55 per million input tokens and $2.19 per million output tokens on the DeepSeek API; cached input is $0.14 per million. A typical call with 2,000 tokens in and 500 out costs about $0.0022.
What is the context window of DeepSeek R1?
DeepSeek R1 accepts up to 65,536 input tokens and returns up to 8,192 output tokens.
Is there a cheaper alternative to DeepSeek R1?
For a typical call, Qwen Turbo (Alibaba (Qwen), $0.0002 per call), GPT-5 nano (OpenAI, $0.0003 per call), Gemini 2.5 Flash Lite (Google, $0.0004 per call) cost less and also support tool use, reasoning. Quality differs, so test on your own prompts.
Source: the open LiteLLM model price map (MIT), checked daily (data file).