Comprehensive side-by-side LLM comparison
Grok-4 leads with 36.5% higher average benchmark score. Gemini 1.5 Flash offers 792.8K more tokens in context window than Grok-4. Gemini 1.5 Flash is $17.25 cheaper per million tokens. Overall, Grok-4 is the stronger choice for coding tasks.
Gemini 1.5 Flash was created as a fast and efficient multimodal model, designed to provide quick responses while handling text, images, and other modalities. Built for applications requiring low latency and high throughput, it balances capability with speed to serve real-time and high-volume use cases.
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.
1 year newer

Gemini 1.5 Flash
2024-05-01

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

Gemini 1.5 Flash

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

Gemini 1.5 Flash

Grok-4
Gemini 1.5 Flash
2023-11-01
Grok-4
2024-12-31
Available providers and their performance metrics

Gemini 1.5 Flash

Grok-4

Gemini 1.5 Flash

Grok-4

Gemini 1.5 Flash

Grok-4
xAI
ZeroEval