ModelPriceWatch.com
Last scan 2026-08-15 Models tracked 205 Providers 31 Cheapest paid Granite 4.0 H Micro $0.017/Mtok in Every price links to its source

Gemini 3.1 Pro vs Grok 4

Side-by-side comparison of API pricing, specs, benchmarks, and capabilities

Gemini 3.1 Pro is 25% cheaper on blended cost ($4.50 vs $6.00/Mtok)
Specification
by xAI
Overview
StatusCurrent flagship Retired flagship
Released Feb 19, 2026 Jul 9, 2025
Pricing per million tokens
Input $2.00/Mtok $3.00/Mtok
Output $12.00/Mtok $15.00/Mtok
Blended avg $4.50/Mtok $6.00/Mtok
Cached input $0.200/Mtok
Specifications
Context window 2M tokens 256K tokens
Parameters Proprietary Proprietary
Speed (TPS)
Modalities
Input
textimageaudiovideo
textimage
Benchmarks source: Vellum LLM Leaderboard
Avg benchmark score 74.8 63
Perf / dollar 16.6 10.5
GPQA Diamond 94.3 87.5
Terminal-Bench 2.1 70.3 27.2
Humanity's Last Exam 44.4 25.4
ARC-AGI 2 77.1 16
HumanEval 80.6 75
SWE-Bench Verified 55
LiveCodeBench 79
MCP Atlas 69.2
BrowseComp 85.9
OSWorld-Verified 76.2
AIME 2025 91.7
MMMLU 82
BFCL 72
MATH 500 82
Independent composite scores each on its own scale — not part of the average above
LMSYS Chatbot Arena 1486.5 ELO 1409.3 ELO
AA Intelligence Index 47.7
AA Agentic Index 23
AA-Omniscience Index (−100–100) 31.9
Providers
Available from
Google — $2.00/$12.00/Mtok
xAI — $3.00/$15.00/Mtok

Cost at scale

1M tokens · 50/50 input/output
Projected cost of Gemini 3.1 Pro vs Grok 4 at increasing token volumes
VolumeGemini 3.1 ProGrok 4Savings
1M tokens $4.5 $6 $1.5 (25%)
10M tokens $45 $60 $15 (25%)
100M tokens $450 $600 $150 (25%)
1000M tokens $4500 $6000 $1500 (25%)

When to pick which

distilled from the pricing and spec data above
Pick Gemini 3.1 Pro if…
  • cost dominates: $4.50/Mtok blended vs $6.00 — 25% less on the same 50/50 token mix
  • your workload re-reads context (agents, RAG, long chats): cached input costs $0.200/Mtok — 90% off its list input price, a discount Grok 4 doesn't offer
  • you need the longer context: 2M tokens vs 256K (7.8×)
  • raw capability matters more than price: 74.8 vs 63 average benchmark score
Pick Grok 4 if…
  • this pairing gives Grok 4 no edge on price, context, cache discount, or measured performance — pick it only for qualitative fit (ecosystem, compliance, model behavior on your prompts)
Try Gemini 3.1 Pro on Google

The cheaper option here — Gemini 3.1 Pro costs $4.50/Mtok blended on Google.

Get API key →

Summary

Gemini 3.1 Pro by Google costs $2.00/Mtok input and $12.00/Mtok output, with a 2M-token context window. It supports text, image, audio, video input.

Grok 4 by xAI costs $3.00/Mtok input and $15.00/Mtok output, with a 256K-token context window. It supports text, image input.

On a blended cost basis, Gemini 3.1 Pro is 25% cheaper than Grok 4.It also has a larger context window.

On benchmarks, Gemini 3.1 Pro scores higher (74.8 vs 63) on average. In terms of value, Gemini 3.1 Pro has better performance per dollar (16.6 vs 10.5).

Note: Pricing is per million tokens. Actual costs vary with usage patterns, prompt caching, and batch discounts. Always verify against official provider pricing pages.

More comparisons

pairs sharing a model with this page