█

AI/TLDR

Buy me a coffee
Buy me a coffee

Model comparison

Grok 4 vs Gemini 2.5 Flash

Short answer

Grok 4 scores higher on 4 of the 4 benchmarks both models report; Gemini 2.5 Flash is cheaper on input tokens ($0.3 vs $3 per 1M, 10×); Gemini 2.5 Flash has the larger context window (1M vs 256K).

Specs and pricing side by side

SpecGrok 4Gemini 2.5 Flash
MakerxAI (Grok)Google
Released2025-07-092025-04-17
Context window256K1M
Max output8K64K
Input price$3.00 / 1M tokens$0.30 / 1M tokens (text / image / video); $1.00 / 1M tokens (audio)
Output price$15.00 / 1M tokens$2.50 / 1M tokens (includes thinking tokens)
LicenseProprietaryProprietarysame
WeightsAPI onlyAPI onlysame
ModalitiesText, VisionText, Vision, Audio, Video, PDF
Knowledge cutoffNovember 2024January 2025

Not published by either maker: parameters.

Benchmarks both models report

BenchmarkGrok 4Gemini 2.5 Flash
Humanity's Last Exam41%11%
GPQA87.5%82.8%
AIME 202591.7%72%
LiveCodeBench79%59.3%

Scores are as published by each maker or its cited source; harness, reasoning effort and date can differ between rows, so treat small gaps as ties. Sources are listed on each model page.

Which one should you pick?

Pick Grok 4 if…

  • You care about Humanity's Last Exam, GPQA, AIME 2025 (it scores higher on 4 shared benchmarks).
  • Your use case is: hard STEM and competition-math problem solving (AIME/HMMT/USAMO-style reasoning).

Pick Gemini 2.5 Flash if…

  • Cost matters: input tokens cost 10× less ($0.3 vs $3 per 1M).
  • You need the longer context (1M vs 256K).
  • You need Audio / Video / PDF input, which Grok 4 lacks.
  • Your use case is: high-volume chat, summarization, and extraction where cost and latency matter.

FAQ

Which is better, Grok 4 or Gemini 2.5 Flash?

Grok 4 scores higher on 4 of the 4 benchmarks both models report; Gemini 2.5 Flash is cheaper on input tokens ($0.3 vs $3 per 1M, 10×); Gemini 2.5 Flash has the larger context window (1M vs 256K). The better pick depends on whether you value benchmark scores, price per token, context length or openness for your workload.

How much cheaper is Gemini 2.5 Flash?

Grok 4: $3.00 / 1M tokens input, $15.00 / 1M tokens output. Gemini 2.5 Flash: $0.30 / 1M tokens (text / image / video); $1.00 / 1M tokens (audio) input, $2.50 / 1M tokens (includes thinking tokens) output (list API prices as published by each maker).

What are the context windows of Grok 4 and Gemini 2.5 Flash?

Grok 4 offers 256K with up to 8K output; Gemini 2.5 Flash offers 1M with up to 64K output.

Is Grok 4 newer than Gemini 2.5 Flash?

Grok 4 was released 2025-07-09; Gemini 2.5 Flash was released 2025-04-17.

Go deeper