Anthropic

Claude Sonnet 4

Generally availableProprietary200K contextReasoning

Summary

Claude Sonnet 4 is a proprietary language model from Anthropic, released on 22 May 2025. It accepts text and images and generates text, with a 200K-token context window and up to 64K output tokens per response. It is scheduled for retirement on 15 Oct 2026.

Balanced Claude model for coding, analysis, agent workflows, and cost control

Last verified 18 Nov 2026. Every figure on this page links to its source.

Specifications

DeveloperAnthropic
Release date22 May 2025 [models.dev]
StatusGenerally available [models.dev]
WeightsProprietary (API only) [models.dev]
Context window200K (200,000 tokens) [models.dev]
Max output64K tokens [models.dev]
Knowledge cutoffMay 2025 [models.dev]
InputText and images [models.dev]
OutputText [models.dev]
Reasoning modeYes [models.dev]
Tool callingYes [models.dev]
Structured outputNo [models.dev]
Retirement date15 Oct 2026 [OpenRouter]

Claude Sonnet 4 API pricing by provider

USD per million tokens. Sorted by input price.

We do not currently track a paid API listing for this model.

Frequently asked questions

What is the context window of Claude Sonnet 4?

Claude Sonnet 4 has a context window of 200,000 tokens (200K) and can generate up to 64,000 tokens in a single response, according to models.dev.

Is Claude Sonnet 4 open source?

No. Claude Sonnet 4 is a proprietary model; Anthropic has not released its weights.

When was Claude Sonnet 4 released?

Anthropic released Claude Sonnet 4 on 22 May 2025, according to models.dev.

Similar models from other labs

Comparable on output type, weights, release date, price and context window. Prices are the lowest listed, USD per million tokens.

ModelLabReleasedContextInput $/1MOutput $/1MWeights
o3-proOpenAI10 Jun 2025200K$20$80Closed
o3OpenAI16 Apr 2025200K$2$8Closed
Morph V3 FastMorph7 Jul 2025262K$0.80$1.20Closed
Morph V3 LargeMorph7 Jul 2025262K$0.90$1.90Closed
Codestral 25.08Mistral AI30 Jul 2025256K$0.30$0.90Closed
Embed v4.0Cohere15 Apr 2025128K––Closed

Change history

  • Release date changed from 14 May 2025 to 22 May 2025
  • Input modalities changed from text, image, pdf to text, image
  • Name changed from anthropic--claude-4-sonnet to Claude Sonnet 4
  • Knowledge cutoff changed from 31 Mar 2025 to May 2025
  • Release date changed from 22 May 2025 to 14 May 2025
  • Knowledge cutoff changed from 1 Jan 2025 to 31 Mar 2025
  • Name changed from Claude Sonnet 4 to anthropic--claude-4-sonnet
  • Context window changed from 1M to 200K
  • Input modalities changed from image, text, pdf to text, image, pdf
  • No longer listed on openrouter
  • No longer listed on vercel
  • Knowledge cutoff changed from 31 Jan 2025 to 1 Jan 2025
  • Context window changed from 200K to 1M
  • Retirement date changed from none to 15 Oct 2026

Sources