The Known Good Updated 25 Jul 2026
Anthropic: Claude Opus 4.7 vs OpenAI: GPT-4.1 ·Anthropic vs OpenAI

Anthropic: Claude Opus 4.7 vs OpenAI: GPT-4.1 — head-to-head comparison

Anthropic: Claude Opus 4.7 profile OpenAI: GPT-4.1 profile All comparisons
Anthropic: Claude Opus 4.7 — Anthropic
Quality
#4 of 61
94based on 5 of 6 evaluations
Known Good Index
Speed
#158 of 316
52.4
Output tokens per second
Price
#314 of 340
$10.00
Blended per 1M tokens
In $5.00 · Out $25.00
Cache hit price
#185 of 206
$0.50
per 1M tokens (−90%)
Context
#83 of 345
1.00M
tokens (~1,500 pages)
OpenAI: GPT-4.1 — OpenAI
Quality
#49 of 61
36based on 4 of 6 evaluations
Known Good Index
Speed
#236 of 316
33.2
Output tokens per second
Price
#268 of 340
$3.50
Blended per 1M tokens
In $2.00 · Out $8.00
Cache hit price
#174 of 206
$0.50
per 1M tokens (−75%)
Context
#49 of 345
1.05M
tokens (~1,600 pages)
Summary

On the Known Good Index, Anthropic: Claude Opus 4.7 scores 94 and OpenAI: GPT-4.1 scores 36 — a 58-point lead for Anthropic: Claude Opus 4.7. They share 4 published evaluations, with Anthropic: Claude Opus 4.7 ahead on 4 and OpenAI: GPT-4.1 ahead on 0.

Blended pricing is $10.00 per 1M tokens for Anthropic: Claude Opus 4.7 and $3.50 for OpenAI: GPT-4.1 — OpenAI: GPT-4.1 is about 2.9× cheaper.

Throughput is 52 tokens per second for Anthropic: Claude Opus 4.7 and 33 for OpenAI: GPT-4.1, with time to first token at 1.4s and 0.8s. Anthropic: Claude Opus 4.7 accepts 1.00M tokens of context against 1.05M.

Anthropic: Claude Opus 4.7 is proprietary; OpenAI: GPT-4.1 is proprietary. 5 tracked hosts serve one or both, and 1 serve both.

Generated from tracked data on 25 Jul 2026 · how these comparisons are computed →

At a glance
MetricAnthropic: Claude Opus 4.7OpenAI: GPT-4.1
Known Good Index 94 based on 5 of 6 evaluations 36 based on 4 of 6 evaluations
Blended $/1M $10.00 $3.50
Output tok/s 52 33
Context window 1.00M 1.05M
Providers 4 2
Jump to section

Quality

Known Good Index and the capability indices, side by side

IndicesComponents
Index scores

Each index is min-max normalised across tracked models and scaled 0–100 from published evaluations. We do not run these evaluations.

MetricAnthropic: Claude Opus 4.7OpenAI: GPT-4.1
Known Good Index 94 36
Coding Index 100
Mathematics Index 98 61
Science Index 95 66
Reasoning Index 86 36
Agentic Index 100 33
Openness Index 5 5
The Known Good

Quality Breakdown

Every evaluation both models report a published score for

Evaluations both models report

Bar = Anthropic: Claude Opus 4.7 · marker = OpenAI: GPT-4.1 · scores ingested from Epoch AI (CC-BY 4.0)

GPQA Diamond90 / 67
MATH / AIME98 / 38
SWE-bench Verified83 / 49
Humanity's Last Exam36 / 5

Right-hand figures read Anthropic: Claude Opus 4.7 / OpenAI: GPT-4.1. Anthropic: Claude Opus 4.7 leads on 4 of 4, OpenAI: GPT-4.1 on 0.

The Known Good

Arena Elo

Human preference rating from blind pairwise votes

Arena ratings

Elo from blind pairwise votes, ingested from Arena. Higher is better.

MetricAnthropic: Claude Opus 4.7OpenAI: GPT-4.1
Text Arena 1,482
Text Arena (style controlled) 1,494
The Known Good

Price & Cost

Published API pricing by token type

Per token typeCache discount
Published pricing

USD per 1M tokens. Blended is a 3:1 input:output mix. Live from OpenRouter, cross-checked against models.dev. Lower is better.

MetricAnthropic: Claude Opus 4.7OpenAI: GPT-4.1
Input $/1M $5.00 $2.00
Output $/1M $25.00 $8.00
Blended $/1M $10.00 $3.50
Cache read $/1M $0.500 $0.500
The Known Good
We publish blended price rather than cost-per-task. Cost-per-task requires token counts from an evaluation suite we do not run. Blended price is computed from published rates and is fully reproducible — see the pricing methodology.

Context Window

Maximum input accepted and maximum output emitted

Context and output limits

Provider-declared limits, from metadata via models.dev and OpenRouter. Higher is better.

MetricAnthropic: Claude Opus 4.7OpenAI: GPT-4.1
Context window 1.00M 1.05M
Max output tokens 128k 33k
The Known Good

Speed & Latency

Median throughput and time to first token across hosting providers

Output speedTime to first token
Throughput and latency

Medians across all tracked providers, derived from OpenRouter endpoint telemetry.

MetricAnthropic: Claude Opus 4.7OpenAI: GPT-4.1
Output tokens/s 52 33
Time to first token 1.4s 0.8s
The Known Good

Providers

Which hosts serve each model, and at what price and speed

5 hosts · 1 serve both
Full provider benchmarks →
Provider Anthropic: Claude Opus 4.7 blendedAnthropic: Claude Opus 4.7 tok/s OpenAI: GPT-4.1 blendedOpenAI: GPT-4.1 tok/s
Google · first party $10.00 70
Anthropic · first party $10.00 45
Amazon Bedrock · first party $10.00 17
Azure · first party $10.00 $3.50 42
OpenAI · first party $3.50 59

Per-host pricing and telemetry from OpenRouter. A dash means that host does not serve that model.

The Known Good
Sources for this page
Pricing & providers — OpenRouter Metadata — models.dev Benchmarks — Epoch AI (CC-BY 4.0)Elo — Arena Full attribution →