Gemini 3.1 Pro Preview vs Grok 4.7

Price, context window & benchmark comparison

G

Gemini 3.1 Pro Preview

Google
$2.00 / $12.00
Input / Output · per 1M tokens
VS
X

Grok 4.7

xAI
$1.60 / $4.80
Input / Output · per 1M tokens
Compare different models
G
X
Verdict: Grok 4.7 is 47% cheaper than Gemini 3.1 Pro Preview on a typical 3:1 input/output mix. Grok 4.7 scores higher on the Artificial Analysis Intelligence Index (46.4 vs 29.7). Gemini 3.1 Pro Preview has the larger context window (1M vs 500K).
Gemini 3.1 Pro PreviewGrok 4.7
Input price / 1M$2.00$1.60
Output price / 1M$12.00$4.80
Blended price (3:1)$4.50$2.40
Cached input / 1M$0.20$0.40
Context window1M500K
Max output66K450K
Intelligence index29.746.4
Coding index68.8
Providers4
Best provider uptime (30m)100.0%
Vision inputYesYes
ReasoningYesYes
Tool callingYesYes
Released2026-02-192026-09-21
Retirement

Cost calculator

FAQ

Which is cheaper, Gemini 3.1 Pro Preview or Grok 4.7?

Grok 4.7 is 47% cheaper than Gemini 3.1 Pro Preview on a typical 3:1 input/output mix.

Gemini 3.1 Pro Preview vs Grok 4.7: which has a bigger context window?

Gemini 3.1 Pro Preview: 1,048,576 tokens. Grok 4.7: 500,000 tokens.

How much would 1 million requests cost?

At 2,000 input + 500 output tokens per request: Gemini 3.1 Pro Preview ≈ $10,000, Grok 4.7 ≈ $5,600.

More comparisons