Model comparison

GPT-5.4 mini vs Llama 2-7B

GPT-5.4 mini is the stronger model overall, scoring 45.0 to 29.1 on the Noometry Index.

Last verified . 17 shared benchmarks.

GPT-5.4 mini OpenAI

45.0

Rank #76 Confirmed

Llama 2-7B Meta

29.1

Rank #317 Confirmed

Summary

  • They share 17 benchmarks with published results for both. GPT-5.4 mini scores higher in 8 categories and Llama 2-7B in 0 categories; 8 gaps are clear of the uncertainty.
  • The widest gap is in writing & preference, where GPT-5.4 mini leads 64.0 to 28.0.
  • The biggest single-benchmark swing is Chess Puzzles: 24% for GPT-5.4 mini and 0% for Llama 2-7B.
  • Llama 2-7B has downloadable open weights; the other is API-only.

Side by side

GPT-5.4 mini and Llama 2-7B specifications
GPT-5.4 miniLlama 2-7B
ProviderOpenAIMeta
Noometry Index45.029.1
Released2026-03-172023-07-18
WeightsProprietaryOpen
Context window400K—
Max output128K—
Input $ / M tokens$0.75—
Output $ / M tokens$4.50—
Results tracked4629

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding GPT-5.4 mini leads

GPT-5.4 mini: 45.2 (#72), Llama 2-7B: 29.2 (#307)

Coding benchmarks
BenchmarkGPT-5.4 miniLlama 2-7B
LMArena Coding14381002
FrontierCode27%—
LMArena WebDev1397—
SciCode49.9%—
WeirdML60.3%—
ALE-Bench1,189—

Agentic & Tool Use Not comparable

GPT-5.4 mini: 29.9 (#81), Llama 2-7B: —

Agentic & Tool Use benchmarks
BenchmarkGPT-5.4 miniLlama 2-7B
DeepResearch Bench36.3%—

Reasoning GPT-5.4 mini leads

GPT-5.4 mini: 30.4 (#85), Llama 2-7B: 15.7 (#312)

Reasoning benchmarks
BenchmarkGPT-5.4 miniLlama 2-7B
Chess Puzzles24%0%
LMArena Hard Prompts14241009
Epoch Capabilities Index148.8499.06
ARC-AGI-218.9%—
Kagi LLM Benchmark37.9%—
NYT Connections (extended)61.8%—
ARC-AGI-163.7%—
CritPt10%—
Thematic Generalization61.7%—
Mystery Game Puzzles11%—
DTBench80%—
LMCA40.8%—
BIG-Bench Hard—39.2%
ForecastBench57—
HellaSwag—77.2%
LAMBADA—73.3%
PIQA—78.8%
WinoGrande—69.2%

Math GPT-5.4 mini leads

GPT-5.4 mini: 45.5 (#75), Llama 2-7B: 30.7 (#233)

Math benchmarks
BenchmarkGPT-5.4 miniLlama 2-7B
LMArena Math14191042
FrontierMath (Tiers 1-3)51.2%—
FrontierMath Tier 49.8%—
OTIS Mock AIME 2024-202588.9%—
ProofBench21%—
FrontierMath (Feb 2025 set)28.3%—
FrontierMath Tier 4 (v1)2.1%—
GSM8K—16.7%

Knowledge GPT-5.4 mini leads

GPT-5.4 mini: 51.5 (#67), Llama 2-7B: 28.2 (#248)

Knowledge benchmarks
BenchmarkGPT-5.4 miniLlama 2-7B
LMArena Expert14351036
GPQA Diamond86.9%—
SimpleQA Verified29.4%—
Vectara Hallucination Rate5.5%—
ARC (AI2) Challenge—45.9%
BoolQ—77.9%
MMLU—45.8%
OpenBookQA—58.6%
TriviaQA—73.7%

Multimodal Not comparable

GPT-5.4 mini: 39.7 (#56), Llama 2-7B: —

Multimodal benchmarks
BenchmarkGPT-5.4 miniLlama 2-7B
LMArena Vision1245—
ScienceQA—43.1%

Multilingual GPT-5.4 mini leads

GPT-5.4 mini: 51.9 (#96), Llama 2-7B: 23.8 (#293)

Multilingual benchmarks
BenchmarkGPT-5.4 miniLlama 2-7B
LMArena Non-English1405973
LMArena Chinese1446973
LMArena French1440970
LMArena German1409978
LMArena Russian1417995
LMArena Spanish14051007
LMArena Japanese1374—
LMArena Korean1368—

Instruction Following GPT-5.4 mini leads

GPT-5.4 mini: 74.1 (#102), Llama 2-7B: 50.8 (#298)

Instruction Following benchmarks
BenchmarkGPT-5.4 miniLlama 2-7B
LMArena Instruction Following14051006

Long Context GPT-5.4 mini leads

GPT-5.4 mini: 43.0 (#112), Llama 2-7B: 30.4 (#287)

Long Context benchmarks
BenchmarkGPT-5.4 miniLlama 2-7B
LMArena Longer Query1407999

Writing & Preference GPT-5.4 mini leads

GPT-5.4 mini: 64.0 (#58), Llama 2-7B: 28.0 (#298)

Writing & Preference benchmarks
BenchmarkGPT-5.4 miniLlama 2-7B
LMArena Text14121053
LMArena Creative Writing13701033
LMArena Multi-Turn14291029
EQ-Bench Creative Writing1665—

Frequently asked questions

Is GPT-5.4 mini better than Llama 2-7B?

GPT-5.4 mini is the stronger model overall, scoring 45.0 to 29.1 on the Noometry Index.

Is GPT-5.4 mini or Llama 2-7B better for coding?

GPT-5.4 mini scores higher on coding benchmarks: 45.2 versus 29.2 in the Noometry coding category.

How many benchmarks do GPT-5.4 mini and Llama 2-7B share?

17 benchmarks have published results for both models. GPT-5.4 mini has 46 scored results on Noometry and Llama 2-7B has 29.

Related comparisons

Go deeper