Comprehensive side-by-side LLM comparison
Grok-4 leads with 51.8% higher average benchmark score. Grok-4 offers 198.5K more tokens in context window than GPT-4. Grok-4 is $72.00 cheaper per million tokens. Overall, Grok-4 is the stronger choice for coding tasks.
OpenAI
GPT-4 was created as a large multimodal model capable of accepting image and text inputs while producing text outputs. Developed to exhibit human-level performance on various professional and academic benchmarks, it marked a significant advancement in reliability, creativity, and handling of nuanced instructions compared to its predecessors.
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.
2 years newer

GPT-4
OpenAI
2023-06-13

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

GPT-4

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

GPT-4

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

GPT-4
Azure
OpenAI


GPT-4

Grok-4

GPT-4

Grok-4
Grok-4
xAI
ZeroEval