Grok 4 vs GPT-4.1 nano

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

Grok 4 is clearly ahead on the aggregate, 74 to 23. The gap is large enough that you do not need to squint at the spreadsheet to see the difference.

Grok 4's sharpest advantage is in mathematics, where it averages 86.1 against 9.8. The single biggest benchmark swing on the page is AIME 2024, 89 to 9.8. GPT-4.1 nano does hit back in instruction following, so the answer changes if that is the part of the workload you care about most.

GPT-4.1 nano gives you the larger context window at 1M, compared with 128K for Grok 4.

Quick Verdict

Pick Grok 4 if you want the stronger benchmark profile. GPT-4.1 nano only becomes the better choice if instruction following is the priority or you need the larger 1M context window.

Knowledge

Grok 4

Grok 4

72

GPT-4.1 nano

65.2

87
MMLU
80.1
86
GPQA
50.3
84
SuperGPQA
-
82
OpenBookQA
-
77
MMLU-Pro
-
16
HLE
-

Coding

Grok 4
79
HumanEval
-
48
SWE-bench Verified
-
37
LiveCodeBench
-

Mathematics

Grok 4

Grok 4

86.1

GPT-4.1 nano

9.8

87
AIME 2023
-
89
AIME 2024
9.8
88
AIME 2025
-
84
HMMT Feb 2023
-
86
HMMT Feb 2024
-
85
HMMT Feb 2025
-
87
BRUMO 2025
-
83
MATH-500
-

Reasoning

Grok 4
83
SimpleQA
-
81
MuSR
-
83
BBH
-

Instruction Following

GPT-4.1 nano

Grok 4

82

GPT-4.1 nano

83.2

82
IFEval
83.2

Multilingual

Grok 4
84
MGSM
-

Frequently Asked Questions

Which is better, Grok 4 or GPT-4.1 nano?

Grok 4 is ahead overall, 74 to 23. The biggest single separator in this matchup is AIME 2024, where the scores are 89 and 9.8.

Which is better for knowledge tasks, Grok 4 or GPT-4.1 nano?

Grok 4 has the edge for knowledge tasks in this comparison, averaging 72 versus 65.2. Inside this category, GPQA is the benchmark that creates the most daylight between them.

Which is better for math, Grok 4 or GPT-4.1 nano?

Grok 4 has the edge for math in this comparison, averaging 86.1 versus 9.8. Inside this category, AIME 2024 is the benchmark that creates the most daylight between them.

Which is better for instruction following, Grok 4 or GPT-4.1 nano?

GPT-4.1 nano has the edge for instruction following in this comparison, averaging 83.2 versus 82. 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.