Model comparison
Codellama 34b Instruct vs GPT-4
Codellama 34b Instruct is the stronger model overall, scoring 30.8 to 29.1 on the Noometry Index.
Last verified . 13 shared benchmarks.
Summary
- They share 13 benchmarks with published results for both. Codellama 34b Instruct scores higher in 2 categories and GPT-4 in 5 categories; 7 gaps are clear of the uncertainty.
- The widest gap is in math, where Codellama 34b Instruct leads 31.0 to 10.8.
- The biggest single-benchmark swing is BigCodeBench Complete: 37.1% for Codellama 34b Instruct and 57.2% for GPT-4.
- Codellama 34b Instruct has downloadable open weights; the other is API-only.
Side by side
| Codellama 34b Instruct | GPT-4 | |
|---|---|---|
| Provider | Meta | OpenAI |
| Noometry Index | 30.8 | 29.1 |
| Released | — | 2023-03-14 |
| Weights | Open | Proprietary |
| Context window | — | 8K |
| Max output | — | 8K |
| Input $ / M tokens | — | $30 |
| Output $ / M tokens | — | $60 |
| Results tracked | 14 | 38 |
Sponsored placements are available on pages like this one. Advertise on Noometry
Category by category
Coding GPT-4 leads
Codellama 34b Instruct: 28.5 (#314), GPT-4: 31.6 (#283)
| Benchmark | Codellama 34b Instruct | GPT-4 |
|---|---|---|
| BigCodeBench Instruct | 29% | 46% |
| LMArena Coding | 1046 | 1254 |
| BigCodeBench Complete | 37.1% | 57.2% |
| HumanEval+ | 43.9% | 79.3% |
| WeirdML | — | 12.4% |
| MBPP+ | 56.3% | — |
Agentic & Tool Use Not comparable
Codellama 34b Instruct: —, GPT-4: —
| Benchmark | Codellama 34b Instruct | GPT-4 |
|---|---|---|
| METR Time Horizons | — | 36.1% |
Reasoning Codellama 34b Instruct leads
Codellama 34b Instruct: 19.6 (#255), GPT-4: 17.8 (#289)
| Benchmark | Codellama 34b Instruct | GPT-4 |
|---|---|---|
| LMArena Hard Prompts | 1032 | 1241 |
| Chess Puzzles | — | 4% |
| Mystery Game Puzzles | — | 12% |
| DTBench | — | 62.7% |
| LMCA | — | 17.1% |
| BIG-Bench Hard | — | 75.1% |
| Epoch Capabilities Index | — | 125.89 |
| ForecastBench | — | 57.8 |
| HellaSwag | — | 95.3% |
| WinoGrande | — | 87.5% |
Math Codellama 34b Instruct leads
Codellama 34b Instruct: 31.0 (#230), GPT-4: 10.8 (#309)
| Benchmark | Codellama 34b Instruct | GPT-4 |
|---|---|---|
| LMArena Math | 1056 | 1269 |
| OTIS Mock AIME 2024-2025 | — | 1.1% |
| MATH Level 5 | — | 23% |
| GSM8K | — | 92% |
Knowledge Not comparable
Codellama 34b Instruct: —, GPT-4: 18.4 (#282)
| Benchmark | Codellama 34b Instruct | GPT-4 |
|---|---|---|
| GPQA Diamond | — | 35.7% |
| LMArena Expert | — | 1211 |
| MMLU | — | 86.4% |
| TriviaQA | — | 84.8% |
Multilingual GPT-4 leads
Codellama 34b Instruct: 25.8 (#284), GPT-4: 40.6 (#215)
| Benchmark | Codellama 34b Instruct | GPT-4 |
|---|---|---|
| LMArena Non-English | 1011 | 1246 |
| LMArena Chinese | 976 | 1242 |
| LMArena French | — | 1283 |
| LMArena German | — | 1251 |
| LMArena Japanese | — | 1209 |
| LMArena Korean | — | 1184 |
| LMArena Russian | — | 1251 |
| LMArena Spanish | — | 1261 |
Instruction Following GPT-4 leads
Codellama 34b Instruct: 52.2 (#291), GPT-4: 65.3 (#222)
| Benchmark | Codellama 34b Instruct | GPT-4 |
|---|---|---|
| LMArena Instruction Following | 1028 | 1241 |
Long Context GPT-4 leads
Codellama 34b Instruct: 30.9 (#284), GPT-4: 37.7 (#212)
| Benchmark | Codellama 34b Instruct | GPT-4 |
|---|---|---|
| LMArena Longer Query | 1013 | 1244 |
Writing & Preference GPT-4 leads
Codellama 34b Instruct: 28.2 (#297), GPT-4: 34.9 (#268)
| Benchmark | Codellama 34b Instruct | GPT-4 |
|---|---|---|
| LMArena Text | 1066 | 1263 |
| LMArena Creative Writing | 1032 | 1244 |
| LMArena Multi-Turn | 1015 | 1257 |
| EQ-Bench Creative Writing | — | 752 |
Frequently asked questions
Is Codellama 34b Instruct better than GPT-4?
Codellama 34b Instruct is the stronger model overall, scoring 30.8 to 29.1 on the Noometry Index.
Is Codellama 34b Instruct or GPT-4 better for coding?
GPT-4 scores higher on coding benchmarks: 31.6 versus 28.5 in the Noometry coding category.
How many benchmarks do Codellama 34b Instruct and GPT-4 share?
13 benchmarks have published results for both models. Codellama 34b Instruct has 14 scored results on Noometry and GPT-4 has 38.