Last verified 2025-09-22 (left) · 2025-09-22 (right)

Gemini 2.5 Flash vs Grok 4 — Pricing & Capability Comparison

Gemini 2.5 Flash charges $0.30 per million input tokens and $2.50 per million output tokens. Grok 4 comes in at $3.00 / $15.00. Context windows span 1M vs 256K tokens respectively.

TL;DR — Quick Comparison

  • Gemini 2.5 Flash is cheaper overall: $2.80 per 1M tokens (in+out) vs $18.00 for Grok 4 — saves $15.20 per 1M tokens
  • Input pricing: Gemini 2.5 Flash $0.30/1M vs Grok 4 $3.00/1M
  • Output pricing: Gemini 2.5 Flash $2.50/1M vs Grok 4 $15.00/1M
  • Context window: Gemini 2.5 Flash offers more (1M vs 256K)
  • Use our calculator below to estimate costs for your specific usage pattern

Input price (per 1M)

Gemini 2.5 Flash

$0.30

Grok 4

$3.00

Gemini 2.5 Flash leads here

Output price (per 1M)

Gemini 2.5 Flash

$2.50

Grok 4

$15.00

Gemini 2.5 Flash leads here

Context window

Gemini 2.5 Flash

1,000,000 tokens

Grok 4

256,000 tokens

Gemini 2.5 Flash leads here

Cached input

Gemini 2.5 Flash

Not published

Grok 4

$0.750

Grok 4 leads here

Cost comparison for 10K-token workloads

Side-by-side pricing for identical workloads (10,000 total tokens per request) across different distributions.

ScenarioGemini 2.5 FlashGrok 4Grok 4 cached
Balanced conversation
50% input · 50% output
$0.0140$0.0900$0.0788
Input-heavy workflow
80% input · 20% output
$0.0074$0.0540$0.0360
Generation heavy
30% input · 70% output
$0.0184$0.114$0.107
Cached system prompt
90% cached input · 10% fresh output
$0.0052$0.0420$0.0217

Frequently asked questions

Which is cheaper: Gemini 2.5 Flash or Grok 4?

Gemini 2.5 Flash is cheaper for input tokens at $0.30 per 1M tokens compared to $3.00. For output, Gemini 2.5 Flash costs $2.50 per 1M tokens versus $15.00 for Grok 4.

What is the cost per 1M tokens for Gemini 2.5 Flash?

Gemini 2.5 Flash pricing: $0.30 per 1M input tokens and $2.50 per 1M output tokens. Context window: 1,000,000 tokens.

What is the cost per 1M tokens for Grok 4?

Grok 4 pricing: $3.00 per 1M input tokens and $15.00 per 1M output tokens. Context window: 256,000 tokens.

How much does it cost per 1K tokens?

Per 1K tokens: Gemini 2.5 Flash costs $0.0003 input / $0.0025 output. Grok 4 costs $0.0030 input / $0.0150 output. This is useful for calculating small-scale usage costs.

Which model supports a larger context window?

Gemini 2.5 Flash offers 1,000,000 tokens (1M) versus 256K for Grok 4.

What is the estimated monthly cost for typical usage?

For a typical workload of 10M input + 2M output tokens per month: Gemini 2.5 Flash would cost approximately $8.00, while Grok 4 would cost $60.00. Gemini 2.5 Flash is more economical for this usage pattern.

Do these models support prompt caching?

Gemini 2.5 Flash does not publish cached pricing. Grok 4 supports caching at $0.750 per 1M tokens, saving up to 75%.

Which model is best for my use case?

Choose Gemini 2.5 Flash for cost-sensitive applications with high input volume. Choose Gemini 2.5 Flash if you need 1M context for long documents or conversations. Consider prompt caching if you have repeated context. Use our token calculator to model your specific usage pattern.

Related resources

Gemini 2.5 Flash vs Grok 4 Pricing (2025) — Cost per 1M Tokens Comparison | LLM Practical Experience Hub