# Codestral vs Phi-2

> Codestral has enough public results to be ranked (#290); Phi-2 does not yet, so treat this comparison as directional.

- Canonical page: https://noometry.com/compare/codestral-vs-phi-2
- Last updated: 2026-10-10
- Shared benchmarks: 2

## Summary

- They share 2 benchmarks with published results for both.
- Phi-2 has downloadable open weights; the other is API-only.

## Snapshot

| | Codestral | Phi-2 |
|---|---|---|
| Provider | Mistral AI | Microsoft |
| Noometry Index | 30.6 | — |
| Rank | 290 | — |
| Context | 256K | — |
| Input $/M | $0.30 | — |
| Output $/M | $0.90 | — |
| Weights | Proprietary | Open |

## Coding

- Codestral: 27.3 (#321)
- Phi-2: —

| Benchmark | Codestral | Phi-2 |
|---|---|---|
| HumanEval+ | 73.8% | 45.1% |
| MBPP+ | 61.9% | 54.2% |
| Aider Polyglot | 11.1% | — |
| BigCodeBench Instruct | 41.8% | — |
| BigCodeBench Complete | 52.5% | — |
| ALE-Bench | 137.78 | — |

## Reasoning

- Codestral: 19.8 (#251)
- Phi-2: —

| Benchmark | Codestral | Phi-2 |
|---|---|---|
| Kagi LLM Benchmark | 32.5% | — |
| Adversarial NLI | — | 42.5% |
| BIG-Bench Hard | — | 59.4% |
| Epoch Capabilities Index | — | 107.94 |
| HellaSwag | — | 53.6% |
| WinoGrande | — | 54.7% |

## Knowledge

- Codestral: —
- Phi-2: —

| Benchmark | Codestral | Phi-2 |
|---|---|---|
| ARC (AI2) Challenge | — | 75.9% |
| MMLU | — | 58.4% |
| OpenBookQA | — | 73.6% |
| TriviaQA | — | 45.2% |

## FAQ

### Is Codestral better than Phi-2?

Codestral has enough public results to be ranked (#290); Phi-2 does not yet, so treat this comparison as directional.

### How many benchmarks do Codestral and Phi-2 share?

2 benchmarks have published results for both models. Codestral has 7 scored results on Noometry and Phi-2 has 11.
