Model comparison
Codestral vs Phi 3 Mini 4k Instruct
Codestral is the stronger model overall, scoring 30.6 to 27.9 on the Noometry Index.
Last verified . 2 shared benchmarks.
Summary
- They share 2 benchmarks with published results for both. Codestral scores higher in 2 categories and Phi 3 Mini 4k Instruct in 0 categories; one gap is clear of the uncertainty.
- The widest gap is in reasoning, where Codestral leads 19.8 to 14.1.
- Phi 3 Mini 4k Instruct has downloadable open weights; the other is API-only.
Side by side
| Codestral | Phi 3 Mini 4k Instruct | |
|---|---|---|
| Provider | Mistral AI | Microsoft |
| Noometry Index | 30.6 | 27.9 |
| Released | 2024-05-29 | 2024-04-23 |
| Weights | Proprietary | Open |
| Context window | 256K | — |
| Max output | 8K | — |
| Input $ / M tokens | $0.30 | — |
| Output $ / M tokens | $0.90 | — |
| Results tracked | 7 | 35 |
Sponsored placements are available on pages like this one. Advertise on Noometry
Category by category
Coding Too close to call
Codestral: 27.3 (#321), Phi 3 Mini 4k Instruct: 26.6 (#323)
| Benchmark | Codestral | Phi 3 Mini 4k Instruct |
|---|---|---|
| HumanEval+ | 73.8% | 59.1% |
| MBPP+ | 61.9% | 54.2% |
| Aider Polyglot | 11.1% | — |
| BigCodeBench Instruct | 41.8% | — |
| LiveBench Coding | — | 15.5% |
| LMArena Coding | — | 1093 |
| BigCodeBench Complete | 52.5% | — |
| ALE-Bench | 137.78 | — |
Reasoning Codestral leads
Codestral: 19.8 (#251), Phi 3 Mini 4k Instruct: 14.1 (#328)
| Benchmark | Codestral | Phi 3 Mini 4k Instruct |
|---|---|---|
| Kagi LLM Benchmark | 32.5% | — |
| Chess Puzzles | — | 0% |
| LiveBench Reasoning | — | 26.8% |
| LMArena Hard Prompts | — | 1072 |
| LiveBench Data Analysis | — | 34.7% |
| Adversarial NLI | — | 52.8% |
| BIG-Bench Hard | — | 71.7% |
| HellaSwag | — | 76.7% |
| LiveBench | — | 22.4% |
| WinoGrande | — | 70.8% |
Math Not comparable
Codestral: —, Phi 3 Mini 4k Instruct: 26.6 (#257)
| Benchmark | Codestral | Phi 3 Mini 4k Instruct |
|---|---|---|
| LiveBench Math | — | 15.7% |
| LMArena Math | — | 1111 |
Knowledge Not comparable
Codestral: —, Phi 3 Mini 4k Instruct: 28.5 (#246)
| Benchmark | Codestral | Phi 3 Mini 4k Instruct |
|---|---|---|
| LMArena Expert | — | 1045 |
| ARC (AI2) Challenge | — | 84.9% |
| MMLU | — | 68.8% |
| OpenBookQA | — | 88% |
| TriviaQA | — | 64% |
Multilingual Not comparable
Codestral: —, Phi 3 Mini 4k Instruct: 26.3 (#280)
| Benchmark | Codestral | Phi 3 Mini 4k Instruct |
|---|---|---|
| LMArena Non-English | — | 1021 |
| LMArena Chinese | — | 1021 |
| LMArena French | — | 1076 |
| LMArena German | — | 1044 |
| LMArena Japanese | — | 935 |
| LMArena Korean | — | 905 |
| LMArena Russian | — | 1022 |
| LMArena Spanish | — | 1085 |
Instruction Following Not comparable
Codestral: —, Phi 3 Mini 4k Instruct: 47.7 (#303)
| Benchmark | Codestral | Phi 3 Mini 4k Instruct |
|---|---|---|
| LiveBench Instruction Following | — | 39.1% |
| LMArena Instruction Following | — | 1053 |
Long Context Not comparable
Codestral: —, Phi 3 Mini 4k Instruct: 31.7 (#276)
| Benchmark | Codestral | Phi 3 Mini 4k Instruct |
|---|---|---|
| LMArena Longer Query | — | 1044 |
Writing & Preference Not comparable
Codestral: —, Phi 3 Mini 4k Instruct: 27.6 (#300)
| Benchmark | Codestral | Phi 3 Mini 4k Instruct |
|---|---|---|
| LMArena Text | — | 1073 |
| LMArena Creative Writing | — | 1037 |
| LMArena Multi-Turn | — | 1018 |
| LiveBench Language | — | 9.2% |
Frequently asked questions
Is Codestral better than Phi 3 Mini 4k Instruct?
Codestral is the stronger model overall, scoring 30.6 to 27.9 on the Noometry Index.
Is Codestral or Phi 3 Mini 4k Instruct better for coding?
They score almost the same on coding (27.3 vs 26.6); test both on your own repository before choosing.
How many benchmarks do Codestral and Phi 3 Mini 4k Instruct share?
2 benchmarks have published results for both models. Codestral has 7 scored results on Noometry and Phi 3 Mini 4k Instruct has 35.