GPT-5.1-Codex-Max vs Grok 4

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

Quick Verdict

GPT-5.1-Codex-Max wins overall with a score of 77 vs 69 (8 point difference).GPT-5.1-Codex-Max wins 4 out of 4 categories.

Knowledge

GPT-5.1-Codex-Max

GPT-5.1-Codex-Max

95

Grok 4

84.8

98
MMLU
87
96
GPQA
86
94
SuperGPQA
84
92
OpenBookQA
82

Coding

GPT-5.1-Codex-Max

GPT-5.1-Codex-Max

94

Grok 4

79

94
HumanEval
79

Mathematics

GPT-5.1-Codex-Max

GPT-5.1-Codex-Max

97.1

Grok 4

86.6

99
AIME 2023
87
99
AIME 2024
89
98
AIME 2025
88
95
HMMT Feb 2023
84
97
HMMT Feb 2024
86
96
HMMT Feb 2025
85
96
BRUMO 2025
87

Reasoning

GPT-5.1-Codex-Max

GPT-5.1-Codex-Max

93

Grok 4

82

94
SimpleQA
83
92
MuSR
81

Frequently Asked Questions

Which is better, GPT-5.1-Codex-Max or Grok 4?

GPT-5.1-Codex-Max scores higher overall with 77 vs 69, a difference of 8 points across all benchmarks.

Which is better for knowledge tasks, GPT-5.1-Codex-Max or Grok 4?

GPT-5.1-Codex-Max leads in knowledge tasks with an average score of 95 vs 84.8.

Which is better for coding, GPT-5.1-Codex-Max or Grok 4?

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

Which is better for math, GPT-5.1-Codex-Max or Grok 4?

GPT-5.1-Codex-Max leads in math with an average score of 97.1 vs 86.6.

Which is better for reasoning, GPT-5.1-Codex-Max or Grok 4?

GPT-5.1-Codex-Max leads in reasoning with an average score of 93 vs 82.