Claude Opus 4.8 vs GPT-4.1

Claude Opus 4.8 leads on benchmarks; GPT-4.1 is cheaper to run, about 2.8× less.
Updated 2026-07-27
Claude Opus 4.8
Anthropic · Closed
89.3
Combined index
Leads
vs
GPT-4.1
OpenAI · Closed
88.4
Combined index

Benchmarks

General knowledge (MMLU)
89.5
90.2
Coding
86
91.5
Math
92.4
83.4

API pricing

$5.0 Input / 1M $2.0
$25.0 Output / 1M $8.0
$225.0 Monthly, est. $80.0

Monthly estimate assumes 20M input + 5M output tokens. Prices marked ~ are representative hosted rates for open-weight models and vary by provider. Run your own numbers in the cost calculator.