Polarison

Gemini 2.5 Flash vs Grok 4.7: pricing and benchmarks

Gemini 2.5 Flash is 85% cheaper on input tokens ($0.30 vs $2.00 per 1M). Gemini 2.5 Flash is 58% cheaper on output tokens ($2.50 vs $6.00 per 1M). On our document Q&A workload (50,000 questions a month), Gemini 2.5 Flash costs $195.00 a month versus $980.00 for Grok 4.7, 80% less. Epoch AI has not published a capability index score for Grok 4.7 yet.

Prices verified September 26, 2026.

Which should you choose?

Overall capability
Too close to call

Epoch AI has not published a capability index score for Grok 4.7 yet.

Price
Gemini 2.5 Flash

Gemini 2.5 Flash costs $0.85 per 1M tokens (3:1 input-to-output mix) vs $3.00 for Grok 4.7, 72% less.

Pricing and specs

Gemini 2.5 FlashGrok 4.7
ProviderGooglexAI
API model IDgemini-2.5-flashgrok-4.7
Input / 1M tokens$0.30$2.00
Cached input / 1M tokens$0.03$0.50
Output / 1M tokens$2.50$6.00
Long-context rates—$4.00 in / $12.00 out above 200K prompt tokens
Context window1.05M tokens500K tokens
Max output66K tokens—
Batch discount——

Benchmarks

Gemini 2.5 FlashGrok 4.7
Epoch Capabilities Index140.5—
GPQA Diamond· Science reasoning——
FrontierMath (Tiers 1–3)· Advanced math——
SimpleQA Verified· Factual accuracy——
ARC-AGI-2· Abstract reasoning——
DeepSWE· Coding——
APEX-Agents· Agentic work1.8%—

Source: Epoch AI, best recorded result per model (CC BY 4.0). A dash means no published score. See all benchmarks

Monthly cost for real workloads

WorkloadGemini 2.5 FlashGrok 4.7Difference
Support chatbot
100,000 replies a month, ~1,500 input tokens (system prompt + history) and ~400 output tokens each.
$145.00$540.00Gemini 2.5 Flash 73% cheaper
Document Q&A (RAG)
50,000 questions a month with ~8,000 tokens of retrieved context and ~600 output tokens each.
$195.00$980.00Gemini 2.5 Flash 80% cheaper
Coding agent
10,000 agent steps a month, ~40,000 input tokens each (70% read from the prompt cache) and ~2,000 output tokens.
$94.40$500.00Gemini 2.5 Flash 81% cheaper

Estimates use standard list prices and ignore cache-write surcharges. Different tokenizers can count the same text differently, so test with your own prompts.

Gemini 2.5 Flash vs Grok 4.7 cost calculator

Standard-tier list prices. Long-context rates apply automatically where the provider publishes a threshold. Excludes cache-write surcharges, taxes, batch and volume discounts.

Gemini 2.5 Flash pricing notes

Google’s previous-generation Flash model.

  • Audio input costs $1.00 per 1M tokens; text, image and video cost $0.30.
  • Output price includes thinking tokens.
Google official pricing ↗

Grok 4.7 pricing notes

xAI’s newest flagship for coding and general use, with agentic tool calling and configurable reasoning.

  • Requests with 200K or more prompt tokens are billed at $4 input / $1 cached / $12 output for all tokens.
  • Web Search costs $5 per 1,000 calls; X Search is billed per item fetched, at $5 per 1,000 posts and $10 per 1,000 user profiles.
xAI official pricing ↗

Frequently asked questions

Is Gemini 2.5 Flash cheaper than Grok 4.7?
Gemini 2.5 Flash is 85% cheaper on input tokens ($0.30 vs $2.00 per 1M). Gemini 2.5 Flash is 58% cheaper on output tokens ($2.50 vs $6.00 per 1M). On our document Q&A workload (50,000 questions a month), Gemini 2.5 Flash costs $195.00 a month versus $980.00 for Grok 4.7, 80% less.
Which is more capable, Gemini 2.5 Flash or Grok 4.7?
Epoch AI has not published a capability index score for Grok 4.7 yet.
How much does Gemini 2.5 Flash cost per 1M tokens?
Gemini 2.5 Flash costs $0.30 per 1M input tokens and $2.50 per 1M output tokens, and $0.03 per 1M cached input tokens on Google’s standard tier.
How much does Grok 4.7 cost per 1M tokens?
Grok 4.7 costs $2.00 per 1M input tokens and $6.00 per 1M output tokens, and $0.50 per 1M cached input tokens on xAI’s standard tier.
Which has the larger context window, Gemini 2.5 Flash or Grok 4.7?
Gemini 2.5 Flash has the larger context window: 1.05M tokens versus 500K for Grok 4.7.

Related comparisons