# GPT-5-Codex vs gpt-oss-20b

> GPT-5-Codex is the stronger model overall, scoring 37.9 to 32.5 on the Noometry Index. gpt-oss-20b costs 95× less per token, which makes it the better buy when GPT-5-Codex's lead doesn't matter for your workload.

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

## Summary

- They share 3 benchmarks with published results for both. GPT-5-Codex scores higher in 3 categories and gpt-oss-20b in 0 categories; 3 gaps are clear of the uncertainty.
- The widest gap is in agentic & tool use, where GPT-5-Codex leads 31.0 to 9.3.
- The biggest single-benchmark swing is Terminal-Bench: 44.3% for GPT-5-Codex and 3.4% for gpt-oss-20b.
- gpt-oss-20b is cheaper at $0.018 / $0.09 per million input/output tokens, against $1.25 / $10 for GPT-5-Codex.
- GPT-5-Codex accepts more context: 400K tokens versus 131K.
- gpt-oss-20b has downloadable open weights; the other is API-only.

## Snapshot

| | GPT-5-Codex | gpt-oss-20b |
|---|---|---|
| Provider | OpenAI | OpenAI |
| Noometry Index | 37.9 | 32.5 |
| Rank | 192 | 255 |
| Context | 400K | 131K |
| Input $/M | $1.25 | $0.018 |
| Output $/M | $10 | $0.09 |
| Weights | Proprietary | Open |

## Coding

- GPT-5-Codex: 42.4 (#103)
- gpt-oss-20b: 37.6 (#192)

| Benchmark | GPT-5-Codex | gpt-oss-20b |
|---|---|---|
| WeirdML | 54.5% | 40.9% |
| SciCode | — | 34.4% |
| LMArena Coding | — | 1306 |
| ALE-Bench | — | 566.05 |

## Agentic & Tool Use

- GPT-5-Codex: 31.0 (#72)
- gpt-oss-20b: 9.3 (#154)

| Benchmark | GPT-5-Codex | gpt-oss-20b |
|---|---|---|
| Terminal-Bench | 44.3% | 3.4% |

## Reasoning

- GPT-5-Codex: 30.9 (#83)
- gpt-oss-20b: 19.3 (#261)

| Benchmark | GPT-5-Codex | gpt-oss-20b |
|---|---|---|
| Kagi LLM Benchmark | 70.3% | 53.2% |
| CritPt | — | 1.4% |
| Chess Puzzles | — | 4% |
| LMArena Hard Prompts | — | 1274 |
| DTBench | — | 68% |
| LMCA | — | 14.5% |
| Epoch Capabilities Index | — | 137.82 |

## Math

- GPT-5-Codex: —
- gpt-oss-20b: 39.4 (#103)

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

## Knowledge

- GPT-5-Codex: —
- gpt-oss-20b: 34.6 (#195)

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

## Multilingual

- GPT-5-Codex: —
- gpt-oss-20b: 42.2 (#197)

| Benchmark | GPT-5-Codex | gpt-oss-20b |
|---|---|---|
| LMArena Non-English | — | 1268 |
| LMArena Chinese | — | 1314 |
| LMArena German | — | 1255 |
| LMArena Japanese | — | 1244 |
| LMArena Korean | — | 1236 |
| LMArena Russian | — | 1278 |
| LMArena Spanish | — | 1267 |

## Instruction Following

- GPT-5-Codex: —
- gpt-oss-20b: 61.8 (#240)

| Benchmark | GPT-5-Codex | gpt-oss-20b |
|---|---|---|
| IFEval | — | 73.2% |
| LMArena Instruction Following | — | 1236 |

## Long Context

- GPT-5-Codex: —
- gpt-oss-20b: 37.9 (#209)

| Benchmark | GPT-5-Codex | gpt-oss-20b |
|---|---|---|
| LMArena Longer Query | — | 1250 |

## Writing & Preference

- GPT-5-Codex: —
- gpt-oss-20b: 35.5 (#265)

| Benchmark | GPT-5-Codex | gpt-oss-20b |
|---|---|---|
| LMArena Text | — | 1287 |
| LMArena Creative Writing | — | 1201 |
| EQ-Bench Creative Writing | — | 666 |
| WildBench | — | 73.7% |
| LMArena Multi-Turn | — | 1268 |

## FAQ

### Is GPT-5-Codex better than gpt-oss-20b?

GPT-5-Codex is the stronger model overall, scoring 37.9 to 32.5 on the Noometry Index. gpt-oss-20b costs 95× less per token, which makes it the better buy when GPT-5-Codex's lead doesn't matter for your workload.

### Which is cheaper, GPT-5-Codex 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; GPT-5-Codex lists at $1.25 and $10.

### Is GPT-5-Codex or gpt-oss-20b better for coding?

GPT-5-Codex scores higher on coding benchmarks: 42.4 versus 37.6 in the Noometry coding category.

### Which has the bigger context window?

GPT-5-Codex does, with 400K tokens against 131K.

### How many benchmarks do GPT-5-Codex and gpt-oss-20b share?

3 benchmarks have published results for both models. GPT-5-Codex has 3 scored results on Noometry and gpt-oss-20b has 34.
