DeepSeek V4 vs Grok 4

DeepSeek V4 is cheaper on input ($0.40 vs $5.00 per 1M tokens).

SpecDeepSeek V4Grok 4
ProviderDeepSeekxAI
ModalityTextText + Vision
Context window256K256K
Input / 1M$0.40best$5.00
Output / 1M$1.20best$15.00
ReleasedJan 2026Dec 2025
Best forCode generation, Chat / Assistant, High-volume / cheapChat / Assistant, Code generation, Image / Vision

FAQ

Is DeepSeek V4 cheaper than Grok 4?
DeepSeek V4 is cheaper, at $0.40 per 1M input tokens versus $5.00.
Which has the larger context window, DeepSeek V4 or Grok 4?
Both support 256K tokens of context.

More comparisons