Model comparison

Gemini 3.1 Pro Preview vs GPT-5-Codex

Gemini 3.1 Pro Preview is the stronger model overall, scoring 56.7 to 37.9 on the Noometry Index.

Last verified . 2 shared benchmarks.

Gemini 3.1 Pro Preview Google

56.7

Rank #23 Confirmed

GPT-5-Codex OpenAI

37.9

Rank #192 Reported

Summary

  • They share 2 benchmarks with published results for both. Gemini 3.1 Pro Preview scores higher in 3 categories and GPT-5-Codex in 0 categories; 2 gaps are clear of the uncertainty.
  • The widest gap is in reasoning, where Gemini 3.1 Pro Preview leads 71.7 to 30.9.
  • The biggest single-benchmark swing is Terminal-Bench: 80.2% for Gemini 3.1 Pro Preview and 44.3% for GPT-5-Codex.
  • GPT-5-Codex is cheaper at $1.25 / $10 per million input/output tokens, against $2 / $12 for Gemini 3.1 Pro Preview.
  • Gemini 3.1 Pro Preview accepts more context: 1.05M tokens versus 400K.

Side by side

Gemini 3.1 Pro Preview and GPT-5-Codex specifications
Gemini 3.1 Pro PreviewGPT-5-Codex
ProviderGoogleOpenAI
Noometry Index56.737.9
Released2026-02-192025-09-15
WeightsProprietaryProprietary
Context window1.05M400K
Max output66K128K
Input $ / M tokens$2$1.25
Output $ / M tokens$12$10
Results tracked713

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding Too close to call

Gemini 3.1 Pro Preview: 42.5 (#99), GPT-5-Codex: 42.4 (#103)

Coding benchmarks
BenchmarkGemini 3.1 Pro PreviewGPT-5-Codex
WeirdML72.1%54.5%
SWE-bench Verified75.6%—
DeepSWE11.7%—
LMArena WebDev1447—
SciCode58.9%—
GSO22.6%—
LMArena Coding1484—
MirrorCode8.9%—
ALE-Bench1,161—
AlgoTune2.02—

Agentic & Tool Use Gemini 3.1 Pro Preview leads

Gemini 3.1 Pro Preview: 37.7 (#34), GPT-5-Codex: 31.0 (#72)

Agentic & Tool Use benchmarks
BenchmarkGemini 3.1 Pro PreviewGPT-5-Codex
Terminal-Bench80.2%44.3%
APEX-Agents35.3%—
τ²-bench Banking26%—
DeepResearch Bench47.8%—
PostTrainBench22%—
BALROG57%—
ExploitBench26.1%—
GBAEval0.8%—
GDP.pdf17%—
LMArena Search1211—
METR Time Horizons77%—
Vending-Bench 23,774—

Reasoning Gemini 3.1 Pro Preview leads

Gemini 3.1 Pro Preview: 71.7 (#12), GPT-5-Codex: 30.9 (#83)

Reasoning benchmarks
BenchmarkGemini 3.1 Pro PreviewGPT-5-Codex
ARC-AGI-277.1%—
SimpleBench79.6%—
Kagi LLM Benchmark—70.3%
NYT Connections (extended)97.4%—
ARC-AGI-198%—
CritPt17.7%—
Chess Puzzles55%—
EnigmaEval36.8%—
Thematic Generalization79.4%—
EBR-Bench14.3%—
LMArena Hard Prompts1485—
Mystery Game Puzzles34%—
DTBench97.1%—
LMCA53.8%—
Epoch Capabilities Index154.77—
ForecastBench59—

Math Not comparable

Gemini 3.1 Pro Preview: 62.1 (#34), GPT-5-Codex: —

Math benchmarks
BenchmarkGemini 3.1 Pro PreviewGPT-5-Codex
FrontierMath (Tiers 1-3)59.6%—
FrontierMath Tier 426.8%—
MathArena Final-Answer Competitions86.5%—
OTIS Mock AIME 2024-202595.6%—
ProofBench26%—
LMArena Math1485—
FrontierMath (Feb 2025 set)36.9%—
FrontierMath Tier 4 (v1)16.7%—

Knowledge Not comparable

Gemini 3.1 Pro Preview: 71.8 (#3), GPT-5-Codex: —

Knowledge benchmarks
BenchmarkGemini 3.1 Pro PreviewGPT-5-Codex
GPQA Diamond94.4%—
Humanity's Last Exam46.4%—
SimpleQA Verified73.5%—
Vectara Hallucination Rate10.4%—
LMArena Expert1485—

Multimodal Not comparable

Gemini 3.1 Pro Preview: 37.9 (#69), GPT-5-Codex: —

Multimodal benchmarks
BenchmarkGemini 3.1 Pro PreviewGPT-5-Codex
LMArena Vision1296—
Blueprint-Bench 226.5%—
Furniture Assembly26.7%—
LMArena Document1444—

Multilingual Not comparable

Gemini 3.1 Pro Preview: 57.0 (#12), GPT-5-Codex: —

Multilingual benchmarks
BenchmarkGemini 3.1 Pro PreviewGPT-5-Codex
LMArena Non-English1477—
LMArena Chinese1529—
LMArena French1487—
LMArena German1491—
LMArena Japanese1493—
LMArena Korean1455—
LMArena Russian1498—
LMArena Spanish1479—

Instruction Following Not comparable

Gemini 3.1 Pro Preview: 77.0 (#32), GPT-5-Codex: —

Instruction Following benchmarks
BenchmarkGemini 3.1 Pro PreviewGPT-5-Codex
LMArena Instruction Following1466—

Long Context Not comparable

Gemini 3.1 Pro Preview: 47.4 (#18), GPT-5-Codex: —

Long Context benchmarks
BenchmarkGemini 3.1 Pro PreviewGPT-5-Codex
CL-bench20.8%—
CL-bench Life16.9%—
LMArena Longer Query1483—

Writing & Preference Not comparable

Gemini 3.1 Pro Preview: 66.1 (#37), GPT-5-Codex: —

Writing & Preference benchmarks
BenchmarkGemini 3.1 Pro PreviewGPT-5-Codex
LMArena Text1481—
LMArena Creative Writing1482—
EQ-Bench Creative Writing1491—
EQ-Bench 41142—
LMArena Multi-Turn1488—

Frequently asked questions

Is Gemini 3.1 Pro Preview better than GPT-5-Codex?

Gemini 3.1 Pro Preview is the stronger model overall, scoring 56.7 to 37.9 on the Noometry Index.

Which is cheaper, Gemini 3.1 Pro Preview or GPT-5-Codex?

GPT-5-Codex is cheaper. It lists at $1.25 per million input tokens and $10 per million output tokens; Gemini 3.1 Pro Preview lists at $2 and $12.

Is Gemini 3.1 Pro Preview or GPT-5-Codex better for coding?

They score almost the same on coding (42.5 vs 42.4); test both on your own repository before choosing.

Which has the bigger context window?

Gemini 3.1 Pro Preview does, with 1.05M tokens against 400K.

How many benchmarks do Gemini 3.1 Pro Preview and GPT-5-Codex share?

2 benchmarks have published results for both models. Gemini 3.1 Pro Preview has 71 scored results on Noometry and GPT-5-Codex has 3.

Related comparisons

Go deeper