Comprehensive side-by-side LLM comparison
Grok-4 leads with 25.3% higher average benchmark score. DeepSeek-V3.1 offers 63.7K more tokens in context window than Grok-4. DeepSeek-V3.1 is $16.73 cheaper per million tokens. Grok-4 supports multimodal inputs. Overall, Grok-4 is the stronger choice for coding tasks.
DeepSeek
DeepSeek-V3.1 was developed as an incremental advancement over DeepSeek-V3, designed to refine the mixture-of-experts architecture with improved training techniques. Built to enhance quality and efficiency while maintaining the open-source philosophy, it represents continued iteration on DeepSeek's flagship model line.
xAI
Grok 4 represents the fourth generation of xAI's language models, developed to continue advancing the frontier of AI reasoning and knowledge. Built to handle increasingly complex tasks with enhanced reliability, it demonstrates xAI's commitment to pushing AI capabilities forward.
6 months newer

DeepSeek-V3.1
DeepSeek
2025-01-10

Grok-4
xAI
2025-07-09
Cost per million tokens (USD)

DeepSeek-V3.1

Grok-4
Context window and performance specifications
Average performance across 4 common benchmarks

DeepSeek-V3.1

Grok-4
Grok-4
2024-12-31
Available providers and their performance metrics

DeepSeek-V3.1
DeepInfra
Novita

Grok-4

DeepSeek-V3.1

Grok-4

DeepSeek-V3.1

Grok-4
xAI
ZeroEval