Model comparison
GPT-4 vs Llama 2-13B
GPT-4 and Llama 2-13B score almost the same on the Noometry Index (29.1 vs 29.6), so choose on price, context window or the category you care about most.
Last verified . 26 shared benchmarks.
Summary
- They share 26 benchmarks with published results for both. GPT-4 scores higher in 6 categories and Llama 2-13B in 2 categories; 7 gaps are clear of the uncertainty.
- The widest gap is in math, where Llama 2-13B leads 31.1 to 10.8.
- The biggest single-benchmark swing is DTBench: 62.7% for GPT-4 and 42.2% for Llama 2-13B.
- Llama 2-13B has downloadable open weights; the other is API-only.
Side by side
| GPT-4 | Llama 2-13B | |
|---|---|---|
| Provider | OpenAI | Meta |
| Noometry Index | 29.1 | 29.6 |
| Released | 2023-03-14 | 2023-07-18 |
| Weights | Proprietary | Open |
| Context window | 8K | — |
| Max output | 8K | — |
| Input $ / M tokens | $30 | — |
| Output $ / M tokens | $60 | — |
| Results tracked | 38 | 32 |
Sponsored placements are available on pages like this one. Advertise on Noometry
Category by category
Coding Too close to call
GPT-4: 31.6 (#283), Llama 2-13B: 30.9 (#291)
| Benchmark | GPT-4 | Llama 2-13B |
|---|---|---|
| LMArena Coding | 1254 | 1062 |
| WeirdML | 12.4% | — |
| BigCodeBench Instruct | 46% | — |
| BigCodeBench Complete | 57.2% | — |
| HumanEval+ | 79.3% | — |
Agentic & Tool Use Not comparable
GPT-4: —, Llama 2-13B: —
| Benchmark | GPT-4 | Llama 2-13B |
|---|---|---|
| METR Time Horizons | 36.1% | — |
Reasoning GPT-4 leads
GPT-4: 17.8 (#289), Llama 2-13B: 12.8 (#337)
| Benchmark | GPT-4 | Llama 2-13B |
|---|---|---|
| Chess Puzzles | 4% | 0% |
| LMArena Hard Prompts | 1241 | 1051 |
| DTBench | 62.7% | 42.2% |
| BIG-Bench Hard | 75.1% | 58.2% |
| Epoch Capabilities Index | 125.89 | 106.17 |
| HellaSwag | 95.3% | 80.7% |
| WinoGrande | 87.5% | 72.8% |
| Mystery Game Puzzles | 12% | — |
| LMCA | 17.1% | — |
| ForecastBench | 57.8 | — |
| LAMBADA | — | 76.5% |
| PIQA | — | 80.8% |
Math Llama 2-13B leads
GPT-4: 10.8 (#309), Llama 2-13B: 31.1 (#229)
| Benchmark | GPT-4 | Llama 2-13B |
|---|---|---|
| LMArena Math | 1269 | 1065 |
| GSM8K | 92% | 36.9% |
| OTIS Mock AIME 2024-2025 | 1.1% | — |
| MATH Level 5 | 23% | — |
Knowledge Llama 2-13B leads
GPT-4: 18.4 (#282), Llama 2-13B: 28.1 (#249)
| Benchmark | GPT-4 | Llama 2-13B |
|---|---|---|
| LMArena Expert | 1211 | 1030 |
| MMLU | 86.4% | 55.6% |
| TriviaQA | 84.8% | 79.6% |
| GPQA Diamond | 35.7% | — |
| ARC (AI2) Challenge | — | 60.3% |
| BoolQ | — | 82.4% |
| OpenBookQA | — | 57% |
Multimodal Not comparable
GPT-4: —, Llama 2-13B: —
| Benchmark | GPT-4 | Llama 2-13B |
|---|---|---|
| ScienceQA | — | 55.8% |
Multilingual GPT-4 leads
GPT-4: 40.6 (#215), Llama 2-13B: 26.5 (#279)
| Benchmark | GPT-4 | Llama 2-13B |
|---|---|---|
| LMArena Non-English | 1246 | 1024 |
| LMArena Chinese | 1242 | 1001 |
| LMArena French | 1283 | 1044 |
| LMArena German | 1251 | 1009 |
| LMArena Japanese | 1209 | 894 |
| LMArena Korean | 1184 | 953 |
| LMArena Russian | 1251 | 1055 |
| LMArena Spanish | 1261 | 1087 |
Instruction Following GPT-4 leads
GPT-4: 65.3 (#222), Llama 2-13B: 53.3 (#287)
| Benchmark | GPT-4 | Llama 2-13B |
|---|---|---|
| LMArena Instruction Following | 1241 | 1045 |
Long Context GPT-4 leads
GPT-4: 37.7 (#212), Llama 2-13B: 32.3 (#269)
| Benchmark | GPT-4 | Llama 2-13B |
|---|---|---|
| LMArena Longer Query | 1244 | 1064 |
Writing & Preference GPT-4 leads
GPT-4: 34.9 (#268), Llama 2-13B: 29.8 (#289)
| Benchmark | GPT-4 | Llama 2-13B |
|---|---|---|
| LMArena Text | 1263 | 1084 |
| LMArena Creative Writing | 1244 | 1047 |
| LMArena Multi-Turn | 1257 | 1050 |
| EQ-Bench Creative Writing | 752 | — |
Frequently asked questions
Is GPT-4 better than Llama 2-13B?
GPT-4 and Llama 2-13B score almost the same on the Noometry Index (29.1 vs 29.6), so choose on price, context window or the category you care about most.
Is GPT-4 or Llama 2-13B better for coding?
They score almost the same on coding (31.6 vs 30.9); test both on your own repository before choosing.
How many benchmarks do GPT-4 and Llama 2-13B share?
26 benchmarks have published results for both models. GPT-4 has 38 scored results on Noometry and Llama 2-13B has 32.