Gemini 2.5 Pro vs Grok 4
Gemini 2.5 Pro is cheaper for every workload modelled here.
List prices checked
Specifications and rates
| Property | Gemini 2.5 Pro | Grok 4 |
|---|---|---|
| Input per 1M | $1.25 | $3.00 |
| Output per 1M | $10.00 | $15.00 |
| Cached input per 1M | $0.310 | $0.750 |
| Blended (3:1) | $3.44 | $6.00 |
| Context window | 1M | 256K |
| Max output | 66K | 64K |
| Inputs accepted | text, image, audio, video | text, image |
Source: Google pricing (May 2026) · xAI pricing (May 2026). Published list prices only — committed-use discounts, regional variation, and per-request charges are not included. Not yet independently re-checked against the vendor’s page.
Monthly cost by workload
Identical token volumes through both rate cards. Output-heavy profiles are where the ranking flips.
| Workload | Gemini 2.5 Pro | Grok 4 | Cheaper |
|---|---|---|---|
| In-app chat assistantA support or help assistant handling a few thousand conversations a month, with short prompts and short answers. | $75 | $135 | Gemini 2.5 Prosaves $60/mo (44%) |
| RAG over documentsRetrieval-augmented answering where each request stuffs several retrieved passages into the prompt, so input dominates. | $525 | $1,125 | Gemini 2.5 Prosaves $600/mo (53%) |
| Coding agentAn agentic loop that reads files and writes patches, generating heavy output and re-sending large context on every turn. | $1,500 | $2,700 | Gemini 2.5 Prosaves $1,200/mo (44%) |
What each one is for
Gemini 2.5 Pro
by Google
A million-token context window with native video and audio input, priced at frontier-model rates below 200k tokens and at a higher tier above it — a detail that surprises people modelling long-context costs.
Grok 4
by xAI
xAI's flagship, priced to match Claude Sonnet exactly, with a large context window and live access to posts on X as a differentiator.
Common questions
- Is Gemini 2.5 Pro or Grok 4 cheaper in 2026?
- Gemini 2.5 Pro, for every workload modelled here. On a blended 3:1 basis it costs $3.44 per million tokens against Grok 4's $6.00.
- Which has the larger context window?
- Gemini 2.5 Pro, at 1M tokens against 256K. A larger window only helps if you can afford to fill it — the cost of one full-context request is in the table above.
- Which is cheaper for output-heavy work like agents?
- Gemini 2.5 Pro, at $10.00 per million output tokens against $15.00. Reasoning tokens bill as output, so for agentic loops this axis usually decides the invoice regardless of what the input rates look like.
- What is not included in these figures?
- Batch-processing discounts, fine-tuning, long-context surcharges above a provider's standard tier, and any enterprise agreement. These are published pay-as-you-go list prices, checked against each provider's own pricing page on the date shown.
- Is switching from Grok 4 to Gemini 2.5 Pro worth it?
- On price alone it is about 43% cheaper on a blended basis. Whether that survives contact with your workload depends on output quality and on retry rate — a cheaper model that needs two attempts is not cheaper. Model the specific volumes in the calculator before you migrate.