Model comparison
Llama 3.1-8B vs phi-3-medium 14B
phi-3-medium 14B is the stronger model overall, scoring 29.7 to 23.0 on the Noometry Index.
Last verified . 6 shared benchmarks.
Summary
- They share 6 benchmarks with published results for both. Llama 3.1-8B scores higher in 0 categories and phi-3-medium 14B in 3 categories; 3 gaps are clear of the uncertainty.
- The widest gap is in math, where phi-3-medium 14B leads 27.3 to 10.2.
- The biggest single-benchmark swing is BigCodeBench Complete: 40.5% for Llama 3.1-8B and 48.7% for phi-3-medium 14B.
Side by side
| Llama 3.1-8B | phi-3-medium 14B | |
|---|---|---|
| Provider | Meta | Microsoft |
| Noometry Index | 23.0 | 29.7 |
| Released | 2024-07-23 | 2024-04-23 |
| Weights | Open | Open |
| Context window | 128K | — |
| Max output | 4K | — |
| Input $ / M tokens | $0.05 | — |
| Output $ / M tokens | $0.08 | — |
| Results tracked | 43 | 13 |
Sponsored placements are available on pages like this one. Advertise on Noometry
Category by category
Coding phi-3-medium 14B leads
Llama 3.1-8B: 20.2 (#340), phi-3-medium 14B: 36.8 (#201)
| Benchmark | Llama 3.1-8B | phi-3-medium 14B |
|---|---|---|
| BigCodeBench Instruct | 32.8% | 37.6% |
| BigCodeBench Complete | 40.5% | 48.7% |
| SciCode | 13.2% | — |
| WeirdML | 1.7% | — |
| LMArena Coding | 1195 | — |
| HumanEval+ | 62.8% | — |
| MBPP+ | 55.6% | — |
Agentic & Tool Use Not comparable
Llama 3.1-8B: 22.5 (#131), phi-3-medium 14B: —
| Benchmark | Llama 3.1-8B | phi-3-medium 14B |
|---|---|---|
| Berkeley Function Calling Leaderboard | 25.8% | — |
| BALROG | 15.1% | — |
Reasoning Not comparable
Llama 3.1-8B: 14.9 (#321), phi-3-medium 14B: —
| Benchmark | Llama 3.1-8B | phi-3-medium 14B |
|---|---|---|
| Epoch Capabilities Index | 116.57 | 121.23 |
| CritPt | 0% | — |
| Chess Puzzles | 0% | — |
| LMArena Hard Prompts | 1175 | — |
| DTBench | 50.9% | — |
| LMCA | 5.4% | — |
| Adversarial NLI | — | 55.8% |
| BIG-Bench Hard | — | 81.4% |
| HellaSwag | — | 82.4% |
| PIQA | 81.2% | — |
| WinoGrande | — | 81.5% |
Math phi-3-medium 14B leads
Llama 3.1-8B: 10.2 (#317), phi-3-medium 14B: 27.3 (#250)
| Benchmark | Llama 3.1-8B | phi-3-medium 14B |
|---|---|---|
| MATH Level 5 | 22.9% | 17.6% |
| OTIS Mock AIME 2024-2025 | 1.7% | — |
| Omni-MATH | 13.7% | — |
| LMArena Math | 1179 | — |
| GSM8K | 82.4% | — |
Knowledge phi-3-medium 14B leads
Llama 3.1-8B: 8.0 (#307), phi-3-medium 14B: 9.1 (#306)
| Benchmark | Llama 3.1-8B | phi-3-medium 14B |
|---|---|---|
| GPQA Diamond | 27% | 27.6% |
| MMLU | 56.1% | 78% |
| MMLU-Pro | 40.6% | — |
| GPQA (HELM) | 24.7% | — |
| LMArena Expert | 1144 | — |
| ARC (AI2) Challenge | — | 91.6% |
| BoolQ | 82.8% | — |
| OpenBookQA | — | 87.4% |
| TriviaQA | — | 73.9% |
Multilingual Not comparable
Llama 3.1-8B: 34.0 (#249), phi-3-medium 14B: —
| Benchmark | Llama 3.1-8B | phi-3-medium 14B |
|---|---|---|
| LMArena Non-English | 1148 | — |
| LMArena Chinese | 1151 | — |
| LMArena French | 1177 | — |
| LMArena German | 1144 | — |
| LMArena Japanese | 1061 | — |
| LMArena Korean | 1053 | — |
| LMArena Russian | 1158 | — |
| LMArena Spanish | 1169 | — |
Instruction Following Not comparable
Llama 3.1-8B: 58.9 (#258), phi-3-medium 14B: —
| Benchmark | Llama 3.1-8B | phi-3-medium 14B |
|---|---|---|
| IFEval | 74.3% | — |
| LMArena Instruction Following | 1159 | — |
Long Context Not comparable
Llama 3.1-8B: 35.8 (#238), phi-3-medium 14B: —
| Benchmark | Llama 3.1-8B | phi-3-medium 14B |
|---|---|---|
| LMArena Longer Query | 1182 | — |
Writing & Preference Not comparable
Llama 3.1-8B: 29.7 (#290), phi-3-medium 14B: —
| Benchmark | Llama 3.1-8B | phi-3-medium 14B |
|---|---|---|
| LMArena Text | 1187 | — |
| LMArena Creative Writing | 1154 | — |
| EQ-Bench Creative Writing | 713 | — |
| WildBench | 68.7% | — |
| LMArena Multi-Turn | 1172 | — |
Frequently asked questions
Is Llama 3.1-8B better than phi-3-medium 14B?
phi-3-medium 14B is the stronger model overall, scoring 29.7 to 23.0 on the Noometry Index.
Is Llama 3.1-8B or phi-3-medium 14B better for coding?
phi-3-medium 14B scores higher on coding benchmarks: 36.8 versus 20.2 in the Noometry coding category.
How many benchmarks do Llama 3.1-8B and phi-3-medium 14B share?
6 benchmarks have published results for both models. Llama 3.1-8B has 43 scored results on Noometry and phi-3-medium 14B has 13.