Llama 4 Maverick vs GPT-5 nano

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

Llama 4 Maverick is clearly ahead on the aggregate, 42 to 31. The gap is large enough that you do not need to squint at the spreadsheet to see the difference.

GPT-5 nano is also the more expensive model on tokens at $0.05 input / $0.40 output per 1M tokens, versus $0.00 input / $0.00 output per 1M tokens for Llama 4 Maverick. That is roughly Infinityx on output cost alone. GPT-5 nano is the reasoning model in the pair, while Llama 4 Maverick 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. Llama 4 Maverick gives you the larger context window at 1M, compared with 400K for GPT-5 nano.

Quick Verdict

Pick Llama 4 Maverick if you want the stronger benchmark profile. GPT-5 nano only becomes the better choice if mathematics is the priority or you want the stronger reasoning-first profile.

Knowledge

GPT-5 nano

Llama 4 Maverick

38.7

GPT-5 nano

71.2

46
MMLU
-
45
GPQA
71.2
43
SuperGPQA
-
41
OpenBookQA
-
53
MMLU-Pro
-
4
HLE
-

Coding

Llama 4 Maverick
38
HumanEval
-
13
SWE-bench Verified
-
15
LiveCodeBench
-

Mathematics

GPT-5 nano

Llama 4 Maverick

46.8

GPT-5 nano

85.2

46
AIME 2023
-
48
AIME 2024
-
47
AIME 2025
85.2
42
HMMT Feb 2023
-
44
HMMT Feb 2024
-
43
HMMT Feb 2025
-
45
BRUMO 2025
-
59
MATH-500
-

Reasoning

Llama 4 Maverick
44
SimpleQA
-
42
MuSR
-
63
BBH
-

Instruction Following

Llama 4 Maverick
68
IFEval
-

Multilingual

Llama 4 Maverick
63
MGSM
-

Frequently Asked Questions

Which is better, Llama 4 Maverick or GPT-5 nano?

Llama 4 Maverick is ahead overall, 42 to 31. The biggest single separator in this matchup is AIME 2025, where the scores are 47 and 85.2.

Which is better for knowledge tasks, Llama 4 Maverick or GPT-5 nano?

GPT-5 nano has the edge for knowledge tasks in this comparison, averaging 71.2 versus 38.7. Inside this category, GPQA is the benchmark that creates the most daylight between them.

Which is better for math, Llama 4 Maverick or GPT-5 nano?

GPT-5 nano has the edge for math in this comparison, averaging 85.2 versus 46.8. Inside this category, AIME 2025 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.