Skip to content

Claude Sonnet 5 vs GPT-5.1

Both have similar output pricing, while Claude Sonnet 5 offers a larger context window. Choose Claude Sonnet 5 or GPT-5.1 based on the trade-off between cost, context, and the benchmarks that matter for your use case.

SpecClaude Sonnet 5GPT-5.1
ProviderAnthropicOpenAI
Input / 1M tokens$2.00$1.25
Output / 1M tokens$10.00$10.00
Context window1M400K
Parameters——
Open weights—No
Released—Nov 2025
GPQA Diamond score90.587.6
Epoch Capabilities Index score157150
LMArena (Chatbot Arena) Elo score14431443
LMArena WebDev Elo score15401396
LMArena Vision Elo score12731250
LiveBench score—72.6
FrontierMath score—31.0
SWE-bench Verified score—66.0

FAQ

Is Claude Sonnet 5 or GPT-5.1 cheaper?

Claude Sonnet 5 and GPT-5.1 have comparable output pricing.

Which has the larger context window, Claude Sonnet 5 or GPT-5.1?

Claude Sonnet 5 has the larger context window (1M tokens).

Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.