Anthropic model
Claude Sonnet 5 API cost calculator
Claude Sonnet 5 costs $2 per 1M input tokens and $10 per 1M output tokens on the Anthropic API, with a 1M-token context window. A typical request (2K input, 500 output tokens) costs $0.0090 — about $270/month at 1,000 requests per day. Use the calculator below to model your exact workload.
Find me a cheaper modelWhat real workloads cost on Claude Sonnet 5
| Workload | Tokens (in / out) | Per request | Per 1K requests |
|---|---|---|---|
| Chatbot message | 500 / 300 | $0.0040 | $4.00 |
| RAG query with context | 4,000 / 500 | $0.01 | $13.00 |
| Document summarization | 20,000 / 1,000 | $0.05 | $50.00 |
| Agent coding session | 100,000 / 5,000 | $0.25 | $250 |
Claude Sonnet 5 vs other Anthropic models
| Model | Input /1M | Output /1M | Context |
|---|---|---|---|
| Claude Sonnet 5 | $2 | $10 | 1M |
| Claude Opus 5 (Fast) | $10 | $50 | 1M |
| Claude Opus 5 | $5 | $25 | 1M |
| Claude Fable 5 | $10 | $50 | 1M |
| Claude Opus 4.8 (Fast) | $10 | $50 | 1M |
Frequently asked questions
How much does Claude Sonnet 5 cost per 1M tokens?
According to current pricing data, Claude Sonnet 5 costs $2 per 1M input tokens and $10 per 1M output tokens. Processing 1M tokens each way costs $12.00.
What does a typical API request to Claude Sonnet 5 cost?
A typical request with 2,000 input tokens and 500 output tokens costs $0.0090. At 1,000 requests per day that is $9.00 daily, or about $270 per month.
What is Claude Sonnet 5's context window?
Claude Sonnet 5 supports a 1M-token context window (1,000,000 tokens).
Does Claude Sonnet 5 support prompt caching?
Yes. Cached input tokens cost $0.20 per 1M — a 90% discount versus the standard input rate, which matters for agents and chat apps that resend the same system prompt.
What is a cheaper alternative to Claude Sonnet 5?
Ling-2.6-flash from Inclusionai is currently the cheapest comparable option at $0.01 per 1M input tokens versus $2 for Claude Sonnet 5 — roughly 200x cheaper on input.
Prices may differ from Anthropic's official pricing page for batch, tiered, or fine-tuned usage. Compare all current prices on the live model pricing dashboard, see Claude Sonnet 5 vs Ling-2.6-flash pricing, or run Claude Sonnet 5 head-to-head against other models in the side-by-side comparison playground.
Pricing data via the OpenRouter models API.