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.
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 | Mistral Medium 3.1 | |
|---|---|---|
| Provider | Mistral AI | Mistral AI |
| Noometry Index | 30.6 | 31.9 |
| Released | 2024-05-29 | — |
| Weights | Proprietary | Proprietary |
| Context window | 256K | 131K |
| Max output | 8K | 105K |
| Input $ / M tokens | $0.30 | $0.40 |
| Output $ / M tokens | $0.90 | $2 |
| Results tracked | 7 | 3 |
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: —
| Benchmark | Codestral | Mistral Medium 3.1 |
|---|---|---|
| Aider Polyglot | 11.1% | — |
| BigCodeBench Instruct | 41.8% | — |
| BigCodeBench Complete | 52.5% | — |
| ALE-Bench | 137.78 | — |
| HumanEval+ | 73.8% | — |
| MBPP+ | 61.9% | — |
Reasoning Codestral leads
Codestral: 19.8 (#251), Mistral Medium 3.1: 10.6 (#341)
| Benchmark | Codestral | Mistral Medium 3.1 |
|---|---|---|
| Kagi LLM Benchmark | 32.5% | — |
| NYT Connections (extended) | — | 6.5% |
| Thematic Generalization | — | 20.3% |
Writing & Preference Not comparable
Codestral: —, Mistral Medium 3.1: 55.5 (#145)
| Benchmark | Codestral | Mistral 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.