Model comparison
GPT-5.2-Codex vs GPT-OSS 20B
Head-to-head evidence from 11 shared benchmark results across 5 categories. Overall scores shown here use the public BenchAlign v5 ranking lane.
Public leaderboard positions: GPT-5.2-Codex #58 (Supported); GPT-OSS 20B #159 (Supported). Intervals and evidence labels describe ranking uncertainty, not a guarantee for a specific workload.
Evidence parity. GPT-5.2-Codex and GPT-OSS 20B share 11 comparable benchmark results. 0 of 8 categories are comparable. 4 results are unique to GPT-5.2-Codex; 7 to GPT-OSS 20B.
Updated July 20, 2026- Shared results
- 11
- GPT-5.2-Codex only
- 4
- GPT-OSS 20B only
- 7
- Comparable categories
- 0 / 8
Benchmark data for GPT-5.2-Codex and GPT-OSS 20B is coming soon on BenchLM.
Confidence note. This is a partial-evidence comparison with 11 shared benchmark results across 5 evidence categories; 0 of 8 categories currently have scoreable aggregates for both models. Treat the verdict as directional until coverage is more balanced.
Why this result
BenchLM has partial data for these models, but not enough overlapping benchmark coverage to produce a fair score-level comparison yet.
GPT-5.2-Codex is priced at $1.75 input / $14.00 output per 1M tokens, versus $0.00 input / $0.00 output per 1M tokens for GPT-OSS 20B. GPT-5.2-Codex has the larger context window at 400K, compared with 128K for GPT-OSS 20B.
Category breakdown
Exact category averages are shown below. Not measured means BenchLM does not have enough sourced public coverage for that model and category.
Operational comparison
Runtime and commercial metrics are compared only when both models have a complete sourced value.
| Metric | GPT-5.2-Codex | GPT-OSS 20B | Comparison |
|---|---|---|---|
| Input / output priceUSD per 1M tokens | GPT-5.2-Codex$1.75 input / $14 output | GPT-OSS 20B$0 input / $0 output | GPT-OSS 20B has the lower combined listed price. |
| Generation speedtokens per second | GPT-5.2-Codex123 tok/s | GPT-OSS 20B313 tok/s | GPT-OSS 20B has the higher measured throughput. |
| First-answer latencyseconds to first token | GPT-5.2-Codex87.34 s | GPT-OSS 20B0.65 s | GPT-OSS 20B reaches the first token sooner. |
| Context windowmaximum listed tokens | GPT-5.2-Codex400K | GPT-OSS 20B128K | GPT-5.2-Codex lists the larger context window. |
Benchmark Deep Dive
Agentic7 benchmarks
| Benchmark | GPT-5.2-Codex | GPT-OSS 20B | Result |
|---|---|---|---|
| τ²-bench resultsSource | 92.1% | 60.2% | GPT-5.2-Codex leads |
| Gert LabsSource | 51.79% | — | Not comparable |
| JobBenchSource | 26.0% | — | Not comparable |
| AA Agentic IndexSource | — | 3.1% | Not comparable |
| APEX-Agents-AASource | — | 0.7% | Not comparable |
| GDPval-AASource | — | 3.0% | Not comparable |
| GDPval-AASource | — | 559 | Not comparable |
Coding4 benchmarks
Reasoning2 benchmarks
Knowledge6 benchmarks
| Benchmark | GPT-5.2-Codex | GPT-OSS 20B | Result |
|---|---|---|---|
| Artificial Analysis Intelligence IndexSource | 40.1% | 14.9% | GPT-5.2-Codex leads |
| AA-GPQA DiamondSource | 89.9% | 68.8% | GPT-5.2-Codex leads |
| AA-HLESource | 33.5% | 9.8% | GPT-5.2-Codex leads |
| AA-Omniscience IndexSource | -2.5% | -63.9% | GPT-5.2-Codex leads |
| AA-Omniscience AccuracySource | 40.7% | 15.5% | GPT-5.2-Codex leads |
| AA-Omniscience Hallucination RateSource | 72.8% | 94.1% | GPT-5.2-Codex leads |
Multimodal2 benchmarks
Inst. Following1 benchmarks
| Benchmark | GPT-5.2-Codex | GPT-OSS 20B | Result |
|---|---|---|---|
| AA-IFBenchSource | 77.6% | 65.1% | GPT-5.2-Codex leads |
Frequently Asked Questions (3)
Can I compare GPT-5.2-Codex and GPT-OSS 20B on BenchLM yet?
Not fully yet. BenchLM is tracking both models, but the sourced benchmark breakdown for this comparison is still coming soon.
Why does this comparison show “coming soon”?
BenchLM only shows category winners and benchmark-level calls when we have sourced results that can be compared fairly. For these models, the public benchmark coverage is not complete enough yet.
What data is available for GPT-5.2-Codex and GPT-OSS 20B today?
GPT-5.2-Codex: $1.75 input / $14.00 output per 1M tokens GPT-OSS 20B: $0.00 input / $0.00 output per 1M tokens Both model pages still include creator, context window, reasoning mode, and other metadata while benchmark coverage fills in.
Related Comparisons
Explore More
Choose a model with this week’s evidence
Join 2,000+ readers for ranking moves, pricing changes, and the claims that still need proof.
One email each week. Unsubscribe anytime.