Comprehensive side-by-side LLM comparison
Grok 4 leads with 9.2% higher average benchmark score. Gemini 2.5 Flash offers 729.7K more tokens in context window than Grok 4. Gemini 2.5 Flash is $29.25 cheaper per million tokens. Overall, Grok 4 is the stronger choice for coding tasks.
Google DeepMind
Gemini 2.5 Flash, released by Google in June 2025, is a large language model from the Gemini 2.5 family optimized for high-throughput, cost-efficient deployments with multimodal reasoning. It features a 1M token context window, hybrid thinking control, and native support for text, image, video, and audio input. Gemini 2.5 Flash targets latency-sensitive applications, document analysis, and high-volume API workloads that benefit from combined reasoning and generation in a single model.
xAI
Grok 4, released by xAI on July 10, 2025, is a large language model featuring first-principles reasoning and comprehensive multimodal support. It features a 260K token context window and demonstrated strong performance on advanced reasoning and coding benchmarks. Grok 4 targets complex multi-step reasoning tasks, scientific analysis, and agentic workflows via the xAI API.
23 days newer

Gemini 2.5 Flash
Google DeepMind
2025-06-17

Grok 4
xAI
2025-07-10
Cost per million tokens (USD)
Gemini 2.5 Flash
Grok 4
Context window and performance specifications
Average performance across 1 common benchmarks
Gemini 2.5 Flash
Grok 4
Performance comparison across key benchmark categories
Gemini 2.5 Flash
Grok 4
Available providers and their performance metrics
Gemini 2.5 Flash
Google Cloud Vertex AI
Grok 4
Gemini 2.5 Flash
Grok 4
Gemini 2.5 Flash
Grok 4
xAI