Model comparison

GPT-4o mini vs Llama 2-13B

Llama 2-13B is the stronger model overall, scoring 29.6 to 25.5 on the Noometry Index.

Last verified . 24 shared benchmarks.

GPT-4o mini OpenAI

25.5

Rank #343 Confirmed

Llama 2-13B Meta

29.6

Rank #309 Confirmed

Summary

  • They share 24 benchmarks with published results for both. GPT-4o mini scores higher in 4 categories and Llama 2-13B in 4 categories; 8 gaps are clear of the uncertainty.
  • The widest gap is in math, where Llama 2-13B leads 31.1 to 10.4.
  • The biggest single-benchmark swing is DTBench: 54.4% for GPT-4o mini and 42.2% for Llama 2-13B.
  • Llama 2-13B has downloadable open weights; the other is API-only.

Side by side

GPT-4o mini and Llama 2-13B specifications
GPT-4o miniLlama 2-13B
ProviderOpenAIMeta
Noometry Index25.529.6
Released2024-07-182023-07-18
WeightsProprietaryOpen
Context window128K—
Max output16K—
Input $ / M tokens$0.15—
Output $ / M tokens$0.60—
Results tracked6032

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

Category by category

Coding Llama 2-13B leads

GPT-4o mini: 22.0 (#335), Llama 2-13B: 30.9 (#291)

Coding benchmarks
BenchmarkGPT-4o miniLlama 2-13B
LMArena Coding12901062
Aider Polyglot3.6%—
WeirdML11.8%—
BigCodeBench Instruct46.1%—
LiveBench Coding43.1%—
BigCodeBench Complete57.4%—
HumanEval+83.5%—
MBPP+72.2%—

Agentic & Tool Use Not comparable

GPT-4o mini: 27.5 (#101), Llama 2-13B: —

Agentic & Tool Use benchmarks
BenchmarkGPT-4o miniLlama 2-13B
BALROG17.4%—

Reasoning Llama 2-13B leads

GPT-4o mini: 8.7 (#347), Llama 2-13B: 12.8 (#337)

Reasoning benchmarks
BenchmarkGPT-4o miniLlama 2-13B
Chess Puzzles0%0%
LMArena Hard Prompts12671051
DTBench54.4%42.2%
Epoch Capabilities Index126.56106.17
PIQA88.7%80.8%
ARC-AGI-20%—
SimpleBench10.7%—
Kagi LLM Benchmark28.8%—
LiveBench Reasoning32.8%—
Mystery Game Puzzles12%—
LiveBench Data Analysis50%—
LMCA10.4%—
BIG-Bench Hard—58.2%
HellaSwag—80.7%
LAMBADA—76.5%
LiveBench41.3%—
WinoGrande—72.8%

Math Llama 2-13B leads

GPT-4o mini: 10.4 (#314), Llama 2-13B: 31.1 (#229)

Math benchmarks
BenchmarkGPT-4o miniLlama 2-13B
LMArena Math12671065
GSM8K91.3%36.9%
FrontierMath (Tiers 1-3)0.7%—
OTIS Mock AIME 2024-20256.9%—
Omni-MATH28%—
LiveBench Math36.3%—
MATH Level 552.6%—

Knowledge Llama 2-13B leads

GPT-4o mini: 17.7 (#284), Llama 2-13B: 28.1 (#249)

Knowledge benchmarks
BenchmarkGPT-4o miniLlama 2-13B
LMArena Expert12351030
BoolQ88.7%82.4%
MMLU81.8%55.6%
GPQA Diamond37.7%—
SimpleQA Verified8.3%—
MMLU-Pro60.3%—
Confabulations37.2%—
GPQA (HELM)36.8%—
ARC (AI2) Challenge—60.3%
OpenBookQA—57%
TriviaQA—79.6%

Multimodal Not comparable

GPT-4o mini: 25.9 (#122), Llama 2-13B: —

Multimodal benchmarks
BenchmarkGPT-4o miniLlama 2-13B
LMArena Vision1066—
Video-MME64.8%—
GeoBench64%—
VPCT34%—
ScienceQA—55.8%

Multilingual GPT-4o mini leads

GPT-4o mini: 42.0 (#199), Llama 2-13B: 26.5 (#279)

Multilingual benchmarks
BenchmarkGPT-4o miniLlama 2-13B
LMArena Non-English12661024
LMArena Chinese12651001
LMArena French12971044
LMArena German12721009
LMArena Japanese1216894
LMArena Korean1195953
LMArena Russian12751055
LMArena Spanish12761087

Instruction Following GPT-4o mini leads

GPT-4o mini: 61.9 (#239), Llama 2-13B: 53.3 (#287)

Instruction Following benchmarks
BenchmarkGPT-4o miniLlama 2-13B
LMArena Instruction Following12581045
LiveBench Instruction Following56.8%—
IFEval78.2%—

Long Context GPT-4o mini leads

GPT-4o mini: 39.1 (#186), Llama 2-13B: 32.3 (#269)

Long Context benchmarks
BenchmarkGPT-4o miniLlama 2-13B
LMArena Longer Query12891064

Writing & Preference GPT-4o mini leads

GPT-4o mini: 39.5 (#248), Llama 2-13B: 29.8 (#289)

Writing & Preference benchmarks
BenchmarkGPT-4o miniLlama 2-13B
LMArena Text12861084
LMArena Creative Writing12681047
LMArena Multi-Turn12851050
Short-Story Creative Writing67.2%—
EQ-Bench Creative Writing873—
WildBench79.1%—
LiveBench Language28.6%—

Frequently asked questions

Is GPT-4o mini better than Llama 2-13B?

Llama 2-13B is the stronger model overall, scoring 29.6 to 25.5 on the Noometry Index.

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

Llama 2-13B scores higher on coding benchmarks: 30.9 versus 22.0 in the Noometry coding category.

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

24 benchmarks have published results for both models. GPT-4o mini has 60 scored results on Noometry and Llama 2-13B has 32.

Related comparisons

Go deeper