Model comparison
GPT-4.1 mini vs GPT-5.2-Codex
Head-to-head evidence from 12 shared benchmark results across 6 categories. Overall scores shown here use the public BenchAlign v5 ranking lane.
Public leaderboard positions: GPT-4.1 mini #160 (Estimated); GPT-5.2-Codex #66 (Supported). Intervals and evidence labels describe ranking uncertainty, not a guarantee for a specific workload.
Evidence parity. GPT-4.1 mini and GPT-5.2-Codex share 12 comparable benchmark results. 0 of 8 categories are comparable. 10 results are unique to GPT-4.1 mini; 3 to GPT-5.2-Codex.
Updated July 24, 2026- Shared results
- 12
- GPT-4.1 mini only
- 10
- GPT-5.2-Codex only
- 3
- Comparable categories
- 0 / 8
Benchmark data for GPT-4.1 mini and GPT-5.2-Codex is coming soon on BenchLM.
Confidence note. This is a partial-evidence comparison with 12 shared benchmark results across 6 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.40 input / $1.60 output per 1M tokens for GPT-4.1 mini. GPT-4.1 mini has the larger context window at 1M, compared with 400K for GPT-5.2-Codex.
Category breakdown
Exact category averages are shown below. Not measured means BenchLM does not have enough sourced public coverage for that model and category.
| Category | GPT-4.1 mini | Δ | GPT-5.2-Codex |
|---|---|---|---|
| Coding | GPT-4.1 mini23.6 | MarginNo overlap | GPT-5.2-CodexNot measured |
| Knowledge | GPT-4.1 mini64.2 | MarginNo overlap | GPT-5.2-CodexNot measured |
| Math | GPT-4.1 mini4.5 | MarginNo overlap | GPT-5.2-CodexNot measured |
| Inst. Following | GPT-4.1 mini88.5 | MarginNo overlap | GPT-5.2-CodexNot measured |
Operational comparison
Runtime and commercial metrics are compared only when both models have a complete sourced value.
| Metric | GPT-4.1 mini | GPT-5.2-Codex | Comparison |
|---|---|---|---|
| Input / output priceUSD per 1M tokens | GPT-4.1 mini$0.4 input / $1.6 output | GPT-5.2-Codex$1.75 input / $14 output | GPT-4.1 mini has the lower combined listed price. |
| Generation speedtokens per second | GPT-4.1 mini80 tok/s | GPT-5.2-Codex123 tok/s | GPT-5.2-Codex has the higher measured throughput. |
| First-answer latencyseconds to first token | GPT-4.1 mini0.76 s | GPT-5.2-Codex87.34 s | GPT-4.1 mini reaches the first token sooner. |
| Context windowmaximum listed tokens | GPT-4.1 mini1M | GPT-5.2-Codex400K | GPT-4.1 mini lists the larger context window. |
Benchmark Deep Dive
Agentic6 benchmarks
Coding4 benchmarks
Reasoning2 benchmarks
Knowledge8 benchmarks
| Benchmark | GPT-4.1 mini | GPT-5.2-Codex | Result |
|---|---|---|---|
| MMLUSource | 87.5% | — | Not comparable |
| GPQASource | 64.2% | — | Not comparable |
| Artificial Analysis Intelligence IndexSource | 14.8% | 40.1% | GPT-5.2-Codex leads |
| AA-GPQA DiamondSource | 66.4% | 89.9% | GPT-5.2-Codex leads |
| AA-HLESource | 4.6% | 33.5% | GPT-5.2-Codex leads |
| AA-Omniscience IndexSource | -50.1% | -2.5% | GPT-5.2-Codex leads |
| AA-Omniscience AccuracySource | 17.5% | 40.7% | GPT-5.2-Codex leads |
| AA-Omniscience Hallucination RateSource | 82.0% | 72.8% | GPT-5.2-Codex leads |
Math1 benchmarks
| Benchmark | GPT-4.1 mini | GPT-5.2-Codex | Result |
|---|---|---|---|
| FrontierMath v2 (Tiers 1-3)Source | 4.483% | — | Not comparable |
Multimodal2 benchmarks
Frequently Asked Questions (3)
Can I compare GPT-4.1 mini and GPT-5.2-Codex 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-4.1 mini and GPT-5.2-Codex today?
GPT-4.1 mini: $0.40 input / $1.60 output per 1M tokens GPT-5.2-Codex: $1.75 input / $14.00 output per 1M tokens Both model pages still include creator, context window, reasoning mode, and other metadata while benchmark coverage fills in.