Model comparison

Codestral vs Mistral Medium 3.1

Mistral Medium 3.1 is the stronger model overall, scoring 31.9 to 30.6 on the Noometry Index. Codestral costs 1.8× less per token, which makes it the better buy when Mistral Medium 3.1's lead doesn't matter for your workload.

Last verified . 0 shared benchmarks.

Codestral Mistral AI

30.6

Rank #290 Reported

Mistral Medium 3.1 Mistral AI

31.9

Rank #266 Reported

Summary

  • The widest gap is in reasoning, where Codestral leads 19.8 to 10.6.
  • Codestral is cheaper at $0.30 / $0.90 per million input/output tokens, against $0.40 / $2 for Mistral Medium 3.1.
  • Codestral accepts more context: 256K tokens versus 131K.

Side by side

Codestral and Mistral Medium 3.1 specifications
CodestralMistral Medium 3.1
ProviderMistral AIMistral AI
Noometry Index30.631.9
Released2024-05-29—
WeightsProprietaryProprietary
Context window256K131K
Max output8K105K
Input $ / M tokens$0.30$0.40
Output $ / M tokens$0.90$2
Results tracked73

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

Category by category

Coding Not comparable

Codestral: 27.3 (#321), Mistral Medium 3.1: —

Coding benchmarks
BenchmarkCodestralMistral Medium 3.1
Aider Polyglot11.1%—
BigCodeBench Instruct41.8%—
BigCodeBench Complete52.5%—
ALE-Bench137.78—
HumanEval+73.8%—
MBPP+61.9%—

Reasoning Codestral leads

Codestral: 19.8 (#251), Mistral Medium 3.1: 10.6 (#341)

Reasoning benchmarks
BenchmarkCodestralMistral Medium 3.1
Kagi LLM Benchmark32.5%—
NYT Connections (extended)—6.5%
Thematic Generalization—20.3%

Writing & Preference Not comparable

Codestral: —, Mistral Medium 3.1: 55.5 (#145)

Writing & Preference benchmarks
BenchmarkCodestralMistral Medium 3.1
EQ-Bench Creative Writing—1476

Frequently asked questions

Is Codestral better than Mistral Medium 3.1?

Mistral Medium 3.1 is the stronger model overall, scoring 31.9 to 30.6 on the Noometry Index. Codestral costs 1.8× less per token, which makes it the better buy when Mistral Medium 3.1's lead doesn't matter for your workload.

Which is cheaper, Codestral or Mistral Medium 3.1?

Codestral is cheaper. It lists at $0.30 per million input tokens and $0.90 per million output tokens; Mistral Medium 3.1 lists at $0.40 and $2.

Which has the bigger context window?

Codestral does, with 256K tokens against 131K.

How many benchmarks do Codestral and Mistral Medium 3.1 share?

0 benchmarks have published results for both models. Codestral has 7 scored results on Noometry and Mistral Medium 3.1 has 3.

Related comparisons

Go deeper