Compare / head-to-head

Gemini 3.1 Pro PreviewvsGPT-5

Gemini 3.1 Pro Preview leads 17 of 17 shared benchmarks. GPT-5 is 1.2x cheaper per token. Gemini 3.1 Pro Preview has the larger context window (1.0M tokens).

Benchmarks from cited public sources; pricing from official pages; status from official provider feeds.

Shared benchmarks
17 – 0
Gemini 3.1 Pro Preview leads
Cheaper per token
GPT-5
1.2x cheaper, input + output
Larger context
Gemini 3.1 Pro Preview
1.0M tokens
Providers
2 providers
Google · OpenAI
Gemini 3.1 Pro Preview
Google · released 2026-02-19
textvisionaudio
Context
1.0M
Max out
66K
Input /1M
$2 ↗
Output /1M
$12 ↗
Cached /1M
$0.2
Scores
43 · 12 core
GPT-5
OpenAI · released 2025-08-07
textvision
Context
400K
Max out
128K
Input /1M
$1.25 ↗
Output /1M
$10 ↗
Cached /1M
$0.125
Scores
27 · 11 core
Quality

Benchmark matrix

BenchmarkGemini 3.1 Pro PreviewGPT-5ΔEdge
Reported by both · 17
GPQA Diamond94.3% ↗86.2% ↗epoch run+8.1 ptGemini 3.1 Pro Preview
LMArena Elo1480.1 ↗1434.5 ↗+45.6Gemini 3.1 Pro Preview
BALROG (BALROG)57% ↗32.8% ↗+24.2 ptGemini 3.1 Pro Preview
Chess Puzzles (Epoch AI run)55% ↗epoch run37% ↗epoch run+18 ptGemini 3.1 Pro Preview
EBR-bench (Epoch AI run)14.3% ↗epoch run12.7% ↗epoch run+1.6 ptGemini 3.1 Pro Preview
FrontierMath Tier 4 v2 (Epoch AI run)26.8% ↗epoch run22% ↗epoch run+4.8 ptGemini 3.1 Pro Preview
FrontierMath Tiers 1-3 v2 (Epoch AI run)59.6% ↗epoch run55.4% ↗epoch run+4.2 ptGemini 3.1 Pro Preview
GSO Opt@1 (GSO)21.6% ↗5.9% ↗+15.7 ptGemini 3.1 Pro Preview
LMArena Vision (LMArena)1279.3 ↗1210.2 ↗+69.1Gemini 3.1 Pro Preview
LMArena WebDev (LMArena)1446.2 ↗1417.1 ↗+29.1Gemini 3.1 Pro Preview
Mystery Game Puzzles (Epoch AI run)34% ↗epoch run23% ↗epoch run+11 ptGemini 3.1 Pro Preview
OTIS Mock AIME 2024-2025 (Epoch AI run)95.6% ↗epoch run91.4% ↗epoch run+4.2 ptGemini 3.1 Pro Preview
SAGE (Vals AI)48.7% ↗43.7% ↗+5 ptGemini 3.1 Pro Preview
SimpleBench (SimpleBench)79.6% ↗56.7% ↗+22.9 ptGemini 3.1 Pro Preview
SimpleQA Verified73.5% ↗epoch run50.1% ↗epoch run+23.4 ptGemini 3.1 Pro Preview
SWE-bench Verified (Epoch AI run)75.6% ↗epoch run73.6% ↗epoch run+2 ptGemini 3.1 Pro Preview
WeirdML (Håvard Tveit Ihle)72.1% ↗60.7% ↗+11.4 ptGemini 3.1 Pro Preview
Only Gemini 3.1 Pro Preview reports · 19
AIME 202698.3% ↗matharena ⚠not reported——
APEX-Agents (Mercor)35.3% ↗not reported——
ARC-AGI-277.1% ↗not reported——
DeepSWE v1.1 (Datacurve)11.7% ↗not reported——
Furniture Assembly (Epoch AI run)26.7% ↗epoch runnot reported——
LiveBench Agentic Coding (LiveBench)44.1% ↗not reported——
LiveBench Coding (LiveBench)76.5% ↗not reported——
LiveBench Data Analysis (LiveBench)78.5% ↗not reported——
LiveBench Instruction Following (LiveBench)79.1% ↗not reported——
LiveBench Language (LiveBench)85.4% ↗not reported——
LiveBench Mathematics (LiveBench)91% ↗not reported——
LiveBench Reasoning (LiveBench)84% ↗not reported——
LMArena Agent (LMArena)-0.0771 ↗not reported——
MirrorCode (Epoch AI run)8.9% ↗epoch runnot reported——
SWE-Bench Pro54.2% ↗not reported——
tau2-bench Banking Knowledge (Sierra)26% ↗not reported——
Terminal-Bench 4.0 (Vals AI)2.5% ↗not reported——
Toolathlon-Verified (HKUST)61.1% ↗not reported——
Vending-Bench 2 (Andon Labs)3774.25 ↗not reported——
Only GPT-5 reports · 3
SWE-bench Verifiednot reported74.9% ↗——
AIME 2025not reported94.6% ↗——
MATH Level 5 (Epoch AI run)not reported98.1% ↗epoch run——
Scores tagged "epoch" or "matharena" are independent runs, used only where the lab has not published its own; ⚠ marks rows MathArena flags as released after the competition. Higher is better on every row. Δ is Gemini 3.1 Pro Preview minus GPT-5 in the benchmark's own unit. "Not reported" means the lab has not published that figure; it is not a zero. ↗ opens the source.
Specs & pricing

Side by side

SpecGemini 3.1 Pro PreviewGPT-5Edge
Context window1.0M tokens400K tokensGemini 3.1 Pro Preview
Max output66K tokens128K tokensGPT-5
Input price / 1M$2 ↗$1.25 ↗GPT-5
Output price / 1M$12 ↗$10 ↗GPT-5
Cached input / 1M$0.2 ↗$0.125 ↗GPT-5
Input + output / 1M
Lower is cheaper. List prices; batch, tool and regional fees excluded.
$14$11.25GPT-5
Modalitiestext · vision · audiotext · visionGemini 3.1 Pro Preview
Released2026-02-192025-08-07—
Cited benchmark scores4327—
Reliability

Provider status

All providers →
More matchups

Gemini 3.1 Pro Preview vs …

Built by Respan
Which one wins on your data?

Public benchmarks are a starting point. Run Gemini 3.1 Pro Preview and GPT-5 on your own prompts with Respan evals, or route to either through one gateway key with automatic failover.