Model comparison

GPT-4 vs Llama 13b

GPT-4 is the stronger model overall, scoring 29.1 to 24.4 on the Noometry Index.

Last verified . 15 shared benchmarks.

GPT-4 OpenAI

29.1

Rank #316 Confirmed

Llama 13b Meta

24.4

Rank #348 Confirmed

Summary

  • They share 15 benchmarks with published results for both. GPT-4 scores higher in 5 categories and Llama 13b in 1 category; 6 gaps are clear of the uncertainty.
  • The widest gap is in instruction following, where GPT-4 leads 65.3 to 36.7.
  • Llama 13b has downloadable open weights; the other is API-only.

Side by side

GPT-4 and Llama 13b specifications
GPT-4Llama 13b
ProviderOpenAIMeta
Noometry Index29.124.4
Released2023-03-142023-02-24
WeightsProprietaryOpen
Context window8K—
Max output8K—
Input $ / M tokens$30—
Output $ / M tokens$60—
Results tracked3821

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

Category by category

Coding GPT-4 leads

GPT-4: 31.6 (#283), Llama 13b: 21.4 (#337)

Coding benchmarks
BenchmarkGPT-4Llama 13b
LMArena Coding1254683
WeirdML12.4%—
BigCodeBench Instruct46%—
BigCodeBench Complete57.2%—
HumanEval+79.3%—

Agentic & Tool Use Not comparable

GPT-4: —, Llama 13b: —

Agentic & Tool Use benchmarks
BenchmarkGPT-4Llama 13b
METR Time Horizons36.1%—

Reasoning GPT-4 leads

GPT-4: 17.8 (#289), Llama 13b: 14.0 (#329)

Reasoning benchmarks
BenchmarkGPT-4Llama 13b
LMArena Hard Prompts1241728
BIG-Bench Hard75.1%37.9%
Epoch Capabilities Index125.89100.58
HellaSwag95.3%79.2%
WinoGrande87.5%73%
Chess Puzzles4%—
Mystery Game Puzzles12%—
DTBench62.7%—
LMCA17.1%—
ForecastBench57.8—
LAMBADA—75.2%
PIQA—80.1%

Math Llama 13b leads

GPT-4: 10.8 (#309), Llama 13b: 26.7 (#256)

Math benchmarks
BenchmarkGPT-4Llama 13b
LMArena Math1269838
GSM8K92%20.6%
OTIS Mock AIME 2024-20251.1%—
MATH Level 523%—

Knowledge Not comparable

GPT-4: 18.4 (#282), Llama 13b: —

Knowledge benchmarks
BenchmarkGPT-4Llama 13b
MMLU86.4%47.7%
TriviaQA84.8%77.9%
GPQA Diamond35.7%—
LMArena Expert1211—
ARC (AI2) Challenge—52.7%
BoolQ—78.7%
OpenBookQA—56.4%

Multimodal Not comparable

GPT-4: —, Llama 13b: —

Multimodal benchmarks
BenchmarkGPT-4Llama 13b
ScienceQA—43.3%

Multilingual GPT-4 leads

GPT-4: 40.6 (#215), Llama 13b: 16.6 (#297)

Multilingual benchmarks
BenchmarkGPT-4Llama 13b
LMArena Non-English1246819
LMArena Chinese1242—
LMArena French1283—
LMArena German1251—
LMArena Japanese1209—
LMArena Korean1184—
LMArena Russian1251—
LMArena Spanish1261—

Instruction Following GPT-4 leads

GPT-4: 65.3 (#222), Llama 13b: 36.7 (#305)

Instruction Following benchmarks
BenchmarkGPT-4Llama 13b
LMArena Instruction Following1241781

Long Context Not comparable

GPT-4: 37.7 (#212), Llama 13b: —

Long Context benchmarks
BenchmarkGPT-4Llama 13b
LMArena Longer Query1244—

Writing & Preference GPT-4 leads

GPT-4: 34.9 (#268), Llama 13b: 13.8 (#312)

Writing & Preference benchmarks
BenchmarkGPT-4Llama 13b
LMArena Text1263834
LMArena Creative Writing1244794
LMArena Multi-Turn1257753
EQ-Bench Creative Writing752—

Frequently asked questions

Is GPT-4 better than Llama 13b?

GPT-4 is the stronger model overall, scoring 29.1 to 24.4 on the Noometry Index.

Is GPT-4 or Llama 13b better for coding?

GPT-4 scores higher on coding benchmarks: 31.6 versus 21.4 in the Noometry coding category.

How many benchmarks do GPT-4 and Llama 13b share?

15 benchmarks have published results for both models. GPT-4 has 38 scored results on Noometry and Llama 13b has 21.

Related comparisons

Go deeper