# Codestral vs Mistral Medium 3.1

> Mistral Medium 3.1 is the stronger model overall, scoring 31.5 to 30.1 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.

- Canonical page: https://noometry.com/compare/codestral-vs-mistral-medium-3-1
- Last updated: 2026-10-10
- Shared benchmarks: 0

## Summary

- The widest gap is in reasoning, where Codestral leads 19.1 to 10.1.
- 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.
- Codestral has downloadable open weights; the other is API-only.

## Snapshot

| | Codestral | Mistral Medium 3.1 |
|---|---|---|
| Provider | Mistral AI | Mistral AI |
| Noometry Index | 30.1 | 31.5 |
| Rank | 287 | 260 |
| Context | 256K | 131K |
| Input $/M | $0.30 | $0.40 |
| Output $/M | $0.90 | $2 |
| Weights | Open | Proprietary |

## Coding

- Codestral: 26.9 (#316)
- 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: 19.1 (#244)
- Mistral Medium 3.1: 10.1 (#336)

| Benchmark | Codestral | Mistral Medium 3.1 |
|---|---|---|
| Kagi LLM Benchmark | 32.5% | — |
| NYT Connections (extended) | — | 6.5% |
| Thematic Generalization | — | 20.3% |

## Writing & Preference

- Codestral: —
- Mistral Medium 3.1: 55.6 (#140)

| Benchmark | Codestral | Mistral Medium 3.1 |
|---|---|---|
| EQ-Bench Creative Writing | — | 1476 |

## FAQ

### Is Codestral better than Mistral Medium 3.1?

Mistral Medium 3.1 is the stronger model overall, scoring 31.5 to 30.1 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.
