Model comparison
Codellama 34b Instruct vs Phi-4
Codellama 34b Instruct and Phi-4 score almost the same on the Noometry Index (30.8 vs 31.2), so choose on price, context window or the category you care about most.
Last verified . 12 shared benchmarks.
Summary
- They share 12 benchmarks with published results for both. Codellama 34b Instruct scores higher in 2 categories and Phi-4 in 5 categories; 7 gaps are clear of the uncertainty.
- The widest gap is in writing & preference, where Phi-4 leads 40.5 to 28.2.
- The biggest single-benchmark swing is BigCodeBench Complete: 37.1% for Codellama 34b Instruct and 55.4% for Phi-4.
Side by side
| Codellama 34b Instruct | Phi-4 | |
|---|---|---|
| Provider | Meta | Microsoft |
| Noometry Index | 30.8 | 31.2 |
| Released | — | 2024-12-11 |
| Weights | Open | Open |
| Context window | — | 128K |
| Max output | — | 4K |
| Input $ / M tokens | — | $0.07 |
| Output $ / M tokens | — | $0.14 |
| Results tracked | 14 | 37 |
Sponsored placements are available on pages like this one. Advertise on Noometry
Category by category
Coding Phi-4 leads
Codellama 34b Instruct: 28.5 (#314), Phi-4: 34.4 (#239)
| Benchmark | Codellama 34b Instruct | Phi-4 |
|---|---|---|
| BigCodeBench Instruct | 29% | 45.5% |
| LMArena Coding | 1046 | 1231 |
| BigCodeBench Complete | 37.1% | 55.4% |
| LiveBench Coding | — | 30.7% |
| HumanEval+ | 43.9% | — |
| MBPP+ | 56.3% | — |
Agentic & Tool Use Not comparable
Codellama 34b Instruct: —, Phi-4: 22.8 (#128)
| Benchmark | Codellama 34b Instruct | Phi-4 |
|---|---|---|
| Berkeley Function Calling Leaderboard | — | 28.8% |
| BALROG | — | 11.6% |
Reasoning Codellama 34b Instruct leads
Codellama 34b Instruct: 19.6 (#255), Phi-4: 17.7 (#291)
| Benchmark | Codellama 34b Instruct | Phi-4 |
|---|---|---|
| LMArena Hard Prompts | 1032 | 1220 |
| Chess Puzzles | — | 1% |
| LiveBench Reasoning | — | 47.8% |
| LiveBench Data Analysis | — | 45.2% |
| Epoch Capabilities Index | — | 130.42 |
| LiveBench | — | 41.6% |
Math Codellama 34b Instruct leads
Codellama 34b Instruct: 31.0 (#230), Phi-4: 20.8 (#285)
| Benchmark | Codellama 34b Instruct | Phi-4 |
|---|---|---|
| LMArena Math | 1056 | 1246 |
| OTIS Mock AIME 2024-2025 | — | 13.8% |
| LiveBench Math | — | 42% |
| MATH Level 5 | — | 64.9% |
Knowledge Not comparable
Codellama 34b Instruct: —, Phi-4: 32.6 (#209)
| Benchmark | Codellama 34b Instruct | Phi-4 |
|---|---|---|
| GPQA Diamond | — | 56.1% |
| Confabulations | — | 29.4% |
| Vectara Hallucination Rate | — | 3.7% |
| LMArena Expert | — | 1203 |
| MMLU | — | 84.8% |
Multilingual Phi-4 leads
Codellama 34b Instruct: 25.8 (#284), Phi-4: 37.2 (#237)
| Benchmark | Codellama 34b Instruct | Phi-4 |
|---|---|---|
| LMArena Non-English | 1011 | 1197 |
| LMArena Chinese | 976 | 1212 |
| LMArena French | — | 1224 |
| LMArena German | — | 1222 |
| LMArena Japanese | — | 1158 |
| LMArena Korean | — | 1151 |
| LMArena Russian | — | 1209 |
| LMArena Spanish | — | 1234 |
Instruction Following Phi-4 leads
Codellama 34b Instruct: 52.2 (#291), Phi-4: 60.4 (#251)
| Benchmark | Codellama 34b Instruct | Phi-4 |
|---|---|---|
| LMArena Instruction Following | 1028 | 1201 |
| LiveBench Instruction Following | — | 58.4% |
Long Context Phi-4 leads
Codellama 34b Instruct: 30.9 (#284), Phi-4: 36.9 (#226)
| Benchmark | Codellama 34b Instruct | Phi-4 |
|---|---|---|
| LMArena Longer Query | 1013 | 1217 |
Writing & Preference Phi-4 leads
Codellama 34b Instruct: 28.2 (#297), Phi-4: 40.5 (#244)
| Benchmark | Codellama 34b Instruct | Phi-4 |
|---|---|---|
| LMArena Text | 1066 | 1217 |
| LMArena Creative Writing | 1032 | 1182 |
| LMArena Multi-Turn | 1015 | 1206 |
| Short-Story Creative Writing | — | 62.6% |
| LiveBench Language | — | 25.6% |
Frequently asked questions
Is Codellama 34b Instruct better than Phi-4?
Codellama 34b Instruct and Phi-4 score almost the same on the Noometry Index (30.8 vs 31.2), so choose on price, context window or the category you care about most.
Is Codellama 34b Instruct or Phi-4 better for coding?
Phi-4 scores higher on coding benchmarks: 34.4 versus 28.5 in the Noometry coding category.
How many benchmarks do Codellama 34b Instruct and Phi-4 share?
12 benchmarks have published results for both models. Codellama 34b Instruct has 14 scored results on Noometry and Phi-4 has 37.