Skip to main content

Model comparison

GPT-4.1 vs GPT-5.2-Codex

Data verified

Head-to-head evidence from 13 shared benchmark results across 6 categories. Overall scores shown here use the public BenchAlign v5 ranking lane.

OpenAI
50.44/100
Margin
7.7pts
winning →
58.14/100
0 category wins0 category wins

Public leaderboard positions: GPT-4.1 #111 (Supported); 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 and GPT-5.2-Codex share 13 comparable benchmark results. 0 of 8 categories are comparable. 7 results are unique to GPT-4.1; 2 to GPT-5.2-Codex.

Updated July 24, 2026
Shared results
13
GPT-4.1 only
7
GPT-5.2-Codex only
2
Comparable categories
0 / 8

Benchmark data for GPT-4.1 and GPT-5.2-Codex is coming soon on BenchLM.

Confidence note. This is a partial-evidence comparison with 13 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 $2.00 input / $8.00 output per 1M tokens for GPT-4.1. GPT-4.1 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 scores and score margins for GPT-4.1 and GPT-5.2-Codex
CategoryGPT-4.1ΔGPT-5.2-Codex
CodingGPT-4.154.6MarginNo overlapGPT-5.2-CodexNot measured
KnowledgeGPT-4.166.3MarginNo overlapGPT-5.2-CodexNot measured
MathGPT-4.14.1MarginNo overlapGPT-5.2-CodexNot measured
Inst. FollowingGPT-4.187.4MarginNo overlapGPT-5.2-CodexNot measured

Operational comparison

Runtime and commercial metrics are compared only when both models have a complete sourced value.

MetricGPT-4.1GPT-5.2-CodexComparison
Input / output priceUSD per 1M tokensGPT-4.1$2 input / $8 outputGPT-5.2-Codex$1.75 input / $14 outputGPT-4.1 has the lower combined listed price.
Generation speedtokens per secondGPT-4.1108 tok/sGPT-5.2-Codex123 tok/sGPT-5.2-Codex has the higher measured throughput.
First-answer latencyseconds to first tokenGPT-4.11.02 sGPT-5.2-Codex87.34 sGPT-4.1 reaches the first token sooner.
Context windowmaximum listed tokensGPT-4.11MGPT-5.2-Codex400KGPT-4.1 lists the larger context window.

Benchmark Deep Dive

Agentic
BenchmarkGPT-4.1GPT-5.2-CodexResult
τ²-bench resultsSource 47.1%92.1%GPT-5.2-Codex leads
Gert LabsSource 25.65%51.79%GPT-5.2-Codex leads
JobBenchSource 26.0%Not comparable
Coding
BenchmarkGPT-4.1GPT-5.2-CodexResult
SWE-bench VerifiedSource 54.6%Not comparable
AA-SciCodeSource 38.1%54.6%GPT-5.2-Codex leads
Vibe Code BenchSource 37.91%Not comparable
Reasoning
BenchmarkGPT-4.1GPT-5.2-CodexResult
AA-LCRSource 61.0%75.7%GPT-5.2-Codex leads
CritPtSource 0.0%8.7%GPT-5.2-Codex leads
Knowledge
BenchmarkGPT-4.1GPT-5.2-CodexResult
MMLUSource 90.2%Not comparable
GPQASource 66.3%Not comparable
Artificial Analysis Intelligence IndexSource 19.4%40.1%GPT-5.2-Codex leads
AA-GPQA DiamondSource 66.6%89.9%GPT-5.2-Codex leads
AA-HLESource 4.6%33.5%GPT-5.2-Codex leads
AA-Omniscience IndexSource -36.2%-2.5%GPT-5.2-Codex leads
AA-Omniscience AccuracySource 24.2%40.7%GPT-5.2-Codex leads
AA-Omniscience Hallucination RateSource 79.6%72.8%GPT-5.2-Codex leads
Math
BenchmarkGPT-4.1GPT-5.2-CodexResult
FrontierMath v2 (Tiers 1-3)Source 5.517%Not comparable
FrontierMath v2 (Tier 4)Source 0.000%Not comparable
Multimodal
BenchmarkGPT-4.1GPT-5.2-CodexResult
AA-MMMU-ProSource 61.2%76.3%GPT-5.2-Codex leads
Design Arena WebsiteSource 1068Not comparable
Inst. Following
BenchmarkGPT-4.1GPT-5.2-CodexResult
IFEvalSource 87.4%Not comparable
AA-IFBenchSource 43.0%77.6%GPT-5.2-Codex leads
Frequently Asked Questions (3)

Can I compare GPT-4.1 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 and GPT-5.2-Codex today?

GPT-4.1: $2.00 input / $8.00 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.

Related Comparisons

Last updated: July 24, 2026