Model comparison

GPT-4o vs Llama 3.1-8B

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

Last verified . 37 shared benchmarks.

GPT-4o OpenAI

28.6

Rank #324 Confirmed

Llama 3.1-8B Meta

23.0

Rank #352 Confirmed

Summary

  • They share 37 benchmarks with published results for both. GPT-4o scores higher in 7 categories and Llama 3.1-8B in 2 categories; 8 gaps are clear of the uncertainty.
  • The widest gap is in writing & preference, where GPT-4o leads 52.6 to 29.7.
  • The biggest single-benchmark swing is MMLU-Pro: 71.3% for GPT-4o and 40.6% for Llama 3.1-8B.
  • Llama 3.1-8B is cheaper at $0.05 / $0.08 per million input/output tokens, against $2.50 / $10 for GPT-4o.
  • Llama 3.1-8B has downloadable open weights; the other is API-only.

Side by side

GPT-4o and Llama 3.1-8B specifications
GPT-4oLlama 3.1-8B
ProviderOpenAIMeta
Noometry Index28.623.0
Released2024-05-132024-07-23
WeightsProprietaryOpen
Context window128K128K
Max output16K4K
Input $ / M tokens$2.50$0.05
Output $ / M tokens$10$0.08
Results tracked7243

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

Category by category

Coding GPT-4o leads

GPT-4o: 24.8 (#328), Llama 3.1-8B: 20.2 (#340)

Coding benchmarks
BenchmarkGPT-4oLlama 3.1-8B
WeirdML25.1%1.7%
BigCodeBench Instruct51.1%32.8%
LMArena Coding12971195
BigCodeBench Complete61.1%40.5%
HumanEval+87.2%62.8%
MBPP+72.2%55.6%
SWE-bench Verified31%—
SWE-bench Verified (bash only)21.6%—
Aider Polyglot45.3%—
SciCode—13.2%
GSO0%—
LiveBench Coding51.4%—
CadEval26%—

Agentic & Tool Use Llama 3.1-8B leads

GPT-4o: 21.0 (#141), Llama 3.1-8B: 22.5 (#131)

Agentic & Tool Use benchmarks
BenchmarkGPT-4oLlama 3.1-8B
BALROG32.3%15.1%
Berkeley Function Calling Leaderboard—25.8%
GDPval9.9%—
TheAgentCompany8.6%—
Cybench12.5%—
LMArena Search1006—
METR Time Horizons40.8%—

Reasoning Llama 3.1-8B leads

GPT-4o: 9.4 (#343), Llama 3.1-8B: 14.9 (#321)

Reasoning benchmarks
BenchmarkGPT-4oLlama 3.1-8B
CritPt0%0%
Chess Puzzles13%0%
LMArena Hard Prompts12811175
DTBench64.5%50.9%
LMCA16.6%5.4%
Epoch Capabilities Index128.97116.57
ARC-AGI-20%—
SimpleBench17.8%—
ARC-AGI-14.5%—
EnigmaEval0.8%—
LiveBench Reasoning55.8%—
LiveBench Data Analysis60.9%—
ForecastBench57.7—
LiveBench55.3%—
PIQA—81.2%

Math Too close to call

GPT-4o: 10.6 (#312), Llama 3.1-8B: 10.2 (#317)

Math benchmarks
BenchmarkGPT-4oLlama 3.1-8B
OTIS Mock AIME 2024-20256.4%1.7%
Omni-MATH29.3%13.7%
LMArena Math12851179
MATH Level 553.3%22.9%
FrontierMath (Tiers 1-3)0.4%—
LiveBench Math49.5%—
FrontierMath (Feb 2025 set)0.3%—
GSM8K—82.4%

Knowledge GPT-4o leads

GPT-4o: 28.8 (#242), Llama 3.1-8B: 8.0 (#307)

Knowledge benchmarks
BenchmarkGPT-4oLlama 3.1-8B
GPQA Diamond49.2%27%
MMLU-Pro71.3%40.6%
GPQA (HELM)52%24.7%
LMArena Expert12501144
MMLU88.1%56.1%
Humanity's Last Exam2.7%—
SimpleQA Verified26%—
Confabulations15.3%—
Vectara Hallucination Rate9.6%—
BoolQ—82.8%

Multimodal Not comparable

GPT-4o: 34.5 (#91), Llama 3.1-8B: —

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

Multilingual GPT-4o leads

GPT-4o: 43.2 (#186), Llama 3.1-8B: 34.0 (#249)

Multilingual benchmarks
BenchmarkGPT-4oLlama 3.1-8B
LMArena Non-English12831148
LMArena Chinese12771151
LMArena French13041177
LMArena German12821144
LMArena Japanese12571061
LMArena Korean12341053
LMArena Russian12861158
LMArena Spanish12921169

Instruction Following GPT-4o leads

GPT-4o: 66.6 (#207), Llama 3.1-8B: 58.9 (#258)

Instruction Following benchmarks
BenchmarkGPT-4oLlama 3.1-8B
IFEval81.7%74.3%
LMArena Instruction Following12781159
LiveBench Instruction Following68.6%—

Long Context GPT-4o leads

GPT-4o: 39.4 (#179), Llama 3.1-8B: 35.8 (#238)

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

Writing & Preference GPT-4o leads

GPT-4o: 52.6 (#166), Llama 3.1-8B: 29.7 (#290)

Writing & Preference benchmarks
BenchmarkGPT-4oLlama 3.1-8B
LMArena Text13001187
LMArena Creative Writing12921154
WildBench82.8%68.7%
LMArena Multi-Turn13021172
Short-Story Creative Writing81.8%—
EQ-Bench Creative Writing—713
LiveBench Language47.6%—

Frequently asked questions

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

GPT-4o is the stronger model overall, scoring 28.6 to 23.0 on the Noometry Index. Llama 3.1-8B costs 76× 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.1-8B?

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

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

GPT-4o scores higher on coding benchmarks: 24.8 versus 20.2 in the Noometry coding category.

Which has the bigger context window?

Both accept 128K tokens.

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

37 benchmarks have published results for both models. GPT-4o has 72 scored results on Noometry and Llama 3.1-8B has 43.

Related comparisons

Go deeper