Home/Models/Claude Sonnet 4
Anthropic logo

Claude Sonnet 4

by Anthropic · Released May 2025

Multimodal1M Context
42.3
avg score
Rank #163
Compare
Better than 41% of all models
Context
1.0M tokens (~500 books)
Input $/1M
$3.00
Output $/1M
$15.00
Type
multimodal
License
Proprietary
Benchmarks
28 tested
Data updated today
About

Claude Sonnet 4 significantly enhances the capabilities of its predecessor, Sonnet 3.7, excelling in both coding and reasoning tasks with improved precision and controllability. Achieving state-of-the-art performance on SWE-bench (72.7%),...

Tested on 28 benchmarks with 43.3% average. Top scores: MASK (95.3%), OpenCompass — IFEval (88.3%), MATH level 5 (84.4%).

Looking for similar performance at lower cost?
gpt-oss-120b scores 42.4 (100% as good) at $0.03/1M input · 99% cheaper
Capabilities
coding
43.3
#109 globally
reasoning
26.8
#115 globally
math
45.7
#108 globally
knowledge
41.6
#170 globally
agentic
28.8
#20 globally
safety
95.3
#2 globally
language
88.3
#22 globally
Benchmark Scores
Compare All
Tested on 28 benchmarks · Ranked across 7 categories
Score Distribution (all 274 models)
0255075100
▲ You are here
SWE-Bench Verified (Bash Only)

SWE-bench Verified solved using only bash commands, no specialized frameworks. Tests raw terminal-based problem solving.

64.9
Aider polyglot

Multi-language code editing from Aider. Tests editing ability across Python, JavaScript, TypeScript, Java, C++, Go, Rust, and more.

61.3
OpenCompass — LiveCodeBenchV6

OpenCompass Live Code Bench v6. Fresh competitive programming problems to evaluate code generation without memorization.

47.5
ARC-AGI

Abstraction and Reasoning Corpus. Tests fluid intelligence through novel visual pattern recognition puzzles. Core measure of general intelligence.

40.0
SimpleBench

Deceptively simple questions that humans find easy but AI models often get wrong. Tests common sense and reasoning gaps.

34.6
ARC-AGI-2

ARC-AGI 2, harder sequel to ARC. More complex abstract reasoning patterns that test generalization ability beyond training data.

5.9
MATH level 5

Competition-level math from AMC, AIME, and olympiad problems. Level 5 is the hardest tier, requiring creative problem-solving.

84.4
OTIS Mock AIME 2024-2025

Mock AIME (American Invitational Mathematics Exam) problems from OTIS. Tests mathematical competition performance.

71.1
OpenCompass — AIME2025

OpenCompass evaluation on AIME 2025 problems. Tests mathematical reasoning on fresh competition problems.

68.7
Excellent (85+) Good (70-85) Average (50-70) Below (<50)
Links
Documentation
Community
BenchGecko API
claude-sonnet-4
Specifications
  • Typemultimodal
  • Context1.0M tokens (~500 books)
  • ReleasedMay 2025
  • LicenseProprietary
  • StatusActive
  • Cost / Message~$0.021
Available On
Anthropic logoAnthropic$3.00
Share & Export
Tweet
Claude Sonnet 4 is a proprietary multimodal AI model by Anthropic, released in May 2025. It has an average benchmark score of 42.3. Context window: 1M tokens.