Claude 4.1 Opus vs GPT-5.2-Codex

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

Quick Verdict

GPT-5.2-Codex wins overall with a score of 82 vs 61 (21 point difference).GPT-5.2-Codex wins 4 out of 4 categories.

Knowledge

GPT-5.2-Codex

Claude 4.1 Opus

74.5

GPT-5.2-Codex

96

76
MMLU
99
76
GPQA
97
74
SuperGPQA
95
72
OpenBookQA
93

Coding

GPT-5.2-Codex

Claude 4.1 Opus

68

GPT-5.2-Codex

95

68
HumanEval
95

Mathematics

GPT-5.2-Codex

Claude 4.1 Opus

75

GPT-5.2-Codex

97.1

76
AIME 2023
99
78
AIME 2024
99
77
AIME 2025
98
72
HMMT Feb 2023
95
74
HMMT Feb 2024
97
73
HMMT Feb 2025
96
75
BRUMO 2025
96

Reasoning

GPT-5.2-Codex

Claude 4.1 Opus

73

GPT-5.2-Codex

94

74
SimpleQA
95
72
MuSR
93

Frequently Asked Questions

Which is better, Claude 4.1 Opus or GPT-5.2-Codex?

GPT-5.2-Codex scores higher overall with 82 vs 61, a difference of 21 points across all benchmarks.

Which is better for knowledge tasks, Claude 4.1 Opus or GPT-5.2-Codex?

GPT-5.2-Codex leads in knowledge tasks with an average score of 96 vs 74.5.

Which is better for coding, Claude 4.1 Opus or GPT-5.2-Codex?

GPT-5.2-Codex leads in coding with an average score of 95 vs 68.

Which is better for math, Claude 4.1 Opus or GPT-5.2-Codex?

GPT-5.2-Codex leads in math with an average score of 97.1 vs 75.

Which is better for reasoning, Claude 4.1 Opus or GPT-5.2-Codex?

GPT-5.2-Codex leads in reasoning with an average score of 94 vs 73.