AnthropicMay 23, 2025

Claude Sonnet 4

Claude Sonnet 4 is Anthropic's mid-tier model released with Claude Opus 4 on May 22, 2025, succeeding Claude 3.7 Sonnet. It is a hybrid model that answers near-instantly or uses extended thinking with tool use, with a 200K-token context window and 64K output. It was widely used for coding and agent work and has since been retired.

Retired · 2026-06-15Text + Image inputText outputClosed / API only

At a glance

Context window
200K tokens
Max output
64K tokens
Historical text input / output · per 1M tokens
$3.00 / $15.00
Knowledge cutoff
—
R.I.P.R.I.P.ClaudeClaudeSonnet 4Sonnet 42025 — 20262025 — 2026AnthropicAnthropicREST IN PEACEREST IN PEACE

A place to remember

Retired, not forgotten.

Released
23 May 2025
Endpoint retired
15 Jun 2026
Time in service
388 days

Retired by provider

“The workhorse of 2025. Retired the same day as its bigger sibling.”

84 leaderboards · 0 top-three finishes · Best rank #4. The full model record remains below.

Benchmark snapshot

Best result in 6 of 10 categories

View benchmark details (42)

Benchmark details

42 results · Best published score per benchmark, grouped by category

Benchmark · settingScoreRank
Academic
AIME 2024

Normal (No Tools) · Mathematics

43.445 / 54
AIME2025

Deep Thinking (With Tools) · Mathematics

85.048 / 86
CritPt

Normal (No Tools) · Scientific Reasoning

1.1103 / 134
FrontierMath

Normal (No Tools) · Mathematics

4.132 / 48
FrontierMath - Tier 4

Normal (No Tools) · Mathematics

0.044 / 50
GPQA Diamond

Deep Thinking (With Tools) · Scientific Reasoning

83.891 / 200
HLE

Thinking (No Tools) · Knowledge Exams

9.6130 / 151
IMO-ProofBench

Thinking (No Tools) · Mathematics

27.18 / 14
IMO-ProofBench Advanced

Thinking (No Tools) · Mathematics

4.819 / 23
MATH-500

Thinking (No Tools) · Mathematics

Source: Artificial Analysis (artificialanalysis.ai)
99.14 / 49
MMLU-Pro

Thinking (No Tools) · Knowledge Exams

84.042 / 153
Coding
Aider-Polyglot

Thinking (No Tools, 32K Budget) · Agentic Development

61.314 / 47
CodeClash

Normal (With Tools) · Algorithmic Coding

1223Elo4 / 8
IOI 2024 (Vals v1)

Normal (With Tools) · Algorithmic Coding

9.75 / 9
IOI 2025 (Vals v1)

Thinking (With Tools) · Algorithmic Coding

45 / 8
LiveCodeBench

Normal (No Tools) · Algorithmic Coding

48.588 / 113
SWE-Bench Pro - Commercial

Unspecified Reasoning (With Tools) · Repository Engineering

Source: Scale AI SWE-Bench Pro leaderboard
9.113 / 14
SWE-Bench Pro - Public

Normal (With Tools) · Repository Engineering

Source: Scale AI
42.758 / 66
SWE-bench Verified

Parallel Thinking (With Tools) · Repository Engineering

80.215 / 108
Terminal Bench Hard

Thinking (With Tools) · Agentic Development

31.166 / 157
Terminal-Bench 1.0

Deep Thinking (With Tools) · Agentic Development

41.39 / 26
Computer Use
Claw Bench

Thinking (With Tools) · Tool Orchestration

77.823 / 29
OSWorld-Verified

Thinking (With Tools) · Desktop Workflows

42.231 / 36
Pinch Bench

Thinking (With Tools) · Tool Orchestration

80.523 / 38
PinchBench v2

Reported best (effort unspecified) · Tool Orchestration

48.845 / 51
General Evaluation
ECI

Reported best (effort unspecified) · Capability Indices

14291 / 168
LiveBench

Thinking (No Tools, 64K Budget) · Cross-capability Suites

61.383 / 106
Language & Creation
Creative Writing

Normal (No Tools) · Writing

148362 / 121
IF Bench

Thinking (With Tools) · Instruction Following

55.034 / 38
Long Context
Fiction.liveBench

Normal (No Tools) · Long Reasoning

46.924 / 28
Multimodal
MMMU

Normal (No Tools) · Visual Understanding

Shown: Official leaderboard. Also reported: Provider-reported 74.4

74.423 / 62
MMMU-Pro

Normal (No Tools) · Visual Understanding

62.4100 / 136
VPCT

Thinking (No Tools, 32K Budget) · Visual Understanding

34.022 / 26
Professional
GDPval-AA

Thinking (No Tools) · Cross-industry Work

33.012 / 14
SAGE

Normal (With Tools) · Service Workflows

35.067 / 82
τ²-Bench

Normal (With Tools) · Service Workflows

52.032 / 40
τ³-Banking

Thinking (With Tools) · Service Workflows

16.767 / 120
Reasoning
ARC-AGI-1

Thinking (No Tools) · Abstract Generalization

40.069 / 87
ARC-AGI-2

Thinking (No Tools) · Abstract Generalization

5.964 / 80
SimpleBench

Thinking (No Tools) · Commonsense

45.573 / 106
Science & Health
MedCode

Thinking (With Tools) · Clinical Workflows

35.073 / 97
MedScribe

Normal (With Tools) · Clinical Workflows

72.481 / 99
32 more results in Academic, Coding, Computer Use and 7 more

Rank is this model's position among every model with a published result on that leaderboard; the bar shows how far up the field that is. Orange marks first place on leaderboards with at least 5 models. Unranked leaderboards publish a composite or direction-less score.

Back to benchmark snapshot ↑

Historical API pricing

Listed text rates, USD per million tokens · effective 2026-11-14

Input
$3.00
Output
$15.00
Cached input
$0.30

Blended price4:1 input:output · 90% of input tokens cached · same basis as the price ranking

$3.456/ 1M tokens

Estimate running cost for Claude Sonnet 4

Specifications

Provider
Anthropic
Model type
Reasoning model
Released
May 23, 2025
Endpoint retired
2026-06-15 Source
Architecture
Undisclosed
Context window
200K tokens
Max output
64K tokens
Input
Text, Image
Output
Text
Weights
Closed / API only
Commercial use
Proprietary

Capabilities

ReasoningMultilingual

Claude Sonnet 4 vs competitors

Comparable results only · record is Claude Sonnet 4's wins–losses

Claude Sonnet 4 benchmark scores against competitors
BenchmarkClaude Sonnet 4This modelvs GPT-5Record 2–30vs Claude Sonnet 4.5Record 1–28–1vs Gemini 2.5-ProRecord 11–19vs Opus 4.5Record 0–29
GPQA Diamond83.887.373.786.487.0
Terminal Bench Hard31.137.935.626.547.0
MMLU-Pro84.087.188.086.290.0
HLE9.635.233.621.643.2
MMMU-Pro62.478.468.974.974.0
CritPt1.15.71.12.64.6
Creative Writing14831626167714221686
τ³-Banking16.722.124.513.724.7
SWE-bench Verified80.272.882.067.280.9
SimpleBench45.556.754.362.462.0

Lineage

Predecessors and successors · oldest to newest

  1. Claude Sonnet 4May 23, 2025Retired
  2. 130 days
    Claude Sonnet 4.5Sep 30, 2025
  3. 140 days
    Claude Sonnet 4.6Feb 17, 2026
  4. 133 days
    Claude Sonnet 5Jun 30, 2026
  5. Claude Sonnet 5.5Sep 28, 202690 days later

Price & benchmark trends

Across curated predecessors and successors, ordered by release date. Points use listed rates and published results, not within-model price history. Related branches may appear; undated models appear last.

API price across generations

Text inputText outputUSD / 1M tokens
$0$8.1$16.2Claude Sonnet 4Claude Sonnet 4.5Claude Sonnet 4.6Claude Sonnet 5Claude Sonnet 5.5

Uncached text rates on one linear USD axis (lower is cheaper). Retired models may keep their last recorded rate; inspect each model for tier conditions.

Benchmark performance across generations

0750.061.5KClaude Sonnet 4Claude Sonnet 4.5Claude Sonnet 4.6Claude Sonnet 5Claude Sonnet 5.5

Elo / win rate · Higher is better. Same recorded metric, protocol and setting.

Inspect CodeClash ↗

Orange marks this model. Hover, tap or focus the chart to inspect exact values. Missing values leave gaps; horizontal spacing shows release order, not elapsed time.

Listed prices and selected benchmark scores across model generations
Model · releasedInput / 1MOutput / 1MPrice effectiveCodeClash
1Claude Sonnet 4May 23, 2025 · Retired · This model$3.00$15.002026-11-141223 ↗
2Claude Sonnet 4.5Sep 30, 2025$3.00$15.002026-01-031389 ↗
3Claude Sonnet 4.6Feb 17, 2026$3.00$15.002026-09-13—
4Claude Sonnet 5Jun 30, 2026$2.00$10.002026-08-30—
5Claude Sonnet 5.5Sep 28, 2026$2.00$10.002026-09-28—

On the stone

Memories and epitaphs, kept separately from model reviews.

Epitaphs from visitors

Nobody has written on this stone yet. The first line is yours.

Write an epitaph

One line for Claude Sonnet 4. No sign-in, no links, published as written.

8–200 characters200

Community discussion

Share the API, setup, and tradeoffs you actually tested. Rate the model once; comment as often as you like.

Sign in with Google to rate this model and leave a comment.

No community comments yet.