Model comparison

GPT-4o vs Llama 3-8B

GPT-4o is the stronger model overall, scoring 28.5 to 25.3 on the Noometry Index. Llama 3-8B costs 31× less per token, which makes it the better buy when GPT-4o's lead doesn't matter for your workload.

Last verified . 29 shared benchmarks.

GPT-4o OpenAI

28.5

Rank #316 Confirmed

Llama 3-8B Meta

25.3

Rank #338 Confirmed

Summary

  • They share 29 benchmarks with published results for both. GPT-4o scores higher in 6 categories and Llama 3-8B in 2 categories; 8 gaps are clear of the uncertainty.
  • The widest gap is in knowledge, where GPT-4o leads 28.8 to 7.8.
  • The biggest single-benchmark swing is MATH Level 5: 53.3% for GPT-4o and 6.1% for Llama 3-8B.
  • Llama 3-8B is cheaper at $0.14 / $0.14 per million input/output tokens, against $2.50 / $10 for GPT-4o.
  • GPT-4o accepts more context: 128K tokens versus 8K.
  • Llama 3-8B has downloadable open weights; the other is API-only.

Side by side

GPT-4o and Llama 3-8B specifications
GPT-4oLlama 3-8B
ProviderOpenAIMeta
Noometry Index28.525.3
Released2024-05-132024-04-18
WeightsProprietaryOpen
Context window128K8K
Max output16K8K
Input $ / M tokens$2.50$0.14
Output $ / M tokens$10$0.14
Results tracked7234

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

Category by category

Coding Llama 3-8B leads

GPT-4o: 25.1 (#323), Llama 3-8B: 30.5 (#285)

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

Agentic & Tool Use Not comparable

GPT-4o: 20.8 (#133), Llama 3-8B: —

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

Reasoning Llama 3-8B leads

GPT-4o: 9.4 (#338), Llama 3-8B: 13.8 (#321)

Reasoning benchmarks
BenchmarkGPT-4oLlama 3-8B
Chess Puzzles13%0%
LMArena Hard Prompts12811133
DTBench64.5%43.9%
Epoch Capabilities Index128.97116.33
ForecastBench57.758.6
ARC-AGI-20%—
SimpleBench17.8%—
ARC-AGI-14.5%—
CritPt0%—
EnigmaEval0.8%—
LiveBench Reasoning55.8%—
LiveBench Data Analysis60.9%—
LMCA16.6%—
Adversarial NLI—57.3%
LiveBench55.3%—
WinoGrande—75.7%

Math GPT-4o leads

GPT-4o: 10.2 (#303), Llama 3-8B: 8.3 (#317)

Math benchmarks
BenchmarkGPT-4oLlama 3-8B
OTIS Mock AIME 2024-20256.4%1.9%
LMArena Math12851151
MATH Level 553.3%6.1%
FrontierMath (Tiers 1-3)0.4%—
Omni-MATH29.3%—
LiveBench Math49.5%—
FrontierMath (Feb 2025 set)0.3%—

Knowledge GPT-4o leads

GPT-4o: 28.8 (#235), Llama 3-8B: 7.8 (#303)

Knowledge benchmarks
BenchmarkGPT-4oLlama 3-8B
GPQA Diamond49.2%26.1%
LMArena Expert12501113
MMLU88.1%68.8%
Humanity's Last Exam2.7%—
SimpleQA Verified26%—
MMLU-Pro71.3%—
Confabulations15.3%—
Vectara Hallucination Rate9.6%—
GPQA (HELM)52%—
ARC (AI2) Challenge—82.8%
OpenBookQA—82.6%
TriviaQA—67.7%

Multimodal Not comparable

GPT-4o: 33.9 (#85), Llama 3-8B: —

Multimodal benchmarks
BenchmarkGPT-4oLlama 3-8B
LMArena Vision1137—
Video-MME71.9%—
GeoBench71%—
VPCT40%—
ScienceQA88.5%—

Multilingual GPT-4o leads

GPT-4o: 43.4 (#181), Llama 3-8B: 31.0 (#256)

Multilingual benchmarks
BenchmarkGPT-4oLlama 3-8B
LMArena Non-English12831098
LMArena Chinese12771076
LMArena French13031158
LMArena German12821104
LMArena Japanese1257967
LMArena Korean12341003
LMArena Russian12861109
LMArena Spanish12921172

Instruction Following GPT-4o leads

GPT-4o: 66.8 (#202), Llama 3-8B: 58.7 (#255)

Instruction Following benchmarks
BenchmarkGPT-4oLlama 3-8B
LMArena Instruction Following12781127
LiveBench Instruction Following68.6%—
IFEval81.7%—

Long Context GPT-4o leads

GPT-4o: 39.4 (#174), Llama 3-8B: 34.2 (#246)

Long Context benchmarks
BenchmarkGPT-4oLlama 3-8B
LMArena Longer Query12891128
Fiction.LiveBench66.7%—

Writing & Preference GPT-4o leads

GPT-4o: 52.8 (#160), Llama 3-8B: 37.7 (#251)

Writing & Preference benchmarks
BenchmarkGPT-4oLlama 3-8B
LMArena Text13001166
LMArena Creative Writing12911150
LMArena Multi-Turn13021152
Short-Story Creative Writing81.8%—
WildBench82.8%—
LiveBench Language47.6%—

Frequently asked questions

Is GPT-4o better than Llama 3-8B?

GPT-4o is the stronger model overall, scoring 28.5 to 25.3 on the Noometry Index. Llama 3-8B costs 31× less per token, which makes it the better buy when GPT-4o's lead doesn't matter for your workload.

Which is cheaper, GPT-4o or Llama 3-8B?

Llama 3-8B is cheaper. It lists at $0.14 per million input tokens and $0.14 per million output tokens; GPT-4o lists at $2.50 and $10.

Is GPT-4o or Llama 3-8B better for coding?

Llama 3-8B scores higher on coding benchmarks: 30.5 versus 25.1 in the Noometry coding category.

Which has the bigger context window?

GPT-4o does, with 128K tokens against 8K.

How many benchmarks do GPT-4o and Llama 3-8B share?

29 benchmarks have published results for both models. GPT-4o has 72 scored results on Noometry and Llama 3-8B has 34.

Related comparisons

Go deeper