Gemini 3.1 Pro Preview vs Grok 4.3

API pricing, context window and capabilities for Gemini 3.1 Pro Preview and Grok 4.3, 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 coding and on intelligence. Grok 4.3 wins on price.

Price
Grok 4.3
Coding
Gemini 3.1 Pro Preview
Intelligence
Gemini 3.1 Pro Preview
Context window
Tied

Key takeaways

who wins on what, from the published numbers

Gemini 3.1 Pro Preview wins

  • More serving providers (4 vs 1)
  • Supports audio

Grok 4.3 wins

  • Cheaper input ($2.00 vs $1.25 /1M)
  • Cheaper output ($12.00 vs $2.50 /1M)
  • Higher max output (66K vs 1M)
Cheaper overall
Grok 4.3
$1.25 + $2.50 /1M
Larger context
Tied
More providers
Gemini 3.1 Pro Preview
4 providers

Pricing & specs

cheapest serving route · per 1M tokens
Gemini 3.1 Pro PreviewGrok 4.3
Input $/1M$2.00 $1.25 best
Output $/1M$12.00 $2.50 best
Context window1M 1M
Max output66K 1M best
Serving providers4 best1
Released2026-02-19 2026-04-18

Benchmarks

Artificial Analysis indices, side by side
Gemini 3.1 Pro PreviewGrok 4.3
Intelligence46.5 best37.6
Coding68.8 best42.3
GPQA Diamond94% best90%
Output speed154 t/s best113 t/s
Latency (TTFT)34.98s 17.26s 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.3
via xAI
$8.75

Capabilities

feature support, side by side
FeatureGemini 3.1 Pro PreviewGrok 4.3
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.3?
Grok 4.3 is cheaper for input ($2.00 vs $1.25 per 1M tokens). Grok 4.3 is cheaper for output ($12.00 vs $2.50 per 1M tokens).
What is the context window difference between Gemini 3.1 Pro Preview and Grok 4.3?
Both Gemini 3.1 Pro Preview and Grok 4.3 have about a 1M-token context window.
How do Gemini 3.1 Pro Preview and Grok 4.3 compare on benchmarks?
On the tracked Artificial Analysis indices, Gemini 3.1 Pro Preview leads on coding, and 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