Model comparison

GPT-4o vs Llama 2-13B

GPT-4o and Llama 2-13B score almost the same on the Noometry Index (28.5 vs 29.1), so choose on price, context window or the category you care about most.

Last verified . 22 shared benchmarks.

GPT-4o OpenAI

28.5

Rank #316 Confirmed

Llama 2-13B Meta

29.1

Rank #304 Confirmed

Summary

  • They share 22 benchmarks with published results for both. GPT-4o scores higher in 5 categories and Llama 2-13B in 3 categories; 8 gaps are clear of the uncertainty.
  • The widest gap is in writing & preference, where GPT-4o leads 52.8 to 30.0.
  • The biggest single-benchmark swing is DTBench: 64.5% for GPT-4o and 42.2% for Llama 2-13B.
  • Llama 2-13B has downloadable open weights; the other is API-only.

Side by side

GPT-4o and Llama 2-13B specifications
GPT-4oLlama 2-13B
ProviderOpenAIMeta
Noometry Index28.529.1
Released2024-05-132023-07-18
WeightsProprietaryOpen
Context window128K—
Max output16K—
Input $ / M tokens$2.50—
Output $ / M tokens$10—
Results tracked7232

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

Category by category

Coding Llama 2-13B leads

GPT-4o: 25.1 (#323), Llama 2-13B: 30.4 (#287)

Coding benchmarks
BenchmarkGPT-4oLlama 2-13B
LMArena Coding12971062
SWE-bench Verified31%—
SWE-bench Verified (bash only)21.6%—
Aider Polyglot45.3%—
GSO0%—
WeirdML25.1%—
BigCodeBench Instruct51.1%—
LiveBench Coding51.4%—
BigCodeBench Complete61.1%—
CadEval26%—
HumanEval+87.2%—
MBPP+72.2%—

Agentic & Tool Use Not comparable

GPT-4o: 20.8 (#133), Llama 2-13B: —

Agentic & Tool Use benchmarks
BenchmarkGPT-4oLlama 2-13B
GDPval9.9%—
TheAgentCompany8.6%—
Cybench12.5%—
BALROG32.3%—
LMArena Search1006—
METR Time Horizons40.8%—

Reasoning Llama 2-13B leads

GPT-4o: 9.4 (#338), Llama 2-13B: 12.3 (#333)

Reasoning benchmarks
BenchmarkGPT-4oLlama 2-13B
Chess Puzzles13%0%
LMArena Hard Prompts12811051
DTBench64.5%42.2%
Epoch Capabilities Index128.97105.8
ARC-AGI-20%—
SimpleBench17.8%—
ARC-AGI-14.5%—
CritPt0%—
EnigmaEval0.8%—
LiveBench Reasoning55.8%—
LiveBench Data Analysis60.9%—
LMCA16.6%—
BIG-Bench Hard—58.2%
ForecastBench57.7—
HellaSwag—80.7%
LAMBADA—76.5%
LiveBench55.3%—
PIQA—80.8%
WinoGrande—72.8%

Math Llama 2-13B leads

GPT-4o: 10.2 (#303), Llama 2-13B: 28.7 (#226)

Math benchmarks
BenchmarkGPT-4oLlama 2-13B
LMArena Math12851065
FrontierMath (Tiers 1-3)0.4%—
OTIS Mock AIME 2024-20256.4%—
Omni-MATH29.3%—
LiveBench Math49.5%—
MATH Level 553.3%—
FrontierMath (Feb 2025 set)0.3%—
GSM8K—36.9%

Knowledge GPT-4o leads

GPT-4o: 28.8 (#235), Llama 2-13B: 27.5 (#244)

Knowledge benchmarks
BenchmarkGPT-4oLlama 2-13B
LMArena Expert12501030
MMLU88.1%55.6%
GPQA Diamond49.2%—
Humanity's Last Exam2.7%—
SimpleQA Verified26%—
MMLU-Pro71.3%—
Confabulations15.3%—
Vectara Hallucination Rate9.6%—
GPQA (HELM)52%—
ARC (AI2) Challenge—60.3%
BoolQ—82.4%
OpenBookQA—57%
TriviaQA—79.6%

Multimodal Not comparable

GPT-4o: 33.9 (#85), Llama 2-13B: —

Multimodal benchmarks
BenchmarkGPT-4oLlama 2-13B
ScienceQA88.5%55.8%
LMArena Vision1137—
Video-MME71.9%—
GeoBench71%—
VPCT40%—

Multilingual GPT-4o leads

GPT-4o: 43.4 (#181), Llama 2-13B: 26.7 (#274)

Multilingual benchmarks
BenchmarkGPT-4oLlama 2-13B
LMArena Non-English12831024
LMArena Chinese12771001
LMArena French13031043
LMArena German12821009
LMArena Japanese1257894
LMArena Korean1234953
LMArena Russian12861055
LMArena Spanish12921086

Instruction Following GPT-4o leads

GPT-4o: 66.8 (#202), Llama 2-13B: 53.5 (#282)

Instruction Following benchmarks
BenchmarkGPT-4oLlama 2-13B
LMArena Instruction Following12781046
LiveBench Instruction Following68.6%—
IFEval81.7%—

Long Context GPT-4o leads

GPT-4o: 39.4 (#174), Llama 2-13B: 32.3 (#264)

Long Context benchmarks
BenchmarkGPT-4oLlama 2-13B
LMArena Longer Query12891064
Fiction.LiveBench66.7%—

Writing & Preference GPT-4o leads

GPT-4o: 52.8 (#160), Llama 2-13B: 30.0 (#284)

Writing & Preference benchmarks
BenchmarkGPT-4oLlama 2-13B
LMArena Text13001085
LMArena Creative Writing12911047
LMArena Multi-Turn13021050
Short-Story Creative Writing81.8%—
WildBench82.8%—
LiveBench Language47.6%—

Frequently asked questions

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

GPT-4o and Llama 2-13B score almost the same on the Noometry Index (28.5 vs 29.1), so choose on price, context window or the category you care about most.

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

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

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

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

Related comparisons

Go deeper