Claude Sonnet 5 API Pricing & Cost Calculator
By TechCompare · Updated · How we check
Sonnet 5 is the new coding model in the same capability tier as Sonnet 4.6, at a lower price. With cached input at $0.20 and batch rates of $1/$5, long agentic loops stay affordable.
Calculator
Cost Comparison
Based on 100,000 input tokens (50% cached), 5,000 output tokens, and 100 requests.Prices come live from OpenRouter at each maker's own price where it's listed. Temporary deals are left out.
Claude Sonnet 5 succeeds Sonnet 4.6 as Anthropic's coding and agentic model, below Claude Opus 5 in the Claude lineup.
Anthropic: Claude Sonnet 5
Anthropic's own price
- Input
- $2
- Output
- $10
- Cached
- $0.20
per 1M tokens
Price checked 2026-11-12
How this is calculated
Claude Sonnet 5 is priced at $2.00 per million input tokens and $10.00 per million output tokens, 33% cheaper than Claude Sonnet 4.6's $3.00/$15.00 across the board. It supports a prompt caching discount of 90% ($0.20 per million) and a batch discount of 50% ($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, below 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 33% 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 toolPower Cost Estimator
Estimate annual electricity costs for your PC, Server, or TV.
Use toolData Transfer Calculator
Estimate transfer times for files over USB, WiFi, Ethernet, and more.
Use toolJSON Formatter
Validate, format, and minify JSON. Browse it as a tree, run JSONPath queries, compare two documents, or validate against a JSON Schema.
Use tool