DeepSeek vs Grok API pricing, compared model by model
On 25 September 2026 the cheapest DeepSeek model costs $0.0482 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 | 15 | 7 |
| Cheapest model | DeepSeek V4 Flash 0423, $0.0482 in, $0.0963 out | Grok Build 0.1, $1.00 in, $2.00 out |
| Most expensive model | R1, $0.70 in, $2.50 out | Grok 4.6, $2.00 in, $6.00 out |
| Median input price | $0.27 | $1.25 |
| Median output price | $0.89 | $2.50 |
| Largest context | 1.31072M, DeepSeek V4 Flash 0731 | 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 | $1.60 | $4.80 | $0.40 | 500K | $168.00 | 2026-09-21 | |
| DeepSeek V4.1 Flash | DeepSeek | $0.075 | $0.30 | $0.0015 | $0.112 / $0.336 | 1.04858M | $9.00 | 2026-09-10 |
| DeepSeek V4 Flash Vision Exp | DeepSeek | $0.22 | $0.66 | $0.007 | 1.04858M | $23.10 | 2026-08-21 | |
| DeepSeek V4 Pro 0813 | DeepSeek | $0.3458 | $1.04 | $0.0115 | 1.04858M | $36.31 | 2026-08-12 | |
| Grok 4.6 | xAI | $2.00 | $6.00 | $0.50 | 500K | $210.00 | 2026-08-12 | |
| DeepSeek V4 Flash 0731 | DeepSeek | $0.03 | $0.32 | $0.016 | 1.31072M | $6.60 | 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 | DeepSeek | $0.7129 | $1.43 | $0.0594 | 1.04858M | $64.16 | 2026-04-24 | |
| DeepSeek V4 Flash 0423 | DeepSeek | $0.0482 | $0.0963 | $0.0096 | 1.04858M | $4.33 | 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 retiring 2026-09-28 | DeepSeek | $0.269 | $0.40 | $0.1345 | 164K | $22.14 | 2025-12-01 | |
| DeepSeek V3.2 Exp retiring 2026-09-28 | DeepSeek | $0.27 | $0.41 | 164K | $22.35 | 2025-09-29 | ||
| DeepSeek V3.1 Terminus retiring 2026-09-28 | DeepSeek | $0.27 | $1.00 | $0.135 | 164K | $31.20 | 2025-09-22 | |
| DeepSeek V3.1 | DeepSeek | $0.25 | $0.95 | $0.13 | 164K | $29.25 | 2025-08-21 | |
| R1 0528 | DeepSeek | $0.50 | $2.15 | $0.35 | 164K | $62.25 | 2025-05-28 | |
| DeepSeek V3 0324 | DeepSeek | $0.25 | $1.00 | 164K | $30.00 | 2025-03-24 | ||
| R1 Distill Llama 70B retiring 2026-09-28 | DeepSeek | $0.80 | $0.80 | 8K | $60.00 | 2025-01-23 | ||
| R1 | DeepSeek | $0.70 | $2.50 | 64K | $79.50 | 2025-01-20 | ||
| DeepSeek V3 | DeepSeek | $0.32 | $0.89 | 164K | $32.55 | 2024-12-26 |
All DeepSeek prices . All Grok prices . Every provider
Common questions
Is DeepSeek cheaper than Grok?
On 25 September 2026, the median DeepSeek model on this list costs $0.27 per million input tokens and $0.89 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.0482 in and $0.0963 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.31072M tokens (DeepSeek V4 Flash 0731) 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.