Alexey Shurov.
Free tool

DeepSeek vs Grok API pricing, compared model by model

On 10 November 2026 the cheapest DeepSeek model, DeepSeek V4 Flash 0731, costs $0.07 per million input tokens against $1.00 for the cheapest xAI model, Grok Build 0.1, and the typical DeepSeek model is the cheaper of the two.

Prices checked 10 November 2026 at 06.00 UTC . Source OpenRouter public model list . US dollars per million tokens

At a glance

DeepSeek (DeepSeek)Grok (xAI)
Models listed147
Cheapest modelDeepSeek V4 Flash 0731, $0.07 in, $0.14 outGrok Build 0.1, $1.00 in, $2.00 out
Most expensive modelDeepSeek V4 Pro 0423, $0.90 in, $1.50 outGrok 4.7, $2.00 in, $6.00 out
Median input price$0.265$1.25
Median output price$0.92$2.50
Largest context1.05M, DeepSeek V4.1 Flash 10172M, Grok 4.20 Multi-Agent
Newest modelDeepSeek V4.1 Flash 1017, 2026-10-17Grok 4.7, 2026-09-21
Models with a batch price33

Every model, with your monthly cost

ModelProviderInputOutputCached inputBatch in / outContextYour monthListed
DeepSeek V4.1 Flash 1017DeepSeek$0.15$0.60$0.003$0.011 / $0.201.05M$18.002026-10-17
Grok 4.7xAI$2.00$6.00$0.50$1.60 / $4.80500K$210.002026-09-21
DeepSeek V4.1 Flash
Relace, cheapest of 30 hosts
DeepSeek$0.006$0.50$0.005$0.112 / $0.3361.05M$7.862026-09-10
DeepSeek V4 Flash Vision Exp
DeepInfra, cheapest of 2 hosts
DeepSeek$0.44$1.32$0.0141.05M$46.202026-08-21
DeepSeek V4 Pro 0813DeepSeek$0.66$1.98$0.0221.05M$69.302026-08-12
Grok 4.6xAI$2.00$6.00$0.50$1.60 / $4.80500K$210.002026-08-12
DeepSeek V4 Flash 0731
Relace, cheapest of 24 hosts
DeepSeek$0.07$0.14$0.014$0.048 / $0.1441.05M$6.302026-07-31
Grok 4.5xAI$2.00$6.00$0.30500K$210.002026-07-08
Grok Build 0.1xAI$1.00$2.00$0.20256K$90.002026-05-20
Grok 4.3xAI$1.25$2.50$0.20$1.00 / $2.001M$112.502026-04-30
DeepSeek V4 Pro 0423
Relace, cheapest of 12 hosts
DeepSeek$0.90$1.50$0.251.05M$76.502026-04-24
DeepSeek V4 Flash 0423
DeepInfra, cheapest of 13 hosts
DeepSeek$0.09$0.18$0.0181.05M$8.102026-04-24
Grok 4.20 Multi-AgentxAI$1.25$2.50$0.202M$112.502026-03-31
Grok 4.20xAI$1.25$2.50$0.202M$112.502026-03-31
DeepSeek V3.2
DeepInfra, cheapest of 7 hosts
DeepSeek$0.26$0.38$0.13164K$21.302025-12-01
DeepSeek V3.2 Exp
served by SiliconFlow
DeepSeek$0.27$0.41164K$22.352025-09-29
DeepSeek V3.1 Terminus
served by SiliconFlow
DeepSeek$0.27$1.00164K$31.202025-09-22
DeepSeek V3.1
DeepInfra, cheapest of 4 hosts
DeepSeek$0.25$0.95$0.13164K$29.252025-08-21
R1 0528
DeepInfra, cheapest of 3 hosts
DeepSeek$0.50$2.15$0.35164K$62.252025-05-28
DeepSeek V3 0324
SiliconFlow, cheapest of 2 hosts
DeepSeek$0.25$1.00164K$30.002025-03-24
DeepSeek V3
DeepInfra, cheapest of 2 hosts
DeepSeek$0.32$0.89164K$32.552024-12-26

All DeepSeek prices . All Grok prices . Every provider

Common questions

Is DeepSeek cheaper than Grok?

On 10 November 2026, the median DeepSeek model on this list costs $0.265 per million input tokens and $0.92 per million output tokens, against $1.25 and $2.50 for xAI. 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 on this list is DeepSeek V4 Flash 0731 at $0.07 in and $0.14 out per million tokens. The cheapest xAI 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 1017) 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.

shurco.aiGuidesFree toolsSolutionsInsightsWork with meRSSllms.txt