Model comparison

Codestral vs StarCoder 2 7B

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

Last verified . 2 shared benchmarks.

Codestral Mistral AI

30.6

Rank #290 Reported

StarCoder 2 7B NVIDIA

37.0

Unranked Sparse

Summary

  • They share 2 benchmarks with published results for both. Codestral scores higher in 0 categories and StarCoder 2 7B in 1 category; one gap is clear of the uncertainty.
  • The widest gap is in coding, where StarCoder 2 7B leads 34.8 to 27.3.
  • The biggest single-benchmark swing is BigCodeBench Complete: 52.5% for Codestral and 27.7% for StarCoder 2 7B.
  • StarCoder 2 7B has downloadable open weights; the other is API-only.

Side by side

Codestral and StarCoder 2 7B specifications
CodestralStarCoder 2 7B
ProviderMistral AINVIDIA
Noometry Index30.637.0
Released2024-05-292024-02-20
WeightsProprietaryOpen
Context window256K—
Max output8K—
Input $ / M tokens$0.30—
Output $ / M tokens$0.90—
Results tracked77

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

Category by category

Coding StarCoder 2 7B leads

Codestral: 27.3 (#321), StarCoder 2 7B: 34.8

Coding benchmarks
BenchmarkCodestralStarCoder 2 7B
BigCodeBench Complete52.5%27.7%
HumanEval+73.8%29.9%
Aider Polyglot11.1%—
BigCodeBench Instruct41.8%—
ALE-Bench137.78—
MBPP+61.9%—

Reasoning Not comparable

Codestral: 19.8 (#251), StarCoder 2 7B: —

Reasoning benchmarks
BenchmarkCodestralStarCoder 2 7B
Kagi LLM Benchmark32.5%—
Epoch Capabilities Index—93.56
WinoGrande—57.1%

Math Not comparable

Codestral: —, StarCoder 2 7B: —

Math benchmarks
BenchmarkCodestralStarCoder 2 7B
GSM8K—32.7%

Knowledge Not comparable

Codestral: —, StarCoder 2 7B: —

Knowledge benchmarks
BenchmarkCodestralStarCoder 2 7B
ARC (AI2) Challenge—38.7%
MMLU—38.8%

Frequently asked questions

Is Codestral better than StarCoder 2 7B?

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

Is Codestral or StarCoder 2 7B better for coding?

StarCoder 2 7B scores higher on coding benchmarks: 34.8 versus 27.3 in the Noometry coding category.

How many benchmarks do Codestral and StarCoder 2 7B share?

2 benchmarks have published results for both models. Codestral has 7 scored results on Noometry and StarCoder 2 7B has 7.

Related comparisons

Go deeper