DeepSeek vs Grok API pricing, compared model by model
On 10 October 2026 the cheapest DeepSeek model costs $0.035 per million input tokens against $1.00 for the cheapest Grok model, and the typical DeepSeek model is the cheaper of the two.
| DeepSeek (DeepSeek) | Grok (xAI) | |
|---|---|---|
| Models listed | 14 | 7 |
| Cheapest model | DeepSeek V4 Flash 0423, $0.035 in, $0.17 out | Grok Build 0.1, $1.00 in, $2.00 out |
| Most expensive model | DeepSeek V4 Pro 0423, $0.45 in, $3.48 out | Grok 4.7, $2.00 in, $6.00 out |
| Median input price | $0.27 | $1.25 |
| Median output price | $1.00 | $2.50 |
| Largest context | 1.05M, DeepSeek V4.1 Flash | 2M, Grok 4.20 Multi-Agent |
| Newest model | DeepSeek V4.1 Flash, 2026-09-10 | Grok 4.7, 2026-09-21 |
| Models with a batch price | 1 | 1 |
Every model, with your monthly cost
| Model | Provider | Input | Output | Cached input | Batch in / out | Context | Your month | Listed |
|---|---|---|---|---|---|---|---|---|
| Grok 4.7 | xAI | $2.00 | $6.00 | $0.50 | 500K | $210.00 | 2026-09-21 | |
| DeepSeek V4.1 Flash | DeepSeek | $0.15 | $0.60 | $0.003 | $0.112 / $0.336 | 1.05M | $18.00 | 2026-09-10 |
| DeepSeek V4 Flash Vision Exp DeepInfra, cheapest of 3 hosts | DeepSeek | $0.44 | $1.32 | $0.014 | 1.05M | $46.20 | 2026-08-21 | |
| DeepSeek V4 Pro 0813 | DeepSeek | $0.66 | $1.98 | $0.022 | 1.05M | $69.30 | 2026-08-12 | |
| Grok 4.6 | xAI | $2.00 | $6.00 | $0.50 | 500K | $210.00 | 2026-08-12 | |
| DeepSeek V4 Flash 0731 OpenInference, cheapest of 24 hosts | DeepSeek | $0.0059 | $0.27 | $0.0043 | 1.05M | $4.41 | 2026-07-31 | |
| Grok 4.5 | xAI | $2.00 | $6.00 | $0.30 | 500K | $210.00 | 2026-07-08 | |
| Grok Build 0.1 | xAI | $1.00 | $2.00 | $0.20 | 256K | $90.00 | 2026-05-20 | |
| Grok 4.3 | xAI | $1.25 | $2.50 | $0.20 | $1.00 / $2.00 | 1M | $112.50 | 2026-04-30 |
| DeepSeek V4 Pro 0423 Parasail, cheapest of 15 hosts | DeepSeek | $0.45 | $3.48 | $0.10 | 1.05M | $79.20 | 2026-04-24 | |
| DeepSeek V4 Flash 0423 Wafer, cheapest of 16 hosts | DeepSeek | $0.035 | $0.17 | $0.013 | 1.05M | $4.65 | 2026-04-24 | |
| Grok 4.20 Multi-Agent | xAI | $1.25 | $2.50 | $0.20 | 2M | $112.50 | 2026-03-31 | |
| Grok 4.20 | xAI | $1.25 | $2.50 | $0.20 | 2M | $112.50 | 2026-03-31 | |
| DeepSeek V3.2 DeepInfra, cheapest of 12 hosts | DeepSeek | $0.26 | $0.38 | $0.13 | 164K | $21.30 | 2025-12-01 | |
| DeepSeek V3.2 Exp served by SiliconFlow | DeepSeek | $0.27 | $0.41 | 164K | $22.35 | 2025-09-29 | ||
| DeepSeek V3.1 Terminus SiliconFlow, cheapest of 2 hosts | DeepSeek | $0.27 | $1.00 | 164K | $31.20 | 2025-09-22 | ||
| DeepSeek V3.1 DeepInfra, cheapest of 5 hosts | DeepSeek | $0.25 | $0.95 | $0.13 | 164K | $29.25 | 2025-08-21 | |
| R1 0528 DeepInfra, cheapest of 4 hosts | DeepSeek | $0.50 | $2.15 | $0.35 | 164K | $62.25 | 2025-05-28 | |
| DeepSeek V3 0324 SiliconFlow, cheapest of 2 hosts | DeepSeek | $0.25 | $1.00 | 164K | $30.00 | 2025-03-24 | ||
| R1 served by Novita | DeepSeek | $0.70 | $2.50 | 64K | $79.50 | 2025-01-20 | ||
| DeepSeek V3 StreamLake, cheapest of 2 hosts | DeepSeek | $0.286 | $1.14 | 164K | $34.30 | 2024-12-26 |
All DeepSeek prices . All Grok prices . Every provider
Common questions
Is DeepSeek cheaper than Grok?
On 10 October 2026, the median DeepSeek model on this list costs $0.27 per million input tokens and $1.00 per million output tokens, against $1.25 and $2.50 for Grok. By that measure DeepSeek is cheaper, but compare the specific models you would use, since both providers sell models at very different price points.
What is the cheapest DeepSeek model compared with the cheapest Grok model?
The cheapest DeepSeek model is DeepSeek V4 Flash 0423 at $0.035 in and $0.17 out per million tokens. The cheapest Grok model is Grok Build 0.1 at $1.00 in and $2.00 out.
Which has the larger context window, DeepSeek or Grok?
The largest DeepSeek context on this list is 1.05M tokens (DeepSeek V4.1 Flash) and the largest Grok context is 2M tokens (Grok 4.20 Multi-Agent).
How should I choose between DeepSeek and Grok for a production agent?
Price per token is one input. Run both on a set of your own real cases, count how often each needs a retry or a human check, and compare the total cost of a correct answer rather than the cost of a token.
Choosing a model for a production agent
Price is one input. Quality on your own cases, latency and the cost of retries decide the rest. Tell me what you are building.