Skip to main content

Model comparison

GPT-4.1 vs GPT-5.1-Codex

Data verified

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

OpenAI
51.11/100
Margin
1.6pts
winning →
52.72/100
0 category wins0 category wins

Public leaderboard positions: GPT-4.1 #108 (Supported); GPT-5.1-Codex #99 (Estimated). Intervals and evidence labels describe ranking uncertainty, not a guarantee for a specific workload.

Evidence parity. GPT-4.1 and GPT-5.1-Codex share 14 comparable benchmark results. 0 of 8 categories are comparable. 6 results are unique to GPT-4.1; 2 to GPT-5.1-Codex.

Updated July 23, 2026
Shared results
14
GPT-4.1 only
6
GPT-5.1-Codex only
2
Comparable categories
0 / 8

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

Confidence note. This is a partial-evidence comparison with 14 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-4.1 has the larger context window at 1M, compared with 400K for GPT-5.1-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.1-Codex
CategoryGPT-4.1ΔGPT-5.1-Codex
CodingGPT-4.154.6MarginNo overlapGPT-5.1-CodexNot measured
KnowledgeGPT-4.166.3MarginNo overlapGPT-5.1-CodexNot measured
MathGPT-4.14.1MarginNo overlapGPT-5.1-CodexNot measured
Inst. FollowingGPT-4.187.4MarginNo overlapGPT-5.1-CodexNot measured

Operational comparison

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

MetricGPT-4.1GPT-5.1-CodexComparison
Input / output priceUSD per 1M tokensGPT-4.1$2 input / $8 outputGPT-5.1-CodexNot availableA complete price comparison is not available.
Generation speedtokens per secondGPT-4.1108 tok/sGPT-5.1-CodexNot availableA complete speed comparison is not available.
First-answer latencyseconds to first tokenGPT-4.11.02 sGPT-5.1-CodexNot availableA complete latency comparison is not available.
Context windowmaximum listed tokensGPT-4.11MGPT-5.1-Codex400KGPT-4.1 lists the larger context window.

Benchmark Deep Dive

Agentic
BenchmarkGPT-4.1GPT-5.1-CodexResult
τ²-bench resultsSource 47.1%83%GPT-5.1-Codex leads
Gert LabsSource 25.65%49.68%GPT-5.1-Codex leads
JobBenchSource 26.2%Not comparable
Coding
BenchmarkGPT-4.1GPT-5.1-CodexResult
SWE-bench VerifiedSource 54.6%Not comparable
AA-SciCodeSource 38.1%40.2%GPT-5.1-Codex leads
Vibe Code BenchSource 13.12%Not comparable
Reasoning
BenchmarkGPT-4.1GPT-5.1-CodexResult
AA-LCRSource 61.0%67.3%GPT-5.1-Codex leads
CritPtSource 0.0%5.7%GPT-5.1-Codex leads
Knowledge
BenchmarkGPT-4.1GPT-5.1-CodexResult
MMLUSource 90.2%Not comparable
GPQASource 66.3%Not comparable
Artificial Analysis Intelligence IndexSource 19.4%34.7%GPT-5.1-Codex leads
AA-GPQA DiamondSource 66.6%86.0%GPT-5.1-Codex leads
AA-HLESource 4.6%23.4%GPT-5.1-Codex leads
AA-Omniscience IndexSource -36.2%-6.0%GPT-5.1-Codex leads
AA-Omniscience AccuracySource 24.2%39.2%GPT-5.1-Codex leads
AA-Omniscience Hallucination RateSource 79.6%74.4%GPT-5.1-Codex leads
Math
BenchmarkGPT-4.1GPT-5.1-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.1-CodexResult
AA-MMMU-ProSource 61.2%72.5%GPT-5.1-Codex leads
Design Arena WebsiteSource 10681191GPT-5.1-Codex leads
Inst. Following
BenchmarkGPT-4.1GPT-5.1-CodexResult
IFEvalSource 87.4%Not comparable
AA-IFBenchSource 43.0%70.0%GPT-5.1-Codex leads
Frequently Asked Questions (3)

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

GPT-4.1: $2.00 input / $8.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 23, 2026

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.