Model comparison

Codestral vs Phi 3 Small 8k Instruct

Codestral is the stronger model overall, scoring 30.6 to 29.3 on the Noometry Index.

Last verified . 0 shared benchmarks.

Codestral Mistral AI

30.6

Rank #290 Reported

Phi 3 Small 8k Instruct Microsoft

29.3

Rank #314 Confirmed

Summary

  • The widest gap is in reasoning, where Codestral leads 19.8 to 14.8.
  • Phi 3 Small 8k Instruct has downloadable open weights; the other is API-only.

Side by side

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

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 Small 8k Instruct: 27.9 (#318)

Coding benchmarks
BenchmarkCodestralPhi 3 Small 8k Instruct
Aider Polyglot11.1%—
BigCodeBench Instruct41.8%—
LiveBench Coding—20.3%
LMArena Coding—1101
BigCodeBench Complete52.5%—
ALE-Bench137.78—
HumanEval+73.8%—
MBPP+61.9%—

Reasoning Codestral leads

Codestral: 19.8 (#251), Phi 3 Small 8k Instruct: 14.8 (#323)

Reasoning benchmarks
BenchmarkCodestralPhi 3 Small 8k Instruct
Kagi LLM Benchmark32.5%—
LiveBench Reasoning—15.9%
LMArena Hard Prompts—1100
LiveBench Data Analysis—30.3%
Adversarial NLI—58.1%
BIG-Bench Hard—79.1%
HellaSwag—77%
LiveBench—24%
WinoGrande—81.5%

Math Not comparable

Codestral: —, Phi 3 Small 8k Instruct: 27.6 (#248)

Math benchmarks
BenchmarkCodestralPhi 3 Small 8k Instruct
LiveBench Math—17.6%
LMArena Math—1151

Knowledge Not comparable

Codestral: —, Phi 3 Small 8k Instruct: 29.1 (#240)

Knowledge benchmarks
BenchmarkCodestralPhi 3 Small 8k Instruct
LMArena Expert—1067
ARC (AI2) Challenge—90.7%
MMLU—75.7%
OpenBookQA—88%
TriviaQA—58.1%

Multilingual Not comparable

Codestral: —, Phi 3 Small 8k Instruct: 28.5 (#272)

Multilingual benchmarks
BenchmarkCodestralPhi 3 Small 8k Instruct
LMArena Non-English—1058
LMArena Chinese—1061
LMArena French—1135
LMArena German—1080
LMArena Japanese—966
LMArena Korean—894
LMArena Russian—1111
LMArena Spanish—1111

Instruction Following Not comparable

Codestral: —, Phi 3 Small 8k Instruct: 51.9 (#292)

Instruction Following benchmarks
BenchmarkCodestralPhi 3 Small 8k Instruct
LiveBench Instruction Following—47.2%
LMArena Instruction Following—1087

Long Context Not comparable

Codestral: —, Phi 3 Small 8k Instruct: 33.0 (#267)

Long Context benchmarks
BenchmarkCodestralPhi 3 Small 8k Instruct
LMArena Longer Query—1088

Writing & Preference Not comparable

Codestral: —, Phi 3 Small 8k Instruct: 31.1 (#284)

Writing & Preference benchmarks
BenchmarkCodestralPhi 3 Small 8k Instruct
LMArena Text—1110
LMArena Creative Writing—1083
LMArena Multi-Turn—1068
LiveBench Language—12.9%

Frequently asked questions

Is Codestral better than Phi 3 Small 8k Instruct?

Codestral is the stronger model overall, scoring 30.6 to 29.3 on the Noometry Index.

Is Codestral or Phi 3 Small 8k Instruct better for coding?

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

How many benchmarks do Codestral and Phi 3 Small 8k Instruct share?

0 benchmarks have published results for both models. Codestral has 7 scored results on Noometry and Phi 3 Small 8k Instruct has 32.

Related comparisons

Go deeper