Model comparison
Llama 3-8B vs Phi 3 Medium 4k Instruct
Phi 3 Medium 4k Instruct is the stronger model overall, scoring 33.0 to 25.5 on the Noometry Index.
Last verified . 17 shared benchmarks.
Summary
- They share 17 benchmarks with published results for both. Llama 3-8B scores higher in 4 categories and Phi 3 Medium 4k Instruct in 4 categories; 5 gaps are clear of the uncertainty.
- The widest gap is in math, where Phi 3 Medium 4k Instruct leads 33.4 to 8.8.
Side by side
| Llama 3-8B | Phi 3 Medium 4k Instruct | |
|---|---|---|
| Provider | Meta | Microsoft |
| Noometry Index | 25.5 | 33.0 |
| Released | 2024-04-18 | — |
| Weights | Open | Open |
| Context window | — | — |
| Max output | — | — |
| Input $ / M tokens | — | — |
| Output $ / M tokens | — | — |
| Results tracked | 34 | 17 |
Sponsored placements are available on pages like this one. Advertise on Noometry
Category by category
Coding Phi 3 Medium 4k Instruct leads
Llama 3-8B: 31.0 (#289), Phi 3 Medium 4k Instruct: 32.9 (#268)
| Benchmark | Llama 3-8B | Phi 3 Medium 4k Instruct |
|---|---|---|
| LMArena Coding | 1152 | 1130 |
| BigCodeBench Instruct | 31.9% | — |
| BigCodeBench Complete | 36.9% | — |
| HumanEval+ | 56.7% | — |
| MBPP+ | 54.8% | — |
Reasoning Phi 3 Medium 4k Instruct leads
Llama 3-8B: 14.3 (#326), Phi 3 Medium 4k Instruct: 21.7 (#214)
| Benchmark | Llama 3-8B | Phi 3 Medium 4k Instruct |
|---|---|---|
| LMArena Hard Prompts | 1133 | 1127 |
| Chess Puzzles | 0% | — |
| DTBench | 43.9% | — |
| Adversarial NLI | 57.3% | — |
| Epoch Capabilities Index | 116.45 | — |
| ForecastBench | 58.6 | — |
| WinoGrande | 75.7% | — |
Math Phi 3 Medium 4k Instruct leads
Llama 3-8B: 8.8 (#323), Phi 3 Medium 4k Instruct: 33.4 (#202)
| Benchmark | Llama 3-8B | Phi 3 Medium 4k Instruct |
|---|---|---|
| LMArena Math | 1151 | 1173 |
| OTIS Mock AIME 2024-2025 | 1.9% | — |
| MATH Level 5 | 6.1% | — |
Knowledge Phi 3 Medium 4k Instruct leads
Llama 3-8B: 7.8 (#308), Phi 3 Medium 4k Instruct: 30.2 (#229)
| Benchmark | Llama 3-8B | Phi 3 Medium 4k Instruct |
|---|---|---|
| LMArena Expert | 1113 | 1108 |
| GPQA Diamond | 26.1% | — |
| ARC (AI2) Challenge | 82.8% | — |
| MMLU | 68.8% | — |
| OpenBookQA | 82.6% | — |
| TriviaQA | 67.7% | — |
Multilingual Too close to call
Llama 3-8B: 30.8 (#261), Phi 3 Medium 4k Instruct: 30.6 (#263)
| Benchmark | Llama 3-8B | Phi 3 Medium 4k Instruct |
|---|---|---|
| LMArena Non-English | 1098 | 1094 |
| LMArena Chinese | 1076 | 1108 |
| LMArena French | 1159 | 1110 |
| LMArena German | 1104 | 1101 |
| LMArena Japanese | 967 | 1042 |
| LMArena Korean | 1004 | 954 |
| LMArena Russian | 1109 | 1145 |
| LMArena Spanish | 1173 | 1095 |
Instruction Following Too close to call
Llama 3-8B: 58.4 (#260), Phi 3 Medium 4k Instruct: 57.6 (#268)
| Benchmark | Llama 3-8B | Phi 3 Medium 4k Instruct |
|---|---|---|
| LMArena Instruction Following | 1127 | 1113 |
Long Context Too close to call
Llama 3-8B: 34.2 (#251), Phi 3 Medium 4k Instruct: 34.0 (#255)
| Benchmark | Llama 3-8B | Phi 3 Medium 4k Instruct |
|---|---|---|
| LMArena Longer Query | 1128 | 1120 |
Writing & Preference Llama 3-8B leads
Llama 3-8B: 37.5 (#256), Phi 3 Medium 4k Instruct: 34.1 (#272)
| Benchmark | Llama 3-8B | Phi 3 Medium 4k Instruct |
|---|---|---|
| LMArena Text | 1166 | 1138 |
| LMArena Creative Writing | 1150 | 1107 |
| LMArena Multi-Turn | 1152 | 1088 |
Frequently asked questions
Is Llama 3-8B better than Phi 3 Medium 4k Instruct?
Phi 3 Medium 4k Instruct is the stronger model overall, scoring 33.0 to 25.5 on the Noometry Index.
Is Llama 3-8B or Phi 3 Medium 4k Instruct better for coding?
Phi 3 Medium 4k Instruct scores higher on coding benchmarks: 32.9 versus 31.0 in the Noometry coding category.
How many benchmarks do Llama 3-8B and Phi 3 Medium 4k Instruct share?
17 benchmarks have published results for both models. Llama 3-8B has 34 scored results on Noometry and Phi 3 Medium 4k Instruct has 17.