Compare / head-to-head

Gemini 3.1 Pro PreviewvsGPT-4o

Gemini 3.1 Pro Preview leads 11 of 11 shared benchmarks. GPT-4o is 1.1x 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
11 – 0
Gemini 3.1 Pro Preview leads
Cheaper per token
GPT-4o
1.1x 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-4o
OpenAI · released 2024-05-13
textvision
Context
128K
Max out
16K
Input /1M
$2.5 ↗
Output /1M
$10 ↗
Cached /1M
$1.25
Scores
21 · 10 core
Quality

Benchmark matrix

BenchmarkGemini 3.1 Pro PreviewGPT-4oΔEdge
Reported by both · 11
GPQA Diamond94.3% ↗46% ↗+48.3 ptGemini 3.1 Pro Preview
LMArena Elo1480.1 ↗1346.1 ↗+134Gemini 3.1 Pro Preview
BALROG (BALROG)57% ↗32.3% ↗+24.7 ptGemini 3.1 Pro Preview
Chess Puzzles (Epoch AI run)55% ↗epoch run13% ↗epoch run+42 ptGemini 3.1 Pro Preview
FrontierMath Tiers 1-3 v2 (Epoch AI run)59.6% ↗epoch run0.4% ↗epoch run+59.2 ptGemini 3.1 Pro Preview
GSO Opt@1 (GSO)21.6% ↗0% ↗+21.6 ptGemini 3.1 Pro Preview
LMArena Vision (LMArena)1279.3 ↗1161.8 ↗+117.5Gemini 3.1 Pro Preview
OTIS Mock AIME 2024-2025 (Epoch AI run)95.6% ↗epoch run6.4% ↗epoch run+89.2 ptGemini 3.1 Pro Preview
SimpleQA Verified73.5% ↗epoch run26% ↗epoch run+47.5 ptGemini 3.1 Pro Preview
SWE-bench Verified (Epoch AI run)75.6% ↗epoch run31% ↗epoch run+44.6 ptGemini 3.1 Pro Preview
WeirdML (Håvard Tveit Ihle)72.1% ↗25.1% ↗+47 ptGemini 3.1 Pro Preview
Only Gemini 3.1 Pro Preview reports · 25
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——
EBR-bench (Epoch AI run)14.3% ↗epoch runnot reported——
FrontierMath Tier 4 v2 (Epoch AI run)26.8% ↗epoch runnot 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——
LMArena WebDev (LMArena)1446.2 ↗not reported——
MirrorCode (Epoch AI run)8.9% ↗epoch runnot reported——
Mystery Game Puzzles (Epoch AI run)34% ↗epoch runnot reported——
SAGE (Vals AI)48.7% ↗not reported——
SimpleBench (SimpleBench)79.6% ↗not 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-4o reports · 4
MMLUnot reported85.7% ↗——
AIME 2025not reported11.7% ↗matharena——
AIME 2024not reported13.1% ↗——
MATH Level 5 (Epoch AI run)not reported53.3% ↗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-4o 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-4oEdge
Context window1.0M tokens128K tokensGemini 3.1 Pro Preview
Max output66K tokens16K tokensGemini 3.1 Pro Preview
Input price / 1M$2 ↗$2.5 ↗Gemini 3.1 Pro Preview
Output price / 1M$12 ↗$10 ↗GPT-4o
Cached input / 1M$0.2 ↗$1.25 ↗Gemini 3.1 Pro Preview
Input + output / 1M
Lower is cheaper. List prices; batch, tool and regional fees excluded.
$14$12.5GPT-4o
Modalitiestext · vision · audiotext · visionGemini 3.1 Pro Preview
Released2026-02-192024-05-13—
Cited benchmark scores4321—
Reliability

Provider status

All providers →
More matchups

Gemini 3.1 Pro Preview vs …

More matchups

GPT-4o vs …

Built by Respan
Which one wins on your data?

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