Compare · ModelsLive · 3 picked · head to head

GPT-5.4 vs GPT-5.2 vs Gemini 3.1 Pro Preview

Side by side · benchmarks, pricing, and signals you can act on.

Winner summary

Gemini 3.1 Pro Preview wins 11 of 19 shared benchmarks. Leads in reasoning · arena · knowledge.

Category leads
agentic·GPT-5.4reasoning·Gemini 3.1 Pro Previewarena·Gemini 3.1 Pro Previewknowledge·Gemini 3.1 Pro Previewmath·GPT-5.4coding·GPT-5.4speed·GPT-5.4
Hype vs Reality
GPT-5.4
#46 by perf·no signal
QUIET
GPT-5.2
#76 by perf·no signal
QUIET
Gemini 3.1 Pro Preview
#38 by perf·no signal
QUIET
Best value
1.3x better value than GPT-5.2
GPT-5.4
6.7 pts/$
$8.75/M
GPT-5.2
6.9 pts/$
$7.88/M
Gemini 3.1 Pro Preview
8.7 pts/$
$7.00/M
Vendor risk
OpenAI logo
OpenAI
$840.0B·Tier 1
Medium risk
OpenAI logo
OpenAI
$840.0B·Tier 1
Medium risk
Google DeepMind logo
Google DeepMind
$4.00T·Tier 1
Low risk
Head to head
GPT-5.4GPT-5.2Gemini 3.1 Pro Preview
APEX-Agents
GPT-5.4 leads by +1.6
APEX-Agents · evaluates AI agents on complex, multi-step tasks requiring planning, tool use, and autonomous decision-making in realistic environments.
GPT-5.4
35.9
GPT-5.2
34.3
Gemini 3.1 Pro Preview
33.5
ARC-AGI
Gemini 3.1 Pro Preview leads by +4.3
ARC-AGI · the original Abstraction and Reasoning Corpus, testing whether AI can solve novel visual pattern recognition tasks without memorization.
GPT-5.4
93.7
GPT-5.2
86.2
Gemini 3.1 Pro Preview
98.0
ARC-AGI-2
Gemini 3.1 Pro Preview leads by +3.1
ARC-AGI-2 · the second iteration of the Abstraction and Reasoning Corpus, testing novel pattern recognition and abstract reasoning without prior training data.
GPT-5.4
74.0
GPT-5.2
52.9
Gemini 3.1 Pro Preview
77.1
Chatbot Arena Elo · Overall
Gemini 3.1 Pro Preview leads by +26.8
GPT-5.4
1465.8
GPT-5.2
1439.5
Gemini 3.1 Pro Preview
1492.6
Chess Puzzles
Gemini 3.1 Pro Preview leads by +6.0
Chess Puzzles · tests strategic and tactical reasoning by having models solve chess puzzle positions, evaluating lookahead and pattern recognition abilities.
GPT-5.4
44.0
GPT-5.2
49.0
Gemini 3.1 Pro Preview
55.0
FrontierMath-2025-02-28-Private
GPT-5.4 leads by +6.9
FrontierMath (Feb 2025) · original research-level math problems created by mathematicians, testing capabilities at the boundary of current AI mathematical reasoning.
GPT-5.4
47.6
GPT-5.2
40.7
Gemini 3.1 Pro Preview
36.9
FrontierMath-Tier-4-2025-07-01-Private
GPT-5.4 leads by +8.3
FrontierMath Tier 4 (Jul 2025) · the most challenging tier of frontier mathematics, containing problems that push the absolute limits of AI mathematical reasoning.
GPT-5.4
27.1
GPT-5.2
18.8
Gemini 3.1 Pro Preview
16.7
GPQA diamond
Gemini 3.1 Pro Preview leads by +1.1
Graduate-Level Google-Proof QA (Diamond set) · expert-crafted questions in physics, biology, and chemistry that are difficult even for domain PhDs.
GPT-5.4
91.1
GPT-5.2
88.5
Gemini 3.1 Pro Preview
92.1
OTIS Mock AIME 2024-2025
GPT-5.2 leads by +0.5
OTIS Mock AIME 2024-2025 · simulated American Invitational Mathematics Examination problems testing advanced problem-solving skills.
GPT-5.4
95.3
GPT-5.2
96.1
Gemini 3.1 Pro Preview
95.6
PostTrainBench
Gemini 3.1 Pro Preview leads by +0.2
GPT-5.4
20.2
GPT-5.2
21.4
Gemini 3.1 Pro Preview
21.6
SimpleQA Verified
Gemini 3.1 Pro Preview leads by +32.5
SimpleQA Verified · short factual questions with verified answers, measuring factual accuracy and the tendency to hallucinate or provide incorrect information.
GPT-5.4
44.8
GPT-5.2
38.9
Gemini 3.1 Pro Preview
77.3
SWE-Bench verified
GPT-5.4 leads by +1.2
SWE-bench Verified · 500 human-validated tasks from 12 real Python repositories (Django, Flask, scikit-learn, sympy, and others). Each task requires the model to produce a git patch that resolves a real GitHub issue and passes the test suite. The verified subset eliminates ambiguous tasks from the original SWE-bench. Claude Mythos Preview leads at 93.9%, crossing 90% for the first time in 2026. Opus 4.6 scores 80.8%. The benchmark remains the most-cited evaluation for code-generation capability.
GPT-5.4
76.9
GPT-5.2
73.8
Gemini 3.1 Pro Preview
75.6
WeirdML
GPT-5.2 leads by +0.1
WeirdML · tests models on unusual and adversarial machine learning tasks that require creative problem-solving beyond standard patterns.
GPT-5.4
57.4
GPT-5.2
72.2
Gemini 3.1 Pro Preview
72.1
Artificial Analysis · Agentic Index
GPT-5.4 leads by +10.3
Artificial Analysis Agentic Index · a composite score measuring how well a model performs in agentic workflows · multi-step tool use, planning, error recovery, and autonomous task completion. Aggregates results from multiple agentic benchmarks including SWE-bench, tool-use tests, and planning evaluations. The canonical single-number metric for "how good is this model as an agent?"
GPT-5.4
69.4
Gemini 3.1 Pro Preview
59.1
Artificial Analysis · Coding Index
GPT-5.4 leads by +1.8
Artificial Analysis Coding Index · a composite score that aggregates performance across multiple coding benchmarks into a single index. Tracks code generation quality, debugging ability, multi-language competence, and real-world software engineering tasks. Used by Artificial Analysis to rank model coding capability in a normalized, comparable format. Useful for developers choosing between models for coding-heavy workloads.
GPT-5.4
57.3
Gemini 3.1 Pro Preview
55.5
Artificial Analysis · Quality Index
Gemini 3.1 Pro Preview leads by +0.0
GPT-5.4
57.2
Gemini 3.1 Pro Preview
57.2
Chatbot Arena Elo · Coding
Gemini 3.1 Pro Preview leads by +52.6
GPT-5.2
1403.1
Gemini 3.1 Pro Preview
1455.7
SimpleBench
Gemini 3.1 Pro Preview leads by +40.6
SimpleBench · tests fundamental reasoning capabilities with straightforward problems designed to expose gaps in basic logical and spatial thinking.
GPT-5.2
35.0
Gemini 3.1 Pro Preview
75.5
Terminal Bench
Gemini 3.1 Pro Preview leads by +13.5
Terminal-Bench 2.0 · evaluates AI agents on real terminal-based coding tasks · writing scripts, debugging, running tests, and managing projects entirely through command-line interaction. Tests both code quality and terminal fluency. Claude Opus 4.7 scores 69.4%, demonstrating significant agentic terminal competence.
GPT-5.2
64.9
Gemini 3.1 Pro Preview
78.4
Full benchmark table
BenchmarkGPT-5.4GPT-5.2Gemini 3.1 Pro Preview
APEX-Agents
APEX-Agents · evaluates AI agents on complex, multi-step tasks requiring planning, tool use, and autonomous decision-making in realistic environments.
35.934.333.5
ARC-AGI
ARC-AGI · the original Abstraction and Reasoning Corpus, testing whether AI can solve novel visual pattern recognition tasks without memorization.
93.786.298.0
ARC-AGI-2
ARC-AGI-2 · the second iteration of the Abstraction and Reasoning Corpus, testing novel pattern recognition and abstract reasoning without prior training data.
74.052.977.1
Chatbot Arena Elo · Overall
1465.81439.51492.6
Chess Puzzles
Chess Puzzles · tests strategic and tactical reasoning by having models solve chess puzzle positions, evaluating lookahead and pattern recognition abilities.
44.049.055.0
FrontierMath-2025-02-28-Private
FrontierMath (Feb 2025) · original research-level math problems created by mathematicians, testing capabilities at the boundary of current AI mathematical reasoning.
47.640.736.9
FrontierMath-Tier-4-2025-07-01-Private
FrontierMath Tier 4 (Jul 2025) · the most challenging tier of frontier mathematics, containing problems that push the absolute limits of AI mathematical reasoning.
27.118.816.7
GPQA diamond
Graduate-Level Google-Proof QA (Diamond set) · expert-crafted questions in physics, biology, and chemistry that are difficult even for domain PhDs.
91.188.592.1
OTIS Mock AIME 2024-2025
OTIS Mock AIME 2024-2025 · simulated American Invitational Mathematics Examination problems testing advanced problem-solving skills.
95.396.195.6
PostTrainBench
20.221.421.6
SimpleQA Verified
SimpleQA Verified · short factual questions with verified answers, measuring factual accuracy and the tendency to hallucinate or provide incorrect information.
44.838.977.3
SWE-Bench verified
SWE-bench Verified · 500 human-validated tasks from 12 real Python repositories (Django, Flask, scikit-learn, sympy, and others). Each task requires the model to produce a git patch that resolves a real GitHub issue and passes the test suite. The verified subset eliminates ambiguous tasks from the original SWE-bench. Claude Mythos Preview leads at 93.9%, crossing 90% for the first time in 2026. Opus 4.6 scores 80.8%. The benchmark remains the most-cited evaluation for code-generation capability.
76.973.875.6
WeirdML
WeirdML · tests models on unusual and adversarial machine learning tasks that require creative problem-solving beyond standard patterns.
57.472.272.1
Artificial Analysis · Agentic Index
Artificial Analysis Agentic Index · a composite score measuring how well a model performs in agentic workflows · multi-step tool use, planning, error recovery, and autonomous task completion. Aggregates results from multiple agentic benchmarks including SWE-bench, tool-use tests, and planning evaluations. The canonical single-number metric for "how good is this model as an agent?"
69.459.1
Artificial Analysis · Coding Index
Artificial Analysis Coding Index · a composite score that aggregates performance across multiple coding benchmarks into a single index. Tracks code generation quality, debugging ability, multi-language competence, and real-world software engineering tasks. Used by Artificial Analysis to rank model coding capability in a normalized, comparable format. Useful for developers choosing between models for coding-heavy workloads.
57.355.5
Artificial Analysis · Quality Index
57.257.2
Chatbot Arena Elo · Coding
1403.11455.7
SimpleBench
SimpleBench · tests fundamental reasoning capabilities with straightforward problems designed to expose gaps in basic logical and spatial thinking.
35.075.5
Terminal Bench
Terminal-Bench 2.0 · evaluates AI agents on real terminal-based coding tasks · writing scripts, debugging, running tests, and managing projects entirely through command-line interaction. Tests both code quality and terminal fluency. Claude Opus 4.7 scores 69.4%, demonstrating significant agentic terminal competence.
64.978.4
Pricing · per 1M tokens · projected $/mo at 10M tokens
ModelInputOutputContextProjected $/mo
OpenAI logoGPT-5.4$2.50$15.001.1M tokens (~525 books)$56.25
OpenAI logoGPT-5.2$1.75$14.00400K tokens (~200 books)$48.13
Google DeepMind logoGemini 3.1 Pro Preview$2.00$12.001.0M tokens (~524 books)$45.00