# Codestral vs gpt-oss-20b

> gpt-oss-20b is the stronger model overall, scoring 32.1 to 30.1 on the Noometry Index.

- Canonical page: https://noometry.com/compare/codestral-vs-gpt-oss-20b
- Last updated: 2026-10-10
- Shared benchmarks: 2

## Summary

- They share 2 benchmarks with published results for both. Codestral scores higher in 1 category and gpt-oss-20b in 1 category; one gap is clear of the uncertainty.
- The widest gap is in coding, where gpt-oss-20b leads 37.1 to 26.9.
- The biggest single-benchmark swing is Kagi LLM Benchmark: 32.5% for Codestral and 53.2% for gpt-oss-20b.
- gpt-oss-20b is cheaper at $0.018 / $0.09 per million input/output tokens, against $0.30 / $0.90 for Codestral.
- Codestral accepts more context: 256K tokens versus 131K.

## Snapshot

| | Codestral | gpt-oss-20b |
|---|---|---|
| Provider | Mistral AI | OpenAI |
| Noometry Index | 30.1 | 32.1 |
| Rank | 287 | 249 |
| Context | 256K | 131K |
| Input $/M | $0.30 | $0.018 |
| Output $/M | $0.90 | $0.09 |
| Weights | Open | Open |

## Coding

- Codestral: 26.9 (#316)
- gpt-oss-20b: 37.1 (#185)

| Benchmark | Codestral | gpt-oss-20b |
|---|---|---|
| ALE-Bench | 137.78 | 566.05 |
| Aider Polyglot | 11.1% | — |
| SciCode | — | 34.4% |
| WeirdML | — | 40.9% |
| BigCodeBench Instruct | 41.8% | — |
| LMArena Coding | — | 1307 |
| BigCodeBench Complete | 52.5% | — |
| HumanEval+ | 73.8% | — |
| MBPP+ | 61.9% | — |

## Agentic & Tool Use

- Codestral: —
- gpt-oss-20b: 9.2 (#146)

| Benchmark | Codestral | gpt-oss-20b |
|---|---|---|
| Terminal-Bench | — | 3.4% |

## Reasoning

- Codestral: 19.1 (#244)
- gpt-oss-20b: 18.8 (#251)

| Benchmark | Codestral | gpt-oss-20b |
|---|---|---|
| Kagi LLM Benchmark | 32.5% | 53.2% |
| CritPt | — | 1.4% |
| Chess Puzzles | — | 4% |
| LMArena Hard Prompts | — | 1274 |
| DTBench | — | 68% |
| LMCA | — | 14.5% |
| Epoch Capabilities Index | — | 137.81 |

## Math

- Codestral: —
- gpt-oss-20b: 37.6 (#93)

| Benchmark | Codestral | gpt-oss-20b |
|---|---|---|
| OTIS Mock AIME 2024-2025 | — | 65.3% |
| Omni-MATH | — | 56.5% |
| LMArena Math | — | 1317 |

## Knowledge

- Codestral: —
- gpt-oss-20b: 34.6 (#186)

| Benchmark | Codestral | gpt-oss-20b |
|---|---|---|
| GPQA Diamond | — | 60.8% |
| MMLU-Pro | — | 74% |
| GPQA (HELM) | — | 59.4% |
| LMArena Expert | — | 1258 |

## Multilingual

- Codestral: —
- gpt-oss-20b: 42.4 (#192)

| Benchmark | Codestral | gpt-oss-20b |
|---|---|---|
| LMArena Non-English | — | 1269 |
| LMArena Chinese | — | 1311 |
| LMArena German | — | 1249 |
| LMArena Japanese | — | 1245 |
| LMArena Korean | — | 1239 |
| LMArena Russian | — | 1279 |
| LMArena Spanish | — | 1267 |

## Instruction Following

- Codestral: —
- gpt-oss-20b: 62.0 (#235)

| Benchmark | Codestral | gpt-oss-20b |
|---|---|---|
| IFEval | — | 73.2% |
| LMArena Instruction Following | — | 1236 |

## Long Context

- Codestral: —
- gpt-oss-20b: 37.9 (#203)

| Benchmark | Codestral | gpt-oss-20b |
|---|---|---|
| LMArena Longer Query | — | 1251 |

## Writing & Preference

- Codestral: —
- gpt-oss-20b: 35.8 (#260)

| Benchmark | Codestral | gpt-oss-20b |
|---|---|---|
| LMArena Text | — | 1288 |
| LMArena Creative Writing | — | 1201 |
| EQ-Bench Creative Writing | — | 666 |
| WildBench | — | 73.7% |
| LMArena Multi-Turn | — | 1268 |

## FAQ

### Is Codestral better than gpt-oss-20b?

gpt-oss-20b is the stronger model overall, scoring 32.1 to 30.1 on the Noometry Index.

### Which is cheaper, Codestral or gpt-oss-20b?

gpt-oss-20b is cheaper. It lists at $0.018 per million input tokens and $0.09 per million output tokens; Codestral lists at $0.30 and $0.90.

### Is Codestral or gpt-oss-20b better for coding?

gpt-oss-20b scores higher on coding benchmarks: 37.1 versus 26.9 in the Noometry coding category.

### Which has the bigger context window?

Codestral does, with 256K tokens against 131K.

### How many benchmarks do Codestral and gpt-oss-20b share?

2 benchmarks have published results for both models. Codestral has 7 scored results on Noometry and gpt-oss-20b has 34.
