Model comparison

GPT-4 vs Llama 2-34B

GPT-4 has enough public results to be ranked (#316); Llama 2-34B does not yet, so treat this comparison as directional.

Last verified . 6 shared benchmarks.

GPT-4 OpenAI

29.1

Rank #316 Confirmed

Llama 2-34B Meta

—

Unranked

Summary

  • They share 6 benchmarks with published results for both.

Side by side

GPT-4 and Llama 2-34B specifications
GPT-4Llama 2-34B
ProviderOpenAIMeta
Noometry Index29.1—
Released2023-03-142023-07-18
WeightsProprietaryProprietary
Context window8K—
Max output8K—
Input $ / M tokens$30—
Output $ / M tokens$60—
Results tracked3810

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

Category by category

Coding Not comparable

GPT-4: 31.6 (#283), Llama 2-34B: —

Coding benchmarks
BenchmarkGPT-4Llama 2-34B
WeirdML12.4%—
BigCodeBench Instruct46%—
LMArena Coding1254—
BigCodeBench Complete57.2%—
HumanEval+79.3%—

Agentic & Tool Use Not comparable

GPT-4: —, Llama 2-34B: —

Agentic & Tool Use benchmarks
BenchmarkGPT-4Llama 2-34B
METR Time Horizons36.1%—

Reasoning Not comparable

GPT-4: 17.8 (#289), Llama 2-34B: —

Reasoning benchmarks
BenchmarkGPT-4Llama 2-34B
BIG-Bench Hard75.1%44.1%
Epoch Capabilities Index125.89105.2
WinoGrande87.5%76.7%
Chess Puzzles4%—
LMArena Hard Prompts1241—
Mystery Game Puzzles12%—
DTBench62.7%—
LMCA17.1%—
ForecastBench57.8—
HellaSwag95.3%—
PIQA—81.9%

Math Not comparable

GPT-4: 10.8 (#309), Llama 2-34B: —

Math benchmarks
BenchmarkGPT-4Llama 2-34B
GSM8K92%42.2%
OTIS Mock AIME 2024-20251.1%—
LMArena Math1269—
MATH Level 523%—

Knowledge Not comparable

GPT-4: 18.4 (#282), Llama 2-34B: —

Knowledge benchmarks
BenchmarkGPT-4Llama 2-34B
MMLU86.4%62.6%
TriviaQA84.8%84.6%
GPQA Diamond35.7%—
LMArena Expert1211—
ARC (AI2) Challenge—54.5%
BoolQ—83.7%
OpenBookQA—58.2%

Multilingual Not comparable

GPT-4: 40.6 (#215), Llama 2-34B: —

Multilingual benchmarks
BenchmarkGPT-4Llama 2-34B
LMArena Non-English1246—
LMArena Chinese1242—
LMArena French1283—
LMArena German1251—
LMArena Japanese1209—
LMArena Korean1184—
LMArena Russian1251—
LMArena Spanish1261—

Instruction Following Not comparable

GPT-4: 65.3 (#222), Llama 2-34B: —

Instruction Following benchmarks
BenchmarkGPT-4Llama 2-34B
LMArena Instruction Following1241—

Long Context Not comparable

GPT-4: 37.7 (#212), Llama 2-34B: —

Long Context benchmarks
BenchmarkGPT-4Llama 2-34B
LMArena Longer Query1244—

Writing & Preference Not comparable

GPT-4: 34.9 (#268), Llama 2-34B: —

Writing & Preference benchmarks
BenchmarkGPT-4Llama 2-34B
LMArena Text1263—
LMArena Creative Writing1244—
EQ-Bench Creative Writing752—
LMArena Multi-Turn1257—

Frequently asked questions

Is GPT-4 better than Llama 2-34B?

GPT-4 has enough public results to be ranked (#316); Llama 2-34B does not yet, so treat this comparison as directional.

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

6 benchmarks have published results for both models. GPT-4 has 38 scored results on Noometry and Llama 2-34B has 10.

Related comparisons

Go deeper