Claude Sonnet 4

anthropic/claude-4-sonnet-20250522

Claude Sonnet 4 is an Anthropic model that accepts image, text, and file inputs and generates text output. It provides a context window of 1 000 000 tokens, costs $3 per M input tokens and $15 per M output tokens, and includes support for tools and reasoning. The model is closed‑source and was released on 2025‑05‑14.

  • tool use
  • reasoning

At a glance

provideranthropic
releasedMay 14, 2025
context200K
input / M$3

Specifications

What the API gives you

Context window
200K tokens
Max output
64K tokens
Input price
$3 / 1M tokens
Output price
$15 / 1M tokens
Cache read
$0.30 / 1M tokens
Modalities
image, text, file → text
Knowledge cutoff
Jan 31, 2025
Released
May 14, 2025

Measured evidence

Public benchmark record

Aider Polyglot
56.4%2026-10-21
Design Arena Coding
1138 Elo2026-10-21
Design Arena UI
1126 Elo2026-10-21
Design Arena Website
1139 Elo2026-10-21
FACTS Grounding
56.1%2025-09-02evaluated 2025-09-02
GPQA Diamond (Epoch AI)
77.8% ± 2.72025-05-26evaluated 2025-05-26
GPQA Diamond (Epoch AI)
66.7% ± 3.42025-05-22evaluated 2025-05-22
LMArena Creative Writing
1342 Elo2026-10-20
LMArena Long Query
1380 Elo2026-10-20
LMArena Math
1359 Elo2026-10-20
LMArena Text
1391 Elo2026-10-20
LMArena Vision
1189 Elo2026-10-19
LMArena Vision Diagrams
1203 Elo2026-10-19
LMArena Vision OCR
1191 Elo2026-10-19
OTIS Mock AIME (Epoch AI)
68.9% ± 72025-05-23evaluated 2025-05-23
OTIS Mock AIME (Epoch AI)
28.9% ± 6.82025-05-22evaluated 2025-05-22

LMArena data licensed CC-BY-4.0. Aider (Apache-2.0) and SWE-bench (MIT) are open. Design Arena uses blind human preference.

Task evidence

How broad is the support?

Each status is exact to this model version and the selected task. Official release claims remain provisional.

  • 55% of intended weighted task evidence across 2 independent sources. 5 of 5 configured evaluation feeds currently have results.

  • Best LLM for Math & ReasoningEstablished evidence

    44% of intended weighted task evidence across 3 independent sources. 7 of 7 configured evaluation feeds currently have results.

  • Best LLM for Competition MathEstablished evidence

    37% of intended weighted task evidence across 2 independent sources. 6 of 6 configured evaluation feeds currently have results.

  • 35% of intended weighted task evidence across 2 independent sources. 5 of 6 configured evaluation feeds currently have results.

  • Best LLM for SummarizationEstablished evidence

    35% of intended weighted task evidence across 2 independent sources. 5 of 6 configured evaluation feeds currently have results.

  • 33% of intended weighted task evidence across 2 independent sources. 5 of 6 configured evaluation feeds currently have results.

