Comprehensive side-by-side LLM comparison
Grok-2 leads with 19.2% higher average benchmark score. Grok-2 offers 70.5K more tokens in context window than GPT-4. Grok-2 is $78.00 cheaper per million tokens. Overall, Grok-2 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 2 was developed as the second generation of xAI's language model family, designed to provide enhanced reasoning, knowledge, and conversational abilities. Built with architectural improvements and expanded training, it represents a significant advancement in xAI's model capabilities.
1 year newer

GPT-4
OpenAI
2023-06-13

Grok-2
xAI
2024-08-13
Cost per million tokens (USD)

GPT-4

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

GPT-4

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

GPT-4
Azure
OpenAI


GPT-4

Grok-2

GPT-4

Grok-2
Grok-2
xAI