Claude Sonnet 5 API pricing
Anthropic charges $2 per million input tokens and $10 per million output tokens for Claude Sonnet 5 (claude-sonnet-5), and $0.2 per million cached input tokens. A typical request of 1,000 input and 500 output tokens costs $0.007, or $0.0035 through the batch API.
Claude Sonnet 5 price per million tokens
| Token type | Standard | Batch API |
|---|---|---|
| Input | $2 | $1 |
| Cached input | $0.2 | $0.1 |
| Output | $10 | $5 |
API model id: claude-sonnet-5. Claude Sonnet 5 supports a 1M-token context window, up to 128K output tokens, image input, tool calling and reasoning.
What Claude Sonnet 5 costs per request
| Request | 1 request | 1,000 requests | 1M requests |
|---|---|---|---|
| Short chat message (300 in, 200 out) | $0.0026 | $2.60 | $2,600.00 |
| Typical request (1K in, 500 out) | $0.007 | $7.00 | $7,000.00 |
| Long document summary (20K in, 1K out) | $0.05 | $50.00 | $50,000.00 |
| Coding agent step (50K in, 2K out) | $0.12 | $120.00 | $120,000.00 |
At standard rates. A token is about 4 characters of English text, so 1,000 tokens is roughly 750 words. Anthropic counts tokens with its own tokenizer, so the same text can be a different number of tokens.
How Claude Sonnet 5 compares
- For a typical request, Claude Sonnet 5 is cheaper than 27% of the other models on apicost.app.
- GPT-6 Sol from OpenAI costs $2 input and $10 output per million tokens, so a typical request is $0.007: about the same price as Claude Sonnet 5.
- Gemini 4 Argon from Google Gemini costs $2 input and $10 output per million tokens, so a typical request is $0.007: about the same price as Claude Sonnet 5.
- DeepSeek V4 Pro from DeepSeek costs $1.32 input and $3.96 output per million tokens, so a typical request is $0.0033: 2.1× cheaper than Claude Sonnet 5.
Claude Sonnet 5 price history
Claude Sonnet 5 has cost $2 per million input tokens and $10 per million output tokens since apicost.app started tracking prices on October 22, 2026.
Every LLM API price increase, cut, new and retired model, dated: LLM API price changes.
Models with a similar price
| Model | Provider | Input / 1M | Cached input / 1M | Output / 1M | Typical request |
|---|---|---|---|---|---|
| GPT-5 | OpenAI | $1.25 | $0.125 | $10 | $0.00625 |
| GPT-5.1 | OpenAI | $1.25 | $0.125 | $10 | $0.00625 |
| GPT-6 Sol | OpenAI | $2 | $0.2 | $10 | $0.007 |
| GPT-6.1 Sol | OpenAI | $2 | $0.1 | $10 | $0.007 |
| Claude Sonnet 5.5 | Anthropic | $2 | $0.1 | $10 | $0.007 |
| Gemini 4 Argon | Google Gemini | $2 | $0.1 | $10 | $0.007 |
| Gemini 4 Carbon | Google Gemini | $2 | $0.1 | $10 | $0.007 |
| GPT-4o | OpenAI | $2.5 | $1.25 | $10 | $0.0075 |
Other Anthropic models
- Claude Fable 5 $10 / $50
- Claude Fable 5.1 $10 / $50
- Claude Fable 5.2 $8 / $40
- Claude Haiku 4.5 $1 / $5
- Claude Haiku 5.5 $0.1 / $0.5
- Claude Mythos 5 $10 / $50
- Claude Mythos 5.1 $10 / $50
- Claude Mythos 5.2 $8 / $40
- Claude Opus 4.5 $5 / $25
- Claude Opus 4.6 $5 / $25
- Claude Opus 4.7 $5 / $25
- Claude Opus 4.8 $5 / $25
- Claude Opus 5 $5 / $25
- Claude Opus 5.5 $4 / $20
- Claude Sonnet 4.5 $3 / $15
- Claude Sonnet 4.6 $3 / $15
- Claude Sonnet 5.5 $2 / $10
Every Anthropic model side by side, with batch, caching and long-context prices: Claude API pricing (Anthropic). Ways to pay less: batch API, prompt caching, the cheapest models.
Questions and answers
How much does the Claude Sonnet 5 API cost?
Anthropic charges $2 per million input tokens and $10 per million output tokens for Claude Sonnet 5 (claude-sonnet-5), and $0.2 per million cached input tokens. A typical request of 1,000 input and 500 output tokens costs $0.007, or $0.0035 through the batch API.
Has the Claude Sonnet 5 API price changed?
No. Claude Sonnet 5 has cost $2 per million input tokens and $10 per million output tokens since apicost.app started tracking prices on October 22, 2026.
Is there a cheaper way to use Claude Sonnet 5?
Yes. The Anthropic batch API runs requests within 24 hours for $1 per million input tokens and $5 per million output tokens. Prompt caching lowers the price of repeated input to $0.2 per million tokens.
What is the context window of Claude Sonnet 5?
Claude Sonnet 5 accepts up to 1,000,000 input tokens, roughly 750,000 words of English, and writes up to 128,000 output tokens per response. Filling the whole context window once costs $2.00 in input tokens.
Is Claude Sonnet 5 cheaper than GPT-6 Sol?
They cost about the same. GPT-6 Sol from OpenAI costs $2 input and $10 output per million tokens, so a typical request is $0.007: about the same price as Claude Sonnet 5.
Source: Anthropic pricing, via the LiteLLM price list.