Show all 35 tasks
  • Best LLM for CodingEstablished evidence

    27% of intended weighted task evidence across 2 independent sources. 7 of 7 configured evaluation feeds currently have results.

  • Best LLM for Business WritingProvisional evidence

    67% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LiveBench Instruction Following. 4 of 4 configured evaluation feeds currently have results.

  • Best LLM for Marketing CopyProvisional evidence

    67% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LiveBench Instruction Following. 4 of 4 configured evaluation feeds currently have results.

  • Best LLM for Chat & RoleplayProvisional evidence

    67% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LiveBench Instruction Following or LiveBench Language. 4 of 4 configured evaluation feeds currently have results.

  • 67% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LiveBench Instruction Following or LiveBench Language. 4 of 4 configured evaluation feeds currently have results.

  • Best LLM for Creative WritingProvisional evidence

    56% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LiveBench Instruction Following or LiveBench Language. 4 of 4 configured evaluation feeds currently have results.

  • Best LLM for WritingProvisional evidence

    56% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LiveBench Instruction Following or LiveBench Language. 4 of 4 configured evaluation feeds currently have results.

  • Best LLM for Frontend & UIProvisional evidence

    55% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LiveBench Coding or LMArena WebDev. 6 of 6 configured evaluation feeds currently have results.

  • 50% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LiveBench Reasoning or VLMEvalKit tasks. 2 of 3 configured evaluation feeds currently have results.

  • Best LLM for OCR & DocumentsProvisional evidence

    45% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LMArena Document or Structured-output eval. 3 of 5 configured evaluation feeds currently have results.

  • Best LLM for Charts & DiagramsProvisional evidence

    45% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LMArena Document or Structured-output eval. 3 of 5 configured evaluation feeds currently have results.

  • 41% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from SimpleQA Verified (Epoch AI) or LiveBench Instruction Following. 6 of 6 configured evaluation feeds currently have results.

  • 40% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LMArena Document or Structured-output eval. 4 of 6 configured evaluation feeds currently have results.

  • Best Local LLM for CodingProvisional evidence

    38% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LiveBench Coding or LMArena WebDev. 4 of 4 configured evaluation feeds currently have results.

  • Best LLM for Document ParsingProvisional evidence

    37% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LMArena Document or Structured-output eval. 3 of 5 configured evaluation feeds currently have results.

  • Best LLM for Grounded RAGProvisional evidence

    33% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from CRAG or SimpleQA Verified (Epoch AI). 5 of 7 configured evaluation feeds currently have results.

  • 27% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LiveBench Instruction Following or Route reliability. 2 of 3 configured evaluation feeds currently have results.

  • Best Value LLMProvisional evidence

    25% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LiveBench Instruction Following or Route reliability. 2 of 3 configured evaluation feeds currently have results.

  • 22% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LiveBench Coding or LMArena WebDev. 5 of 5 configured evaluation feeds currently have results.

  • Best LLM for Code CompletionProvisional evidence

    21% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LiveBench Coding or LMArena WebDev. 3 of 3 configured evaluation feeds currently have results.

  • Best LLM for Massive ContextProvisional evidence

    20% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LMArena Document or LongBench v2. 2 of 3 configured evaluation feeds currently have results.

  • Best LLM for Fast SummariesProvisional evidence

    17% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LiveBench Instruction Following or Route reliability. 2 of 3 configured evaluation feeds currently have results.

  • 17% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LiveBench Instruction Following or LiveBench Language. 3 of 4 configured evaluation feeds currently have results.

  • 17% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LiveBench Instruction Following or LiveBench Language. 3 of 4 configured evaluation feeds currently have results.

  • Best LLM for TranslationProvisional evidence

    17% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LiveBench Instruction Following or LiveBench Language. 3 of 4 configured evaluation feeds currently have results.

  • 12% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from Berkeley Function Calling or LiveBench Data Analysis. 3 of 4 configured evaluation feeds currently have results.

  • 12% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from Berkeley Function Calling or LiveBench Data Analysis. 3 of 4 configured evaluation feeds currently have results.

  • Best Cheap LLM for High VolumeProvisional evidence

    10% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LiveBench Instruction Following or Route reliability. 2 of 3 configured evaluation feeds currently have results.

  • Cheapest Capable LLMProvisional evidence

    10% of intended weighted task evidence across 1 independent source; broader independent confirmation is still missing from LiveBench Instruction Following or Route reliability. 2 of 3 configured evaluation feeds currently have results.

Recommendation coverage

Where this model appears

Not currently included in a published recommendation. The task evidence panel above says exactly what is confirmed and what is still missing.

Catalog data via OpenRouter and models.dev. Last checked within the past 6 hours.