Claude Sonnet 4vsGPT-4o

Claude Sonnet 4
GPT-4o
Specifications
Context window
128k
Benchmarks
Nonsense detection
BullshitBench v2
30%Best
12%
Coding
SWE-Bench Verified
72.7%
Science
GPQA Diamond
75.4%Best
49.9%
Overview
CompanyAnthropicOpenAI
Release dateMay 22 2025May 13 2024
AccessProprietaryProprietary

Which is better: Claude Sonnet 4 or GPT-4o?

Claude Sonnet 4 leads GPT-4o on 2 of the 2 benchmarks they both report (BullshitBench v2, GPQA Diamond). GPT-4o shipped 374 days before Claude Sonnet 4, so benchmark comparisons should account for the intervening progress.

Published specifications for these two models are limited — see each model page for the latest details.

On BullshitBench v2, Claude Sonnet 4 leads at 30% vs GPT-4o at 12%. On GPQA Diamond, Claude Sonnet 4 leads at 75.4% vs GPT-4o at 49.9%.

Frequently asked questions

Claude Sonnet 4 was released by Anthropic on May 22 2025.

GPT-4o was released by OpenAI on May 13 2024.

Claude Sonnet 4 leads on GPQA Diamond — Claude Sonnet 4 75.4% vs GPT-4o 49.9%.

Other comparisons