Model comparison
Llama 13b vs Phi-4
Phi-4 is the stronger model overall, scoring 31.2 to 24.4 on the Noometry Index.
Last verified . 10 shared benchmarks.
Summary
- They share 10 benchmarks with published results for both. Llama 13b scores higher in 1 category and Phi-4 in 5 categories; 6 gaps are clear of the uncertainty.
- The widest gap is in writing & preference, where Phi-4 leads 40.5 to 13.8.
Side by side
| Llama 13b | Phi-4 | |
|---|---|---|
| Provider | Meta | Microsoft |
| Noometry Index | 24.4 | 31.2 |
| Released | 2023-02-24 | 2024-12-11 |
| Weights | Open | Open |
| Context window | — | 128K |
| Max output | — | 4K |
| Input $ / M tokens | — | $0.07 |
| Output $ / M tokens | — | $0.14 |
| Results tracked | 21 | 37 |
Sponsored placements are available on pages like this one. Advertise on Noometry
Category by category
Coding Phi-4 leads
Llama 13b: 21.4 (#337), Phi-4: 34.4 (#239)
| Benchmark | Llama 13b | Phi-4 |
|---|---|---|
| LMArena Coding | 683 | 1231 |
| BigCodeBench Instruct | — | 45.5% |
| LiveBench Coding | — | 30.7% |
| BigCodeBench Complete | — | 55.4% |
Agentic & Tool Use Not comparable
Llama 13b: —, Phi-4: 22.8 (#128)
| Benchmark | Llama 13b | Phi-4 |
|---|---|---|
| Berkeley Function Calling Leaderboard | — | 28.8% |
| BALROG | — | 11.6% |
Reasoning Phi-4 leads
Llama 13b: 14.0 (#329), Phi-4: 17.7 (#291)
| Benchmark | Llama 13b | Phi-4 |
|---|---|---|
| LMArena Hard Prompts | 728 | 1220 |
| Epoch Capabilities Index | 100.58 | 130.42 |
| Chess Puzzles | — | 1% |
| LiveBench Reasoning | — | 47.8% |
| LiveBench Data Analysis | — | 45.2% |
| BIG-Bench Hard | 37.9% | — |
| HellaSwag | 79.2% | — |
| LAMBADA | 75.2% | — |
| LiveBench | — | 41.6% |
| PIQA | 80.1% | — |
| WinoGrande | 73% | — |
Math Llama 13b leads
Llama 13b: 26.7 (#256), Phi-4: 20.8 (#285)
| Benchmark | Llama 13b | Phi-4 |
|---|---|---|
| LMArena Math | 838 | 1246 |
| OTIS Mock AIME 2024-2025 | — | 13.8% |
| LiveBench Math | — | 42% |
| MATH Level 5 | — | 64.9% |
| GSM8K | 20.6% | — |
Knowledge Not comparable
Llama 13b: —, Phi-4: 32.6 (#209)
| Benchmark | Llama 13b | Phi-4 |
|---|---|---|
| MMLU | 47.7% | 84.8% |
| GPQA Diamond | — | 56.1% |
| Confabulations | — | 29.4% |
| Vectara Hallucination Rate | — | 3.7% |
| LMArena Expert | — | 1203 |
| ARC (AI2) Challenge | 52.7% | — |
| BoolQ | 78.7% | — |
| OpenBookQA | 56.4% | — |
| TriviaQA | 77.9% | — |
Multimodal Not comparable
Llama 13b: —, Phi-4: —
| Benchmark | Llama 13b | Phi-4 |
|---|---|---|
| ScienceQA | 43.3% | — |
Multilingual Phi-4 leads
Llama 13b: 16.6 (#297), Phi-4: 37.2 (#237)
| Benchmark | Llama 13b | Phi-4 |
|---|---|---|
| LMArena Non-English | 819 | 1197 |
| LMArena Chinese | — | 1212 |
| LMArena French | — | 1224 |
| LMArena German | — | 1222 |
| LMArena Japanese | — | 1158 |
| LMArena Korean | — | 1151 |
| LMArena Russian | — | 1209 |
| LMArena Spanish | — | 1234 |
Instruction Following Phi-4 leads
Llama 13b: 36.7 (#305), Phi-4: 60.4 (#251)
| Benchmark | Llama 13b | Phi-4 |
|---|---|---|
| LMArena Instruction Following | 781 | 1201 |
| LiveBench Instruction Following | — | 58.4% |
Long Context Not comparable
Llama 13b: —, Phi-4: 36.9 (#226)
| Benchmark | Llama 13b | Phi-4 |
|---|---|---|
| LMArena Longer Query | — | 1217 |
Writing & Preference Phi-4 leads
Llama 13b: 13.8 (#312), Phi-4: 40.5 (#244)
| Benchmark | Llama 13b | Phi-4 |
|---|---|---|
| LMArena Text | 834 | 1217 |
| LMArena Creative Writing | 794 | 1182 |
| LMArena Multi-Turn | 753 | 1206 |
| Short-Story Creative Writing | — | 62.6% |
| LiveBench Language | — | 25.6% |
Frequently asked questions
Is Llama 13b better than Phi-4?
Phi-4 is the stronger model overall, scoring 31.2 to 24.4 on the Noometry Index.
Is Llama 13b or Phi-4 better for coding?
Phi-4 scores higher on coding benchmarks: 34.4 versus 21.4 in the Noometry coding category.
How many benchmarks do Llama 13b and Phi-4 share?
10 benchmarks have published results for both models. Llama 13b has 21 scored results on Noometry and Phi-4 has 37.