Model comparison
GPT-4 vs Llama 3.1-70B
GPT-4 and Llama 3.1-70B 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 . 28 shared benchmarks.
Summary
- They share 28 benchmarks with published results for both. GPT-4 scores higher in 4 categories and Llama 3.1-70B in 4 categories; 5 gaps are clear of the uncertainty.
- The widest gap is in knowledge, where Llama 3.1-70B leads 24.2 to 18.4.
- The biggest single-benchmark swing is MATH Level 5: 23% for GPT-4 and 36.7% for Llama 3.1-70B.
- Llama 3.1-70B is cheaper at $0.40 / $0.40 per million input/output tokens, against $30 / $60 for GPT-4.
- Llama 3.1-70B accepts more context: 128K tokens versus 8K.
- Llama 3.1-70B has downloadable open weights; the other is API-only.
Side by side
| GPT-4 | Llama 3.1-70B | |
|---|---|---|
| Provider | OpenAI | Meta |
| Noometry Index | 29.1 | 29.6 |
| Released | 2023-03-14 | 2024-07-23 |
| Weights | Proprietary | Open |
| Context window | 8K | 128K |
| Max output | 8K | 4K |
| Input $ / M tokens | $30 | $0.40 |
| Output $ / M tokens | $60 | $0.40 |
| Results tracked | 38 | 35 |
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 3.1-70B: 30.3 (#296)
| Benchmark | GPT-4 | Llama 3.1-70B |
|---|---|---|
| WeirdML | 12.4% | 9% |
| BigCodeBench Instruct | 46% | 46.1% |
| LMArena Coding | 1254 | 1260 |
| BigCodeBench Complete | 57.2% | 54.8% |
| HumanEval+ | 79.3% | — |
Agentic & Tool Use Not comparable
GPT-4: —, Llama 3.1-70B: 25.1 (#112)
| Benchmark | GPT-4 | Llama 3.1-70B |
|---|---|---|
| TheAgentCompany | — | 6.9% |
| BALROG | — | 27.9% |
| METR Time Horizons | 36.1% | — |
Reasoning Llama 3.1-70B leads
GPT-4: 17.8 (#289), Llama 3.1-70B: 21.6 (#220)
| Benchmark | GPT-4 | Llama 3.1-70B |
|---|---|---|
| LMArena Hard Prompts | 1241 | 1241 |
| DTBench | 62.7% | 60% |
| LMCA | 17.1% | 14.8% |
| Epoch Capabilities Index | 125.89 | 125.92 |
| Chess Puzzles | 4% | — |
| Mystery Game Puzzles | 12% | — |
| BIG-Bench Hard | 75.1% | — |
| ForecastBench | 57.8 | — |
| HellaSwag | 95.3% | — |
| WinoGrande | 87.5% | — |
Math Llama 3.1-70B leads
GPT-4: 10.8 (#309), Llama 3.1-70B: 13.5 (#304)
| Benchmark | GPT-4 | Llama 3.1-70B |
|---|---|---|
| OTIS Mock AIME 2024-2025 | 1.1% | 3.6% |
| LMArena Math | 1269 | 1252 |
| MATH Level 5 | 23% | 36.7% |
| Omni-MATH | — | 21% |
| GSM8K | 92% | — |
Knowledge Llama 3.1-70B leads
GPT-4: 18.4 (#282), Llama 3.1-70B: 24.2 (#269)
| Benchmark | GPT-4 | Llama 3.1-70B |
|---|---|---|
| GPQA Diamond | 35.7% | 44.2% |
| LMArena Expert | 1211 | 1209 |
| MMLU | 86.4% | 80.1% |
| MMLU-Pro | — | 65.3% |
| GPQA (HELM) | — | 42.6% |
| TriviaQA | 84.8% | — |
Multilingual GPT-4 leads
GPT-4: 40.6 (#215), Llama 3.1-70B: 38.8 (#225)
| Benchmark | GPT-4 | Llama 3.1-70B |
|---|---|---|
| LMArena Non-English | 1246 | 1219 |
| LMArena Chinese | 1242 | 1215 |
| LMArena French | 1283 | 1261 |
| LMArena German | 1251 | 1222 |
| LMArena Japanese | 1209 | 1132 |
| LMArena Korean | 1184 | 1140 |
| LMArena Russian | 1251 | 1234 |
| LMArena Spanish | 1261 | 1253 |
Instruction Following Too close to call
GPT-4: 65.3 (#222), Llama 3.1-70B: 65.3 (#223)
| Benchmark | GPT-4 | Llama 3.1-70B |
|---|---|---|
| LMArena Instruction Following | 1241 | 1231 |
| IFEval | — | 82.1% |
Long Context Too close to call
GPT-4: 37.7 (#212), Llama 3.1-70B: 37.6 (#214)
| Benchmark | GPT-4 | Llama 3.1-70B |
|---|---|---|
| LMArena Longer Query | 1244 | 1241 |
Writing & Preference Too close to call
GPT-4: 34.9 (#268), Llama 3.1-70B: 35.4 (#267)
| Benchmark | GPT-4 | Llama 3.1-70B |
|---|---|---|
| LMArena Text | 1263 | 1261 |
| LMArena Creative Writing | 1244 | 1232 |
| EQ-Bench Creative Writing | 752 | 784 |
| LMArena Multi-Turn | 1257 | 1256 |
| WildBench | — | 75.8% |
Frequently asked questions
Is GPT-4 better than Llama 3.1-70B?
GPT-4 and Llama 3.1-70B 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.
Which is cheaper, GPT-4 or Llama 3.1-70B?
Llama 3.1-70B is cheaper. It lists at $0.40 per million input tokens and $0.40 per million output tokens; GPT-4 lists at $30 and $60.
Is GPT-4 or Llama 3.1-70B better for coding?
GPT-4 scores higher on coding benchmarks: 31.6 versus 30.3 in the Noometry coding category.
Which has the bigger context window?
Llama 3.1-70B does, with 128K tokens against 8K.
How many benchmarks do GPT-4 and Llama 3.1-70B share?
28 benchmarks have published results for both models. GPT-4 has 38 scored results on Noometry and Llama 3.1-70B has 35.