Claude Sonnet 4

Released

Claude Sonnet 4 is an AI model released by Anthropic on Thursday, May 22 2025, 87 days after Claude 3.7 Sonnet. It has a 200k token context windowHow much information the model can work with in one request, measured in tokens — pieces of words or other data. This includes your question, attachments, conversation and reply. Limits can vary by model variant and provider.. Benchmark results (shown below) cover BullshitBench v2, SWE-Bench Verified, and GPQA Diamond.

Benchmarks

Coding

SWE-Bench VerifiedCoding — Real coding tasks pulled from open-source projects — the AI has to find and fix actual bugs. A human-checked version of the original SWE-Bench. Higher is better.
72.7%
#34 of 66

Reasoning & science

GPQA DiamondScience — Graduate-level science questions in biology, physics, and chemistry — hard enough that subject-matter PhDs score around 65%. Higher is better.
75.4%
#45 of 66

Robustness

BullshitBench v2Nonsense detection — Given a confidently-worded but nonsensical prompt, does the AI spot that it makes no sense and push back — instead of playing along and inventing an answer? The score is how often it clearly called out the nonsense. Higher is better.
30%
#60 of 97

Compare Claude Sonnet 4 with

Claude Sonnet 4

Frequently asked questions

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

All Anthropic releases

30 tracked