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 · 5 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
Cache Write 1h
$ / 1M
Web Search
$ / request
OpenRouter logo
OpenRouter
~anthropic/claude-sonnet-latest
$2.00$10.00$0.2$2.50$4.00$0.010

Cost Calculator

US Dollar ($)
Preset:

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
Claude Sonnet 51.0M$2.00$0.200Deprecating
Claude Sonnet 4.61.0M$3.00$0.300Deprecating
Claude Sonnet 4.51.0M$3.00$0.300Deprecating
Claude Sonnet 41.0M$3.00$0.300Deprecated
Claude Sonnet 4.6 Adaptive————Available
Claude Sonnet 4.5————Available
Claude Sonnet 4.6 Non-Reasoning Low Effort————Available
Claude Sonnet 4————Available
Claude Sonnet 4.1—200K$3.00$15.00Available
Claude Sonnet 3.7200K——Available
Claude Sonnet1.0M$2.00$10.00Current

Other Models

ModelTierReleasedContextInput / 1MOutput / 1M
Claude Opus 5.5Opus1.0M$4.00$0.200
Claude Fable 5.1—1.0M$10.00$0.250
Claude Opus 5Opus1.0M$5.00$0.500
Claude Fable 5Fable1.0M$10.00$1.00
Claude Fable 5.3Fable————
Claude Mythos 5Mythos—1.0M$10.00$1.00
Claude Mythos 5.1Mythos—1.0M$10.00$0.250
Claude Opus 4.8Opus1.0M$5.00$0.500
Claude Opus 4.7Opus1.0M$5.00$0.500
Claude Opus 4.6Opus1.0M$5.00$0.500

Model IDs

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