Claude Sonnet is Anthropic's language model with a 1.0M context window and up to 128K output tokens, starting at $2.00 / 1M input and $10.00 / 1M output. A mid-tier Claude model balancing capability and speed that always routes to the latest Sonnet release.
Specifications
Canonical IDanthropic-claude-sonnet
TypeLanguage
StatusActive
CreatorAnthropicAnthropic
Providers
Context Window1.0M tokens
Max Output128K tokens
Input ModalitiesImagePDFText
Output ModalitiesText
Reasoning Effortsdefault
Release Date · 6 months ago

Capabilities

Input3/5
Text✓
Image✓
Audio·
Video·
PDF✓
Output1/5
Text✓
Image·
Audio·
Video·
Embedding·
Capabilities6/13
Reasoning✓
Adaptive Reasoning·
Function Calling✓
Parallel Function Calling·
Structured Outputs✓
Native JSON Schema✓
Web Search✓
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching✓
Assistant Prefill·

Pricing by Provider

US Dollar ($)
Per 1M tokens
ProviderStandard
Input
$ / 1M
Output
$ / 1M
Cache Read
$ / 1M
Cache Write 5m
$ / 1M
Web Search
$ / request
OpenRouter logo
OpenRouter
~anthropic/claude-sonnet-latest
$2.00$10.00$0.1$2.50$0.010

Cost Calculator

US Dollar ($)
Preset:

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
Claude Sonnet 5.51.0M$2.00$10.00Available
Claude Sonnet 5.5 Batch1.0M$1.00$5.00Available
Claude Sonnet 51.0M$2.00$10.00Deprecating
Claude Sonnet 51.0M$1.00$5.00Available
Claude Sonnet 5.5 US Gov—1.0M$2.40$12.00Available
Claude Sonnet 4.61.0M$3.00$15.00Deprecating
Claude Sonnet 4.61.0M$1.50$7.50Available
Claude Sonnet 4.51.0M$3.00$15.00Deprecated
Claude Sonnet 4.51.0M$1.50$7.50Available
Claude Sonnet 41.0M$3.00$15.00Deprecated
Claude Sonnet1.0M$2.00$10.00Current

Other Models

ModelTierReleasedContextInput / 1MOutput / 1M
Claude Haiku 5.5Haiku1.0M$0.100$0.500
Claude Haiku 5.5 BatchHaiku1.0M$0.050$0.250
Claude Opus 5.5Opus1.0M$4.00$20.00
Claude Opus 5.5Opus1.0M$2.00$10.00
Claude Fable 5.1—1.0M$10.00$50.00
Claude Fable 5.1Fable1.0M$5.00$25.00
Claude Opus 5Opus1.0M$5.00$25.00
Claude Opus 5Opus1.0M$2.50$12.50
Claude Fable 5Fable1.0M$5.00$25.00
Claude Fable 5Fable1.0M$10.00$50.00

Model IDs

~anthropic/claude-sonnet-latest
anthropic-claude-sonnet
openrouter/~anthropic/claude-sonnet-latest