Model comparison

GPT-4 Turbo vs Llama 3-8B

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

Last verified . 29 shared benchmarks.

GPT-4 Turbo OpenAI

30.3

Rank #281 Confirmed

Llama 3-8B Meta

25.3

Rank #338 Confirmed

Summary

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

Side by side

GPT-4 Turbo and Llama 3-8B specifications
GPT-4 TurboLlama 3-8B
ProviderOpenAIMeta
Noometry Index30.325.3
Released2023-11-062024-04-18
WeightsProprietaryOpen
Context window128K8K
Max output4K8K
Input $ / M tokens$10$0.14
Output $ / M tokens$30$0.14
Results tracked3634

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

Category by category

Coding GPT-4 Turbo leads

GPT-4 Turbo: 33.4 (#247), Llama 3-8B: 30.5 (#285)

Coding benchmarks
BenchmarkGPT-4 TurboLlama 3-8B
BigCodeBench Instruct48.2%31.9%
LMArena Coding12681152
BigCodeBench Complete58.2%36.9%
HumanEval+86.6%56.7%
MBPP+73.3%54.8%
WeirdML18%—

Agentic & Tool Use Not comparable

GPT-4 Turbo: —, Llama 3-8B: —

Agentic & Tool Use benchmarks
BenchmarkGPT-4 TurboLlama 3-8B
METR Time Horizons36.7%—

Reasoning GPT-4 Turbo leads

GPT-4 Turbo: 14.9 (#311), Llama 3-8B: 13.8 (#321)

Reasoning benchmarks
BenchmarkGPT-4 TurboLlama 3-8B
Chess Puzzles6%0%
LMArena Hard Prompts12511133
DTBench61.6%43.9%
Epoch Capabilities Index127.25116.33
ForecastBench59.458.6
SimpleBench25.1%—
LMCA9.8%—
Adversarial NLI—57.3%
WinoGrande—75.7%

Math Too close to call

GPT-4 Turbo: 8.6 (#316), Llama 3-8B: 8.3 (#317)

Math benchmarks
BenchmarkGPT-4 TurboLlama 3-8B
OTIS Mock AIME 2024-20256.7%1.9%
LMArena Math12721151
MATH Level 546.7%6.1%
FrontierMath (Tiers 1-3)0.7%—

Knowledge GPT-4 Turbo leads

GPT-4 Turbo: 24.3 (#263), Llama 3-8B: 7.8 (#303)

Knowledge benchmarks
BenchmarkGPT-4 TurboLlama 3-8B
GPQA Diamond46.6%26.1%
LMArena Expert12231113
MMLU81.3%68.8%
Confabulations28.4%—
ARC (AI2) Challenge—82.8%
OpenBookQA—82.6%
TriviaQA—67.7%

Multimodal Not comparable

GPT-4 Turbo: 30.0 (#104), Llama 3-8B: —

Multimodal benchmarks
BenchmarkGPT-4 TurboLlama 3-8B
LMArena Vision1090—

Multilingual GPT-4 Turbo leads

GPT-4 Turbo: 40.7 (#211), Llama 3-8B: 31.0 (#256)

Multilingual benchmarks
BenchmarkGPT-4 TurboLlama 3-8B
LMArena Non-English12451098
LMArena Chinese12421076
LMArena French12751158
LMArena German12591104
LMArena Japanese1194967
LMArena Korean11871003
LMArena Russian12591109
LMArena Spanish12601172

Instruction Following GPT-4 Turbo leads

GPT-4 Turbo: 66.0 (#211), Llama 3-8B: 58.7 (#255)

Instruction Following benchmarks
BenchmarkGPT-4 TurboLlama 3-8B
LMArena Instruction Following12501127

Long Context GPT-4 Turbo leads

GPT-4 Turbo: 38.0 (#200), Llama 3-8B: 34.2 (#246)

Long Context benchmarks
BenchmarkGPT-4 TurboLlama 3-8B
LMArena Longer Query12541128

Writing & Preference GPT-4 Turbo leads

GPT-4 Turbo: 47.9 (#201), Llama 3-8B: 37.7 (#251)

Writing & Preference benchmarks
BenchmarkGPT-4 TurboLlama 3-8B
LMArena Text12721166
LMArena Creative Writing12691150
LMArena Multi-Turn12671152

Frequently asked questions

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

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

Which is cheaper, GPT-4 Turbo 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-4 Turbo lists at $10 and $30.

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

GPT-4 Turbo scores higher on coding benchmarks: 33.4 versus 30.5 in the Noometry coding category.

Which has the bigger context window?

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

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

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

Related comparisons

Go deeper