Model comparison

GPT-4.1 mini vs Llama 2-13B

GPT-4.1 mini is the stronger model overall, scoring 33.6 to 29.6 on the Noometry Index.

Last verified . 20 shared benchmarks.

GPT-4.1 mini OpenAI

33.6

Rank #240 Confirmed

Llama 2-13B Meta

29.6

Rank #309 Confirmed

Summary

  • They share 20 benchmarks with published results for both. GPT-4.1 mini scores higher in 4 categories and Llama 2-13B in 4 categories; 6 gaps are clear of the uncertainty.
  • The widest gap is in instruction following, where GPT-4.1 mini leads 73.7 to 53.3.
  • The biggest single-benchmark swing is DTBench: 68.8% for GPT-4.1 mini and 42.2% for Llama 2-13B.
  • Llama 2-13B has downloadable open weights; the other is API-only.

Side by side

GPT-4.1 mini and Llama 2-13B specifications
GPT-4.1 miniLlama 2-13B
ProviderOpenAIMeta
Noometry Index33.629.6
Released2025-04-142023-07-18
WeightsProprietaryOpen
Context window1.05M—
Max output33K—
Input $ / M tokens$0.40—
Output $ / M tokens$1.60—
Results tracked4732

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

Category by category

Coding Too close to call

GPT-4.1 mini: 30.6 (#293), Llama 2-13B: 30.9 (#291)

Coding benchmarks
BenchmarkGPT-4.1 miniLlama 2-13B
LMArena Coding13671062
SWE-bench Verified (bash only)23.9%—
Aider Polyglot32.4%—
SciCode40.4%—
WeirdML37.6%—
BigCodeBench Instruct48.9%—
CadEval16%—

Agentic & Tool Use Not comparable

GPT-4.1 mini: 33.3 (#55), Llama 2-13B: —

Agentic & Tool Use benchmarks
BenchmarkGPT-4.1 miniLlama 2-13B
Berkeley Function Calling Leaderboard50.5%—

Reasoning Llama 2-13B leads

GPT-4.1 mini: 10.8 (#340), Llama 2-13B: 12.8 (#337)

Reasoning benchmarks
BenchmarkGPT-4.1 miniLlama 2-13B
Chess Puzzles7%0%
LMArena Hard Prompts13491051
DTBench68.8%42.2%
Epoch Capabilities Index135.01106.17
ARC-AGI-20%—
Kagi LLM Benchmark48.6%—
ARC-AGI-13.5%—
CritPt0%—
Mystery Game Puzzles7%—
LMCA21.1%—
BIG-Bench Hard—58.2%
HellaSwag—80.7%
LAMBADA—76.5%
PIQA—80.8%
WinoGrande—72.8%

Math Llama 2-13B leads

GPT-4.1 mini: 24.1 (#270), Llama 2-13B: 31.1 (#229)

Math benchmarks
BenchmarkGPT-4.1 miniLlama 2-13B
LMArena Math13431065
FrontierMath (Tiers 1-3)6.7%—
OTIS Mock AIME 2024-202544.7%—
Omni-MATH49.1%—
MATH Level 587.3%—
FrontierMath (Feb 2025 set)4.5%—
GSM8K—36.9%

Knowledge GPT-4.1 mini leads

GPT-4.1 mini: 34.7 (#194), Llama 2-13B: 28.1 (#249)

Knowledge benchmarks
BenchmarkGPT-4.1 miniLlama 2-13B
LMArena Expert13381030
GPQA Diamond65.8%—
SimpleQA Verified12.7%—
MMLU-Pro78.3%—
GPQA (HELM)61.4%—
ARC (AI2) Challenge—60.3%
BoolQ—82.4%
MMLU—55.6%
OpenBookQA—57%
TriviaQA—79.6%

Multimodal Not comparable

GPT-4.1 mini: 35.8 (#82), Llama 2-13B: —

Multimodal benchmarks
BenchmarkGPT-4.1 miniLlama 2-13B
LMArena Vision1181—
ScienceQA—55.8%

Multilingual GPT-4.1 mini leads

GPT-4.1 mini: 45.7 (#166), Llama 2-13B: 26.5 (#279)

Multilingual benchmarks
BenchmarkGPT-4.1 miniLlama 2-13B
LMArena Non-English13181024
LMArena Chinese13291001
LMArena French13581044
LMArena German13511009
LMArena Japanese1290894
LMArena Korean1298953
LMArena Russian13241055
LMArena Spanish13191087

Instruction Following GPT-4.1 mini leads

GPT-4.1 mini: 73.7 (#118), Llama 2-13B: 53.3 (#287)

Instruction Following benchmarks
BenchmarkGPT-4.1 miniLlama 2-13B
LMArena Instruction Following13331045
IFEval90.4%—

Long Context Too close to call

GPT-4.1 mini: 31.8 (#275), Llama 2-13B: 32.3 (#269)

Long Context benchmarks
BenchmarkGPT-4.1 miniLlama 2-13B
LMArena Longer Query13441064
Fiction.LiveBench44.4%—

Writing & Preference GPT-4.1 mini leads

GPT-4.1 mini: 48.6 (#199), Llama 2-13B: 29.8 (#289)

Writing & Preference benchmarks
BenchmarkGPT-4.1 miniLlama 2-13B
LMArena Text13401084
LMArena Creative Writing13001047
LMArena Multi-Turn13541050
EQ-Bench Creative Writing1147—
WildBench83.8%—

Frequently asked questions

Is GPT-4.1 mini better than Llama 2-13B?

GPT-4.1 mini is the stronger model overall, scoring 33.6 to 29.6 on the Noometry Index.

Is GPT-4.1 mini or Llama 2-13B better for coding?

They score almost the same on coding (30.6 vs 30.9); test both on your own repository before choosing.

How many benchmarks do GPT-4.1 mini and Llama 2-13B share?

20 benchmarks have published results for both models. GPT-4.1 mini has 47 scored results on Noometry and Llama 2-13B has 32.

Related comparisons

Go deeper