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 serving route per 1M tokens, verified against 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
Coding
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 (4 vs 1)
  • Has reasoning mode
  • Supports audio
  • Supports prompt caching

Grok 4 20 Non Reasoning wins

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

Pricing & specs

cheapest serving route · per 1M tokens
Gemini 3.1 Pro PreviewGrok 4 20 Non Reasoning
Input $/1M$2.00 $2.00
Output $/1M$12.00 $6.00 best
Context window1M 2M best
Max output66K 2M best
Serving providers4 best1
Released2026-02-19 2026-03-09

Benchmarks

Artificial Analysis indices, side by side
Gemini 3.1 Pro PreviewGrok 4 20 Non Reasoning
Intelligence46.5 best21.8
Coding68.8 Not available
GPQA Diamond94% best78%
Output speed154 t/s 163 t/s best
Latency (TTFT)34.98s 4.54s best

Cost calculator

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

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 output ($12.00 vs $6.00 per 1M tokens).
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 Artificial Analysis indices, Gemini 3.1 Pro Preview leads on intelligence.
Pricing verified against LiteLLM + OpenRouter + provider pages · refreshed daily

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI