GPT-5.1-Codex-Max vs GPT-4.1 mini

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

GPT-5.1-Codex-Max is clearly ahead on the aggregate, 87 to 35. The gap is large enough that you do not need to squint at the spreadsheet to see the difference.

GPT-5.1-Codex-Max's sharpest advantage is in mathematics, where it averages 96.6 against 23.1. The single biggest benchmark swing on the page is AIME 2024, 99 to 23.1.

GPT-5.1-Codex-Max is also the more expensive model on tokens at $2.00 input / $8.00 output per 1M tokens, versus $0.40 input / $1.60 output per 1M tokens for GPT-4.1 mini. That is roughly 5.0x on output cost alone. GPT-5.1-Codex-Max is the reasoning model in the pair, while GPT-4.1 mini is not. That usually helps on harder chain-of-thought-heavy tests, but it can also mean more latency and more token spend in real use. GPT-4.1 mini gives you the larger context window at 1M, compared with 400K for GPT-5.1-Codex-Max.

Quick Verdict

Pick GPT-5.1-Codex-Max if you want the stronger benchmark profile. GPT-4.1 mini only becomes the better choice if you want the cheaper token bill or you need the larger 1M context window.

Knowledge

GPT-5.1-Codex-Max

GPT-5.1-Codex-Max

81.5

GPT-4.1 mini

75.9

98
MMLU
87.5
96
GPQA
64.2
94
SuperGPQA
-
92
OpenBookQA
-
82
MMLU-Pro
-
27
HLE
-

Coding

GPT-5.1-Codex-Max

GPT-5.1-Codex-Max

78.7

GPT-4.1 mini

23.6

94
HumanEval
-
75
SWE-bench Verified
23.6
67
LiveCodeBench
-

Mathematics

GPT-5.1-Codex-Max

GPT-5.1-Codex-Max

96.6

GPT-4.1 mini

23.1

99
AIME 2023
-
99
AIME 2024
23.1
98
AIME 2025
-
95
HMMT Feb 2023
-
97
HMMT Feb 2024
-
96
HMMT Feb 2025
-
96
BRUMO 2025
-
93
MATH-500
-

Reasoning

GPT-5.1-Codex-Max
94
SimpleQA
-
92
MuSR
-
92
BBH
-

Instruction Following

GPT-5.1-Codex-Max

GPT-5.1-Codex-Max

91

GPT-4.1 mini

88.5

91
IFEval
88.5

Multilingual

GPT-5.1-Codex-Max
89
MGSM
-

Frequently Asked Questions

Which is better, GPT-5.1-Codex-Max or GPT-4.1 mini?

GPT-5.1-Codex-Max is ahead overall, 87 to 35. The biggest single separator in this matchup is AIME 2024, where the scores are 99 and 23.1.

Which is better for knowledge tasks, GPT-5.1-Codex-Max or GPT-4.1 mini?

GPT-5.1-Codex-Max has the edge for knowledge tasks in this comparison, averaging 81.5 versus 75.9. Inside this category, GPQA is the benchmark that creates the most daylight between them.

Which is better for coding, GPT-5.1-Codex-Max or GPT-4.1 mini?

GPT-5.1-Codex-Max has the edge for coding in this comparison, averaging 78.7 versus 23.6. Inside this category, SWE-bench Verified is the benchmark that creates the most daylight between them.

Which is better for math, GPT-5.1-Codex-Max or GPT-4.1 mini?

GPT-5.1-Codex-Max has the edge for math in this comparison, averaging 96.6 versus 23.1. Inside this category, AIME 2024 is the benchmark that creates the most daylight between them.

Which is better for instruction following, GPT-5.1-Codex-Max or GPT-4.1 mini?

GPT-5.1-Codex-Max has the edge for instruction following in this comparison, averaging 91 versus 88.5. Inside this category, IFEval is the benchmark that creates the most daylight between them.

Last updated: March 9, 2026

Weekly LLM Benchmark Digest

Get notified when new models drop, benchmark scores change, or the leaderboard shifts. One email per week.

Free. No spam. Unsubscribe anytime. We only store derived location metadata for consent routing.