Gemini 3.1 Pro Preview vs Grok 4 20 Non Reasoning

API pricing, context window and capabilities for Gemini 3.1 Pro Preview and Grok 4 20 Non Reasoning, side by side. Prices are the cheapest listed serving route per 1M tokens, from LiteLLM and OpenRouter.

Verdict

computed from the published numbers

Gemini 3.1 Pro Preview wins on intelligence. Grok 4 20 Non Reasoning wins on price and on context window. Benchmark data is unavailable for one or both models.

Price
Grok 4 20 Non Reasoning
Terminal-Bench
Not called
Intelligence
Gemini 3.1 Pro Preview
Context window
Grok 4 20 Non Reasoning

Key takeaways

who wins on what, from the published numbers

Gemini 3.1 Pro Preview wins

  • More serving providers (6 vs 5)
  • Supports audio

Grok 4 20 Non Reasoning wins

  • Cheaper input ($2.00 vs $1.25 /1M)
  • Cheaper output ($12.00 vs $2.50 /1M)
  • Larger context window (1M vs 2M)
  • Higher max output (66K vs 2M)
Cheaper overall
Grok 4 20 Non Reasoning
$1.25 + $2.50 /1M
Larger context
Grok 4 20 Non Reasoning
2M
More providers
Gemini 3.1 Pro Preview
6 providers

Pricing & specs

cheapest listed route · per 1M tokens
On-demand listed rates, OpenRouter routed quotes and Vercel reseller quotes. Enterprise commitments can be materially lower.
Gemini 3.1 Pro PreviewGrok 4 20 Non Reasoning
Input $/1M$2.00via Google $1.25via xAI best
Output $/1M$12.00via Google $2.50via xAI best
Context window1M 2M best
Max output66K 2M best
Serving providers6 best5
DateReleased Feb 19, 2026 Released Mar 9, 2026

Benchmarks

Benchmark scores, side by side
Gemini 3.1 Pro PreviewGrok 4 20 Non Reasoning
Intelligence29.7 best14.2
Terminal-Bench74% Not available
GPQA Diamond94% best78%
Output speed140 t/s best94 t/s
Latency (TTFT)26.52s 0.62s best

Cost calculator

choose a serving route for each side
Input tokens / month
Output tokens / month
Gemini 3.1 Pro Preview
via Google
$22
Grok 4 20 Non Reasoning
via Azure
$8.75

Capabilities

feature support, side by side
FeatureGemini 3.1 Pro PreviewGrok 4 20 Non Reasoning
Vision✓✓
Tool use✓✓
Reasoning✓✓
Audio✓—
Prompt caching✓✓
Structured output✓✓
Web search✓✓

Related comparisons

Frequently asked questions

Which is cheaper, Gemini 3.1 Pro Preview or Grok 4 20 Non Reasoning?
Grok 4 20 Non Reasoning is cheaper for input ($2.00 vs $1.25 per 1M tokens) from xAI. Grok 4 20 Non Reasoning is cheaper for output ($12.00 vs $2.50 per 1M tokens) from xAI.
What is the context window difference between Gemini 3.1 Pro Preview and Grok 4 20 Non Reasoning?
Gemini 3.1 Pro Preview has a 1M-token context window and Grok 4 20 Non Reasoning has 2M tokens, so Grok 4 20 Non Reasoning can take a larger prompt.
How do Gemini 3.1 Pro Preview and Grok 4 20 Non Reasoning compare on benchmarks?
On the tracked benchmarks, Gemini 3.1 Pro Preview leads on intelligence.
Listed prices from LiteLLM, OpenRouter and Vercel · last checked Oct 14, 2026

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI