Skip to main content

Model comparison

GPT-4.1 mini vs GPT-5.1-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.

44.19/100
Margin
8.5pts
winning →
52.72/100
0 category wins0 category wins

Public leaderboard positions: GPT-4.1 mini #152 (Estimated); 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 mini and GPT-5.1-Codex share 13 comparable benchmark results. 0 of 8 categories are comparable. 9 results are unique to GPT-4.1 mini; 3 to GPT-5.1-Codex.

Updated July 23, 2026
Shared results
13
GPT-4.1 mini only
9
GPT-5.1-Codex only
3
Comparable categories
0 / 8

Benchmark data for GPT-4.1 mini and GPT-5.1-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-4.1 mini 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 mini and GPT-5.1-Codex
CategoryGPT-4.1 miniΔGPT-5.1-Codex
CodingGPT-4.1 mini23.6MarginNo overlapGPT-5.1-CodexNot measured
KnowledgeGPT-4.1 mini64.2MarginNo overlapGPT-5.1-CodexNot measured
MathGPT-4.1 mini4.5MarginNo overlapGPT-5.1-CodexNot measured
Inst. FollowingGPT-4.1 mini88.5MarginNo overlapGPT-5.1-CodexNot measured

Operational comparison

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

MetricGPT-4.1 miniGPT-5.1-CodexComparison
Input / output priceUSD per 1M tokensGPT-4.1 mini$0.4 input / $1.6 outputGPT-5.1-CodexNot availableA complete price comparison is not available.
Generation speedtokens per secondGPT-4.1 mini80 tok/sGPT-5.1-CodexNot availableA complete speed comparison is not available.
First-answer latencyseconds to first tokenGPT-4.1 mini0.76 sGPT-5.1-CodexNot availableA complete latency comparison is not available.
Context windowmaximum listed tokensGPT-4.1 mini1MGPT-5.1-Codex400KGPT-4.1 mini lists the larger context window.

Benchmark Deep Dive

Agentic
BenchmarkGPT-4.1 miniGPT-5.1-CodexResult
AA Agentic IndexSource 1.7%Not comparable
τ²-bench resultsSource 52.9%83%GPT-5.1-Codex leads
GDPval-AASource 0.1%Not comparable
GDPval-AASource 503Not comparable
Gert LabsSource 49.68%Not comparable
JobBenchSource 26.2%Not comparable
Coding
BenchmarkGPT-4.1 miniGPT-5.1-CodexResult
SWE-bench VerifiedSource 23.6%Not comparable
AA Coding IndexSource 20.2%Not comparable
AA-SciCodeSource 40.4%40.2%GPT-4.1 mini leads
Vibe Code BenchSource 13.12%Not comparable
Reasoning
BenchmarkGPT-4.1 miniGPT-5.1-CodexResult
AA-LCRSource 42.3%67.3%GPT-5.1-Codex leads
CritPtSource 0.0%5.7%GPT-5.1-Codex leads
Knowledge
BenchmarkGPT-4.1 miniGPT-5.1-CodexResult
MMLUSource 87.5%Not comparable
GPQASource 64.2%Not comparable
Artificial Analysis Intelligence IndexSource 14.8%34.7%GPT-5.1-Codex leads
AA-GPQA DiamondSource 66.4%86.0%GPT-5.1-Codex leads
AA-HLESource 4.6%23.4%GPT-5.1-Codex leads
AA-Omniscience IndexSource -50.1%-6.0%GPT-5.1-Codex leads
AA-Omniscience AccuracySource 17.5%39.2%GPT-5.1-Codex leads
AA-Omniscience Hallucination RateSource 82.0%74.4%GPT-5.1-Codex leads
Math
BenchmarkGPT-4.1 miniGPT-5.1-CodexResult
FrontierMath v2 (Tiers 1-3)Source 4.483%Not comparable
Multimodal
BenchmarkGPT-4.1 miniGPT-5.1-CodexResult
AA-MMMU-ProSource 58.7%72.5%GPT-5.1-Codex leads
Design Arena WebsiteSource 10271191GPT-5.1-Codex leads
Inst. Following
BenchmarkGPT-4.1 miniGPT-5.1-CodexResult
IFEvalSource 88.5%Not comparable
AA-IFBenchSource 38.3%70.0%GPT-5.1-Codex leads
Frequently Asked Questions (3)

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

GPT-4.1 mini: $0.40 input / $1.60 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.