Compare / head-to-head

Claude Opus 4.7vsGPT-5.1-Codex Mini

Claude Opus 4.7 leads 1 of 1 shared benchmark. GPT-5.1-Codex Mini is 13.3x cheaper per token. Claude Opus 4.7 has the larger context window (1M tokens).

Benchmarks from cited public sources; pricing from official pages; status from official provider feeds.

Shared benchmarks
1 – 0
Claude Opus 4.7 leads
Cheaper per token
GPT-5.1-Codex Mini
13.3x cheaper, input + output
Larger context
Claude Opus 4.7
1M tokens
Providers
2 providers
Anthropic · OpenAI
Claude Opus 4.7
Anthropic · released 2026-04-16
textvision
Context
1M
Max out
128K
Input /1M
$5 ↗
Output /1M
$25 ↗
Cached /1M
$0.5
Scores
46 · 16 core
GPT-5.1-Codex Mini
OpenAI · released 2025-11-13
textvision
Context
400K
Max out
128K
Input /1M
$0.25 ↗
Output /1M
$2 ↗
Cached /1M
$0.025
Scores
1 · 1 core
Quality

Benchmark matrix

BenchmarkClaude Opus 4.7GPT-5.1-Codex MiniΔEdge
Reported by both · 1
LMArena WebDev (LMArena)1557.3 ↗1243.6 ↗+313.7Claude Opus 4.7
Only Claude Opus 4.7 reports · 37
SWE-bench Verified87.6% ↗not reported——
GPQA Diamond94.2% ↗not reported——
AIME 202695.8% ↗matharena ⚠not reported——
Humanity's Last Exam (no tools)46.9% ↗not reported——
LMArena Elo1483.4 ↗not reported——
APEX-Agents (Mercor)49.2% ↗not reported——
BrowseComp79.8% ↗not reported——
Chess Puzzles (Epoch AI run)30% ↗epoch runnot reported——
EBR-bench (Epoch AI run)19% ↗epoch runnot reported——
FrontierMath Tier 4 v2 (Epoch AI run)31.7% ↗epoch runnot reported——
FrontierMath Tiers 1-3 v2 (Epoch AI run)70.2% ↗epoch runnot reported——
Furniture Assembly (Epoch AI run)33.3% ↗epoch runnot reported——
GSO Opt@1 (GSO)42.2% ↗not reported——
Humanity's Last Exam (with tools)54.7% ↗not reported——
LiveBench Agentic Coding (LiveBench)50.7% ↗not reported——
LiveBench Coding (LiveBench)82.1% ↗not reported——
LiveBench Data Analysis (LiveBench)78.3% ↗not reported——
LiveBench Instruction Following (LiveBench)66.7% ↗not reported——
LiveBench Language (LiveBench)77.9% ↗not reported——
LiveBench Mathematics (LiveBench)92.9% ↗not reported——
LiveBench Reasoning (LiveBench)87.2% ↗not reported——
LMArena Vision (LMArena)1298.1 ↗not reported——
MirrorCode (Epoch AI run)31.1% ↗epoch runnot reported——
Mystery Game Puzzles (Epoch AI run)28% ↗epoch runnot reported——
OSWorld-Verified82.8% ↗not reported——
OTIS Mock AIME 2024-2025 (Epoch AI run)97.8% ↗epoch runnot reported——
SAGE (Vals AI)56.1% ↗not reported——
SimpleBench (SimpleBench)61.7% ↗not reported——
SimpleQA Verified51.7% ↗epoch runnot reported——
SWE-bench Multilingual80.5% ↗not reported——
SWE-bench Multimodal34.5% ↗not reported——
SWE-Bench Pro64.3% ↗not reported——
SWE-bench Verified (Epoch AI run)83.5% ↗epoch runnot reported——
tau2-bench Banking Knowledge (Sierra)40.2% ↗not reported——
Terminal-Bench 2.166.1% ↗not reported——
Vending-Bench 2 (Andon Labs)10936.76 ↗not reported——
WeirdML (Håvard Tveit Ihle)76.4% ↗not reported——
Only GPT-5.1-Codex Mini reports · 0
GPT-5.1-Codex Mini reports nothing Claude Opus 4.7 does not.
Scores tagged "epoch" or "matharena" are independent runs, used only where the lab has not published its own; ⚠ marks rows MathArena flags as released after the competition. Higher is better on every row. Δ is Claude Opus 4.7 minus GPT-5.1-Codex Mini in the benchmark's own unit. "Not reported" means the lab has not published that figure; it is not a zero. ↗ opens the source.
Specs & pricing

Side by side

SpecClaude Opus 4.7GPT-5.1-Codex MiniEdge
Context window1M tokens400K tokensClaude Opus 4.7
Max output128K tokens128K tokensTie
Input price / 1M$5 ↗$0.25 ↗GPT-5.1-Codex Mini
Output price / 1M$25 ↗$2 ↗GPT-5.1-Codex Mini
Cached input / 1M$0.5 ↗$0.025 ↗GPT-5.1-Codex Mini
Input + output / 1M
Lower is cheaper. List prices; batch, tool and regional fees excluded.
$30$2.25GPT-5.1-Codex Mini
Modalitiestext · visiontext · visionTie
Released2026-04-162025-11-13—
Cited benchmark scores461—
Reliability

Provider status

All providers →
More matchups

Claude Opus 4.7 vs …

More matchups

GPT-5.1-Codex Mini vs …

Built by Respan
Which one wins on your data?

Public benchmarks are a starting point. Run Claude Opus 4.7 and GPT-5.1-Codex Mini on your own prompts with Respan evals, or route to either through one gateway key with automatic failover.