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 images, text and PDFs and generates text, with a 200K-token context window and up to 64K output tokens per response. As of 4 Oct 2026, the lowest listed API price is $3 per million input tokens and $15 per million output tokens (OpenRouter), across 2 providers we track.

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

Last verified 4 Oct 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 cutoff31 Jan 2025 [models.dev]
InputImages, text and PDFs [models.dev]
OutputText [models.dev]
Reasoning modeYes [models.dev]
Tool callingYes [models.dev]
Structured outputNo [models.dev]

Claude Sonnet 4 API pricing by provider

USD per million tokens. Sorted by input price.

ProviderInputOutputCached inputContextSource
OpenRouter
anthropic/claude-sonnet-4
$3$15$0.30200KOpenRouter, 4 Oct 2026
Vercel AI Gateway
anthropic/claude-sonnet-4
$3$15$0.301Mmodels.dev, 4 Oct 2026

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.

How much does the Claude Sonnet 4 API cost?

Claude Sonnet 4 is listed from $3 per million input tokens and $15 per million output tokens (OpenRouter). Prices last verified 4 Oct 2026.

Is Claude Sonnet 4 open source?

No. Claude Sonnet 4 is a proprietary model; Anthropic has not released its weights. It is available through APIs including OpenRouter, Vercel AI Gateway.

When was Claude Sonnet 4 released?

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

Which providers offer Claude Sonnet 4?

We track Claude Sonnet 4 on 2 providers: OpenRouter, Vercel AI Gateway.

Change history

No changes detected since we started tracking this model. We re-check every source daily.

Sources