Claude Sonnet 4 pricing
Claude Sonnet 4 significantly enhances the capabilities of its predecessor, Sonnet 3.7, excelling in both coding and reasoning tasks with improved precision and controllability. Achieving state-of-the-art performance on SWE-bench (72.7%), Sonnet 4 balances capability and computational efficiency, making it suitable for a broad range of applications from routine coding tasks to complex software development projects. Key enhancements include improved autonomous codebase navigation, reduced error r. Below you will find 5 current rows with input and output dollars per million. Right now the lowest input is $3.00 and the lowest output is $15.00.
Pricing across providers
Every row is a seller of Claude Sonnet 4 with token pricing we track. The cheapest input in this snapshot is from Openrouter. The bar chart shows the same input and output dollars per million for a quick scan.
| Provider | Input / 1M | Output / 1M | Cached input | Batch |
|---|---|---|---|---|
O Openrouter | $3.00 | $15.00 | $0.300 | — |
GC Github Copilot | N/A | N/A | — | — |
G Gmi | $3.00 | $15.00 | — | — |
VA Vercel Ai Gateway | $3.00 | $15.00 | $0.300 | — |
GV Google Vertex | $3.00 | $15.00 | $0.300 | — |
Input vs output · per provider
Cost calculator
The calculator uses the same dollars per million tokens as the table. Adjust sliders to see how Claude Sonnet 4 cost scales with traffic.
Provider
0.300000¢ / req
0.750000¢ / req
Model specifications
Context length, caps, and capability flags for Claude Sonnet 4. Family: Claude Sonnet. Values follow the main provider (Anthropic) record in our index.
- Context window
- 1,000,000 tokens
- Max output
- 64,000 tokens
- Vision (images)
- Yes
- Tool / function calling
- Yes
- Streaming
- No
- Released
- May 2025
- Primary provider
- Anthropic
- Model family
- Claude Sonnet
Compare Claude Sonnet 4
These links open full side by side pages for Claude Sonnet 4. We picked pairs that people often shop together. 6 ready to open.
- Claude Sonnet 4 vs Claude Sonnet 4.6
Compare pricing side by side
- Claude Sonnet 4 vs Claude Haiku 4.5
Compare pricing side by side
- Claude Sonnet 4 vs Claude Opus 4.6
Compare pricing side by side
- Claude Sonnet 4 vs GPT-4o
Compare pricing side by side
- Claude Sonnet 4 vs GPT-4o mini
Compare pricing side by side
- Claude Sonnet 4 vs Gemini 2.0 Flash
Compare pricing side by side
Frequently asked questions
Quick frequently asked items for Claude Sonnet 4 pricing and limits. The short model note from our index: Claude Sonnet 4 significantly enhances the capabilities of its predecessor, Sonnet 3.7, excelling in both coding and reasoning tasks with improved precision and controllability. Achieving state-of-the-art performance on ...
Also from Anthropic
Other models by Anthropic with live pricing in our catalog.