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.

Codestral Mistral AI

30.6

Rank #290 Reported

Phi 3 Mini 4k Instruct Microsoft

27.9

Rank #328 Confirmed

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 and Phi 3 Mini 4k Instruct specifications
CodestralPhi 3 Mini 4k Instruct
ProviderMistral AIMicrosoft
Noometry Index30.627.9
Released2024-05-292024-04-23
WeightsProprietaryOpen
Context window256K—
Max output8K—
Input $ / M tokens$0.30—
Output $ / M tokens$0.90—
Results tracked735

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)

Coding benchmarks
BenchmarkCodestralPhi 3 Mini 4k Instruct
HumanEval+73.8%59.1%
MBPP+61.9%54.2%
Aider Polyglot11.1%—
BigCodeBench Instruct41.8%—
LiveBench Coding—15.5%
LMArena Coding—1093
BigCodeBench Complete52.5%—
ALE-Bench137.78—

Reasoning Codestral leads

Codestral: 19.8 (#251), Phi 3 Mini 4k Instruct: 14.1 (#328)

Reasoning benchmarks
BenchmarkCodestralPhi 3 Mini 4k Instruct
Kagi LLM Benchmark32.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)

Math benchmarks
BenchmarkCodestralPhi 3 Mini 4k Instruct
LiveBench Math—15.7%
LMArena Math—1111

Knowledge Not comparable

Codestral: —, Phi 3 Mini 4k Instruct: 28.5 (#246)

Knowledge benchmarks
BenchmarkCodestralPhi 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)

Multilingual benchmarks
BenchmarkCodestralPhi 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)

Instruction Following benchmarks
BenchmarkCodestralPhi 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)

Long Context benchmarks
BenchmarkCodestralPhi 3 Mini 4k Instruct
LMArena Longer Query—1044

Writing & Preference Not comparable

Codestral: —, Phi 3 Mini 4k Instruct: 27.6 (#300)

Writing & Preference benchmarks
BenchmarkCodestralPhi 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.

Related comparisons

Go deeper