Comprehensive side-by-side LLM comparison
Gemini 2.5 Flash leads with 20.2% higher average benchmark score. Gemini 2.5 Flash offers 978.1K more tokens in context window than Grok-2. Gemini 2.5 Flash is $9.20 cheaper per million tokens. Overall, Gemini 2.5 Flash is the stronger choice for coding tasks.
Gemini 2.5 Flash represents a continued evolution of Google's efficient multimodal models, designed to deliver enhanced capabilities while maintaining the performance characteristics valued in the Flash series. Built to serve high-throughput applications with improved quality, it advances the balance between speed and intelligence.
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.
9 months newer

Grok-2
xAI
2024-08-13

Gemini 2.5 Flash
2025-05-20
Cost per million tokens (USD)

Gemini 2.5 Flash

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

Gemini 2.5 Flash

Grok-2
Gemini 2.5 Flash
2025-01-31
Available providers and their performance metrics

Gemini 2.5 Flash
ZeroEval


Gemini 2.5 Flash

Grok-2

Gemini 2.5 Flash

Grok-2
Grok-2
xAI