# GPT-4.1 vs GPT-5.2-Codex

> Side-by-side benchmark comparison for GPT-4.1 and GPT-5.2-Codex across agentic, coding, multimodal, knowledge, reasoning, multilingual, and math tasks.

- Canonical page: https://benchlm.ai/compare/gpt-4-1-vs-gpt-5-2-codex
- Last updated: September 29, 2026

- Shared sourced benchmarks: 1
- HTML indexing: indexable
- Ranking lane: BenchAlign v5.7

## Quick Verdict

Evidence is too thin for a benchmark verdict: GPT-4.1 and GPT-5.2-Codex share only 1 sourced benchmark row.

## Summary

- Only 1 shared sourced benchmark row is available. That is not enough for a broad capability verdict, so this mirror does not name an overall winner.
- GPT-4.1 has the lower published output-token price.
- GPT-4.1 has the larger published context window at 1M.

## Model Snapshot

| Property | GPT-4.1 | GPT-5.2-Codex |
|----------|----------|----------|
| Creator | OpenAI | OpenAI |
| Type | Proprietary | Proprietary |
| Reasoning | Non-Reasoning | Reasoning |
| Context | 1M | 400K |
| Independent public score (not head-to-head) | 39.74 | 49.86 |
| Benchmarks Covered | 7 | 5 |
| Pricing (input/output) | $2.00 / $8.00 | $1.75 / $14.00 |

## Category Breakdown

### Agentic

- Winner: Insufficient shared evidence
- GPT-4.1 public-lane score: Coming soon
- GPT-5.2-Codex public-lane score: 34.6 (Estimated · #68/117)

| Benchmark | GPT-4.1 | GPT-5.2-Codex | Winner |
|-----------|-----------|-----------|--------|
| Gert Labs | 25.65% | 51.79% | GPT-5.2-Codex |
| JobBench | Coming soon | 26.0% | Coming soon |

### Coding

- Winner: Insufficient shared evidence
- GPT-4.1 public-lane score: Coming soon
- GPT-5.2-Codex public-lane score: 45.2 (Supported · #52/143)

| Benchmark | GPT-4.1 | GPT-5.2-Codex | Winner |
|-----------|-----------|-----------|--------|
| SWE-bench Verified | 54.6% | Coming soon | Coming soon |
| Vibe Code Bench | Coming soon | 37.91% | Coming soon |
| LiveCodeBench (Vals) | Coming soon | 88.0% | Coming soon |
| SWE-bench (Vals) | Coming soon | 72.4% | Coming soon |

### Reasoning

- Winner: Insufficient shared evidence
- GPT-4.1 public-lane score: 69.2 (Unranked · 2 rankable rows)
- GPT-5.2-Codex public-lane score: 78.9 (Unranked · 2 rankable rows)

### Multimodal & Grounded

- Winner: Insufficient shared evidence
- GPT-4.1 public-lane score: 51.3 (Unranked · 1 rankable row)
- GPT-5.2-Codex public-lane score: 73.5 (Unranked · 1 rankable row)

### Knowledge

- Winner: Insufficient shared evidence
- GPT-4.1 public-lane score: 35.5 (Supported · #116/169)
- GPT-5.2-Codex public-lane score: 51.8 (Estimated · #60/169)

| Benchmark | GPT-4.1 | GPT-5.2-Codex | Winner |
|-----------|-----------|-----------|--------|
| MMLU | 90.2% | Coming soon | Coming soon |
| GPQA | 66.3% | Coming soon | Coming soon |

### Instruction Following

- Winner: Insufficient shared evidence
- GPT-4.1 public-lane score: 48.9 (#83/124)
- GPT-5.2-Codex public-lane score: 92.4 (#3/124)

| Benchmark | GPT-4.1 | GPT-5.2-Codex | Winner |
|-----------|-----------|-----------|--------|
| IFEval | 87.4% | Coming soon | Coming soon |

### Mathematics

- Winner: Insufficient shared evidence
- GPT-4.1 public-lane score: 28 (Unranked · 2 rankable rows)
- GPT-5.2-Codex public-lane score: Coming soon

| Benchmark | GPT-4.1 | GPT-5.2-Codex | Winner |
|-----------|-----------|-----------|--------|
| FrontierMath v2 (Tiers 1-3) | 5.517% | Coming soon | Coming soon |
| FrontierMath v2 (Tier 4) | 0.000% | Coming soon | Coming soon |

## FAQ

### Is there enough evidence to pick between GPT-4.1 and GPT-5.2-Codex?

Not yet. The models share only 1 sourced benchmark row, so this mirror reports the available measurements and metadata without naming a broad winner.

### What can I compare safely on this page?

Published pricing, context windows, model type, and individual shared benchmark rows are directly comparable. Independent overall scores and non-overlapping benchmark coverage are labeled separately and should not be read as a controlled head-to-head result.

## Related Comparisons

- [GPT-4.1 vs GPT-4.1 mini](/compare/gpt-4-1-vs-gpt-4-1-mini)
- [GPT-5.2-Codex vs GPT-4.1 mini](/compare/gpt-4-1-mini-vs-gpt-5-2-codex)
- [GPT-4.1 vs GPT-4.1 nano](/compare/gpt-4-1-vs-gpt-4-1-nano)
- [GPT-5.2-Codex vs GPT-4.1 nano](/compare/gpt-4-1-nano-vs-gpt-5-2-codex)

## Explore More

- [GPT-4.1 profile](/models/gpt-4-1)
- [GPT-5.2-Codex profile](/models/gpt-5-2-codex)
- [Compare Pricing](/llm-pricing)
- [Alternative Finder](/tools/alternative-finder)
- [LLM Selector](/tools/llm-selector)
- [Overall Rankings](/best/overall)
