Claude Sonnet 5 API Pricing & Cost Calculator
Sonnet 5 is the new value-pick coding workhorse: same capability tier as Sonnet 4.6 at a meaningful discount. With 90% cache and a 50% batch API, long agentic loops stay affordable.
Claude Sonnet 5 succeeds Sonnet 4.6 as Anthropic's workhorse coding and agentic model, sitting between Claude Opus 5 and the rest of the Claude lineup.
By TechCompare · Updated
Calculator
Cost Comparison
Based on 100,000 input tokens (50% cached), 5,000 output tokens, and 100 requests.Prices are fetched live from OpenRouter and may include temporary promotional discounts not accounted for in our article and comparison figures.
How this is calculated
Claude Sonnet 5 is priced at $2.00 per million input tokens and $10.00 per million output tokens - a third cheaper than Claude Sonnet 4.6's $3.00/$15.00 across the board. It supports a 90% prompt caching discount ($0.20 per million) and a 50% batch discount ($1.00 per million inputs, $5.00 per million outputs) via Anthropic's Message Batches API.
Verdict
Sonnet 5 lands at $2/M input and $10/M output, a third cheaper than Sonnet 4.6's $3/$15 on both rows, with cached input at $0.20/M (90% discount) and batch at $1/M input and $5/M output (50% discount). The case for migrating from 4.6 to 5 is the simplest in the lineup: same lineage, same tool-use ergonomics, lower price on every row, and (per Anthropic) improved capability. Long agentic coding loops see both the cached-input rate drop and the per-output cost drop, so the per-call total falls roughly a third without changing the workflow.
More API Standalones scenarios
Related guides
Frequently asked questions
Is Claude Sonnet 5 cheaper than Claude Sonnet 4.6?
How much does Claude Sonnet 5 cost per million output tokens?
Is Claude Sonnet 5 cheaper than Sonnet 4.6?
Related tools
LLM VRAM Calculator
Calculate the VRAM needed to run or fine-tune any LLM at any quantization.
Use tool ➜Power Cost Estimator
Estimate annual electricity costs for your PC, Server, or TV.
Use tool ➜Data Transfer Calculator
Estimate transfer times for files over USB, WiFi, Ethernet, and more.
Use tool ➜JSON Formatter
Validate, format, and minify JSON data with readable output and error detection.
Use tool ➜