live
weekly refresh
basedagi.org
▸ compare

Anthropic: Claude Sonnet 4.5 vs OpenAI: GPT-5.1

Side-by-side benchmark comparison based on independent public data. Scores, pricing, context, and task breakdown.

▸ verdict
Anthropic: Claude Sonnet 4.5
85.7
higher score
vs
OpenAI: GPT-5.1
81.1
Anthropic: Claude Sonnet 4.5 leads with a higher composite benchmark score. It's the stronger choice for general-purpose tasks based on public benchmark data.
▸ score breakdown
TaskAnthropic: Claude Sonnet 4.5OpenAI: GPT-5.1Δ
Overall85.781.1+4.6
Coding59.861.1-1.3
Reasoning45.068.4-23.4
Math84.0
Writing84.380.0+4.3
JSON28.6
▸ specs & pricing
AttributeAnthropic: Claude Sonnet 4.5OpenAI: GPT-5.1
ProviderAnthropicOpenai
Context window1M400K
Input $/M tokens$3.00/M$1.25/M
Output $/M tokens$15.00/M$10.00/M
Weightsproprietaryproprietary
▸ frequently asked

Is Anthropic: Claude Sonnet 4.5 better than OpenAI: GPT-5.1?

Anthropic: Claude Sonnet 4.5 scores higher overall (85.7 vs 81.1) in the benchmark composite. The best choice depends on the specific use case and budget.

Which is cheaper: Anthropic: Claude Sonnet 4.5 or OpenAI: GPT-5.1?

OpenAI: GPT-5.1 is cheaper at $1.25/M input tokens vs $3/M for Anthropic: Claude Sonnet 4.5.

Which model is better for coding?

Both models perform similarly on coding benchmarks (SWE-Bench, Aider Polyglot, LiveCodeBench).