Model comparison

Codestral vs Phi 3 Mini 128k Instruct

Codestral and Phi 3 Mini 128k Instruct score almost the same on the Noometry Index (30.6 vs 29.7), so choose on price, context window or the category you care about most.

Last verified . 2 shared benchmarks.

Codestral Mistral AI

30.6

Rank #290 Reported

Phi 3 Mini 128k Instruct Microsoft

29.7

Rank #305 Confirmed

Summary

  • They share 2 benchmarks with published results for both. Codestral scores higher in 1 category and Phi 3 Mini 128k Instruct in 1 category; one gap is clear of the uncertainty.
  • The biggest single-benchmark swing is BigCodeBench Instruct: 41.8% for Codestral and 29.6% for Phi 3 Mini 128k Instruct.
  • Phi 3 Mini 128k Instruct has downloadable open weights; the other is API-only.

Side by side

Codestral and Phi 3 Mini 128k Instruct specifications
CodestralPhi 3 Mini 128k Instruct
ProviderMistral AIMicrosoft
Noometry Index30.629.7
Released2024-05-292024-04-23
WeightsProprietaryOpen
Context window256K—
Max output8K—
Input $ / M tokens$0.30—
Output $ / M tokens$0.90—
Results tracked719

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding Phi 3 Mini 128k Instruct leads

Codestral: 27.3 (#321), Phi 3 Mini 128k Instruct: 28.8 (#312)

Coding benchmarks
BenchmarkCodestralPhi 3 Mini 128k Instruct
BigCodeBench Instruct41.8%29.6%
BigCodeBench Complete52.5%40.6%
Aider Polyglot11.1%—
LMArena Coding—1039
ALE-Bench137.78—
HumanEval+73.8%—
MBPP+61.9%—

Reasoning Too close to call

Codestral: 19.8 (#251), Phi 3 Mini 128k Instruct: 19.6 (#256)

Reasoning benchmarks
BenchmarkCodestralPhi 3 Mini 128k Instruct
Kagi LLM Benchmark32.5%—
LMArena Hard Prompts—1028

Math Not comparable

Codestral: —, Phi 3 Mini 128k Instruct: 31.6 (#222)

Math benchmarks
BenchmarkCodestralPhi 3 Mini 128k Instruct
LMArena Math—1089

Knowledge Not comparable

Codestral: —, Phi 3 Mini 128k Instruct: 26.8 (#254)

Knowledge benchmarks
BenchmarkCodestralPhi 3 Mini 128k Instruct
LMArena Expert—984

Multilingual Not comparable

Codestral: —, Phi 3 Mini 128k Instruct: 25.2 (#285)

Multilingual benchmarks
BenchmarkCodestralPhi 3 Mini 128k Instruct
LMArena Non-English—1000
LMArena Chinese—1016
LMArena French—1039
LMArena German—1006
LMArena Japanese—899
LMArena Korean—856
LMArena Russian—1004
LMArena Spanish—1059

Instruction Following Not comparable

Codestral: —, Phi 3 Mini 128k Instruct: 51.8 (#294)

Instruction Following benchmarks
BenchmarkCodestralPhi 3 Mini 128k Instruct
LMArena Instruction Following—1023

Long Context Not comparable

Codestral: —, Phi 3 Mini 128k Instruct: 30.4 (#289)

Long Context benchmarks
BenchmarkCodestralPhi 3 Mini 128k Instruct
LMArena Longer Query—996

Writing & Preference Not comparable

Codestral: —, Phi 3 Mini 128k Instruct: 27.1 (#301)

Writing & Preference benchmarks
BenchmarkCodestralPhi 3 Mini 128k Instruct
LMArena Text—1050
LMArena Creative Writing—1024
LMArena Multi-Turn—989

Frequently asked questions

Is Codestral better than Phi 3 Mini 128k Instruct?

Codestral and Phi 3 Mini 128k Instruct score almost the same on the Noometry Index (30.6 vs 29.7), so choose on price, context window or the category you care about most.

Is Codestral or Phi 3 Mini 128k Instruct better for coding?

Phi 3 Mini 128k Instruct scores higher on coding benchmarks: 28.8 versus 27.3 in the Noometry coding category.

How many benchmarks do Codestral and Phi 3 Mini 128k Instruct share?

2 benchmarks have published results for both models. Codestral has 7 scored results on Noometry and Phi 3 Mini 128k Instruct has 19.

Related comparisons

Go deeper