losclouds

AI Models / Compare

Claude Sonnet 4

Anthropic's balanced frontier family for production chat, coding, and agent workflows.

Creator
Anthropic
Lifecycle
Active
Context
200.0K
Max output
8.2K
Released
May 22, 2025
Status
up
Input
$3.00 / 1M tokens
Output
$15.00 / 1M tokens
Cached read
$0.30 / 1M tokens
Cached write
$3.75 / 1M tokens
Batch discount
50%
Source
Anthropic pricing
Verified
Apr 1, 2026 (High)

Capabilities

Modalities
textimagetext
Capabilities
reasoningimageInputbatchSupportpromptCachingfunctionCallingstructuredOutputs
Strengths
Strong coding and agent planning, Large context window, Stable prompt-caching economics
Tradeoffs
Higher output cost than flash-tier families, No first-party web search surface
Official Links

Benchmark Coverage

BenchmarkVersionScoreDateSourceNotes
SWE-bench Verified2026-Q164.2 pass@1Feb 10, 2026Anthropic release notesProvider-published benchmark evidence.

Release History

ReleaseAliasLifecycleRelease DateDeprecationShutdownSummary
Claude Sonnet 4claude-sonnet-4ActiveMay 22, 2025Fourth-generation Sonnet family for production workloads.

Host Coverage

HostTypeContextPricing NoteDifferences
Anthropic APIfirst-party200.0KReference pricing and full prompt-caching semantics.Prompt caching; Native batch processing
AWS Bedrockcloud200.0KRegional availability and quotas can differ from first-party Anthropic access.AWS IAM integration; Separate billing
Migration Guidance

Best default Anthropic family when Opus is too expensive and Haiku is too small for the workload.

Replacement models: claude-opus-4

Breaking changes: Tool-use latency and output depth differ from Opus-tier workloads.

Change Events
DateTypeTitleDescriptionSource
May 22, 2025family_addedFamily launchedClaude Sonnet 4 became Anthropic's default balanced frontier family.Anthropic API release notes

Other models from Anthropic

Claude Haiku 4.5, Claude Opus 4, Claude Opus 4.6, Claude Sonnet 4.6