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
context1M
input / M$3

Specifications

What the API gives you

Context window
1M 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

Recommendation coverage

Where this model appears

  1. #6Best LLM for AI Agents

Measured evidence

Public benchmark record

Aider Polyglot
61.3%2026-07-17
Aider Polyglot
61.3%2026-07-21
LMArena Vision
1175 Elo2026-07-12
SWE-bench Verified
76.8%2025-09-02
SWE-bench Verified
76.8%2025-08-04

LMArena data licensed CC-BY-4.0. Aider (Apache-2.0) and SWE-bench (MIT) are open. Self-reported scaffold plus model result. Treat it as a claim, not an independent measurement.

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