# Llama 2-7B vs Phi 3 Mini 128k Instruct

> Llama 2-7B and Phi 3 Mini 128k Instruct score almost the same on the Noometry Index (28.6 vs 29.1), so choose on price, context window or the category you care about most.

- Canonical page: https://noometry.com/compare/llama-2-7b-vs-phi-3-mini-128k-instruct
- Last updated: 2026-10-10
- Shared benchmarks: 15

## Summary

- They share 15 benchmarks with published results for both. Llama 2-7B scores higher in 4 categories and Phi 3 Mini 128k Instruct in 4 categories; 4 gaps are clear of the uncertainty.
- The widest gap is in reasoning, where Phi 3 Mini 128k Instruct leads 18.7 to 15.1.

## Snapshot

| | Llama 2-7B | Phi 3 Mini 128k Instruct |
|---|---|---|
| Provider | Meta | Microsoft |
| Noometry Index | 28.6 | 29.1 |
| Rank | 315 | 303 |
| Context | — | — |
| Input $/M | — | — |
| Output $/M | — | — |
| Weights | Open | Open |

## Coding

- Llama 2-7B: 28.7 (#302)
- Phi 3 Mini 128k Instruct: 28.3 (#307)

| Benchmark | Llama 2-7B | Phi 3 Mini 128k Instruct |
|---|---|---|
| LMArena Coding | 1002 | 1040 |
| BigCodeBench Instruct | — | 29.6% |
| BigCodeBench Complete | — | 40.6% |

## Reasoning

- Llama 2-7B: 15.1 (#309)
- Phi 3 Mini 128k Instruct: 18.7 (#254)

| Benchmark | Llama 2-7B | Phi 3 Mini 128k Instruct |
|---|---|---|
| LMArena Hard Prompts | 1009 | 1028 |
| Chess Puzzles | 0% | — |
| BIG-Bench Hard | 39.2% | — |
| Epoch Capabilities Index | 98.54 | — |
| HellaSwag | 77.2% | — |
| LAMBADA | 73.3% | — |
| PIQA | 78.8% | — |
| WinoGrande | 69.2% | — |

## Math

- Llama 2-7B: 28.2 (#231)
- Phi 3 Mini 128k Instruct: 29.2 (#220)

| Benchmark | Llama 2-7B | Phi 3 Mini 128k Instruct |
|---|---|---|
| LMArena Math | 1042 | 1089 |
| GSM8K | 16.7% | — |

## Knowledge

- Llama 2-7B: 27.7 (#243)
- Phi 3 Mini 128k Instruct: 26.3 (#251)

| Benchmark | Llama 2-7B | Phi 3 Mini 128k Instruct |
|---|---|---|
| LMArena Expert | 1036 | 984 |
| ARC (AI2) Challenge | 45.9% | — |
| BoolQ | 77.9% | — |
| MMLU | 45.8% | — |
| OpenBookQA | 58.6% | — |
| TriviaQA | 73.7% | — |

## Multimodal

- Llama 2-7B: —
- Phi 3 Mini 128k Instruct: —

| Benchmark | Llama 2-7B | Phi 3 Mini 128k Instruct |
|---|---|---|
| ScienceQA | 43.1% | — |

## Multilingual

- Llama 2-7B: 23.9 (#288)
- Phi 3 Mini 128k Instruct: 25.4 (#280)

| Benchmark | Llama 2-7B | Phi 3 Mini 128k Instruct |
|---|---|---|
| LMArena Non-English | 973 | 1000 |
| LMArena Chinese | 973 | 1016 |
| LMArena French | 969 | 1038 |
| LMArena German | 978 | 1006 |
| LMArena Russian | 995 | 1004 |
| LMArena Spanish | 1007 | 1058 |
| LMArena Japanese | — | 899 |
| LMArena Korean | — | 856 |

## Instruction Following

- Llama 2-7B: 51.0 (#293)
- Phi 3 Mini 128k Instruct: 52.1 (#289)

| Benchmark | Llama 2-7B | Phi 3 Mini 128k Instruct |
|---|---|---|
| LMArena Instruction Following | 1006 | 1023 |

## Long Context

- Llama 2-7B: 30.4 (#282)
- Phi 3 Mini 128k Instruct: 30.3 (#284)

| Benchmark | Llama 2-7B | Phi 3 Mini 128k Instruct |
|---|---|---|
| LMArena Longer Query | 999 | 996 |

## Writing & Preference

- Llama 2-7B: 28.1 (#293)
- Phi 3 Mini 128k Instruct: 27.3 (#296)

| Benchmark | Llama 2-7B | Phi 3 Mini 128k Instruct |
|---|---|---|
| LMArena Text | 1053 | 1050 |
| LMArena Creative Writing | 1033 | 1024 |
| LMArena Multi-Turn | 1029 | 989 |

## FAQ

### Is Llama 2-7B better than Phi 3 Mini 128k Instruct?

Llama 2-7B and Phi 3 Mini 128k Instruct score almost the same on the Noometry Index (28.6 vs 29.1), so choose on price, context window or the category you care about most.

### Is Llama 2-7B or Phi 3 Mini 128k Instruct better for coding?

They score almost the same on coding (28.7 vs 28.3); test both on your own repository before choosing.

### How many benchmarks do Llama 2-7B and Phi 3 Mini 128k Instruct share?

15 benchmarks have published results for both models. Llama 2-7B has 29 scored results on Noometry and Phi 3 Mini 128k Instruct has 19.
