Gemini 3.1 Pro vs GPT-5.1-Codex-Max

Side-by-side benchmark comparison across knowledge, coding, math, and reasoning.

Quick Verdict

Gemini 3.1 Pro wins overall with a score of 87 vs 77 (10 point difference).Gemini 3.1 Pro wins 2 out of 4 categories.

Knowledge

Gemini 3.1 Pro

Gemini 3.1 Pro

96

GPT-5.1-Codex-Max

95

99
MMLU
98
97
GPQA
96
95
SuperGPQA
94
93
OpenBookQA
92

Coding

GPT-5.1-Codex-Max

Gemini 3.1 Pro

91

GPT-5.1-Codex-Max

94

91
HumanEval
94

Mathematics

Tie

Gemini 3.1 Pro

97.1

GPT-5.1-Codex-Max

97.1

99
AIME 2023
99
99
AIME 2024
99
98
AIME 2025
98
95
HMMT Feb 2023
95
97
HMMT Feb 2024
97
96
HMMT Feb 2025
96
96
BRUMO 2025
96

Reasoning

Gemini 3.1 Pro

Gemini 3.1 Pro

94

GPT-5.1-Codex-Max

93

95
SimpleQA
94
93
MuSR
92

Frequently Asked Questions

Which is better, Gemini 3.1 Pro or GPT-5.1-Codex-Max?

Gemini 3.1 Pro scores higher overall with 87 vs 77, a difference of 10 points across all benchmarks.

Which is better for knowledge tasks, Gemini 3.1 Pro or GPT-5.1-Codex-Max?

Gemini 3.1 Pro leads in knowledge tasks with an average score of 96 vs 95.

Which is better for coding, Gemini 3.1 Pro or GPT-5.1-Codex-Max?

GPT-5.1-Codex-Max leads in coding with an average score of 94 vs 91.

Which is better for math, Gemini 3.1 Pro or GPT-5.1-Codex-Max?

Gemini 3.1 Pro and GPT-5.1-Codex-Max are tied for math with average scores of 97.1.

Which is better for reasoning, Gemini 3.1 Pro or GPT-5.1-Codex-Max?

Gemini 3.1 Pro leads in reasoning with an average score of 94 vs 93.