softwareestimator.com

Claude Sonnet 5 API pricing

Anthropic · anthropic/claude-sonnet-5 · synced November 22, 2026

Claude Sonnet 5 costs $2 per million input tokens and $10 per million output tokens, with cached input at $0.20 and a batch tier at $1/$5 (November 2026). For a developer using it as a daily coding agent, that works out to roughly $13–$434 a month, and building a SaaS MVP with it lands around $33–$1,084 in tokens.

Input
$2 / 1M
Output
$10 / 1M
Cache read
$0.20 / 1M
Batch
$1 / $5
Context
1M tokens
Max output
128k tokens
Released
Jun 2026
Tools / reasoning
tools · reasoning

What it costs in practice

A month of AI coding

One developer running a coding agent daily, 20M–200M tokens.

Low
$13
20M tokens
Expected
$72
60M tokens
High
$434
200M tokens

Building a SaaS MVP

Stripe billing, OAuth, webhooks: the estimator's SaaS preset.

Low
$33
50M tokens
Expected
$180
150M tokens
High
$1,084
500M tokens

Assumptions are on the methodology page. Price your own project →

Similar cost, other providers

Model Provider Input /1M Output /1M Cache read Context Coding month* Released
GPT-6 Sol Pro OpenAI $2 $10 $0.20 1.1M $13–$434 Sep 2026
GPT-6 Sol OpenAI $2 $10 $0.20 1.1M $13–$434 Sep 2026
Grok 4.7 xAI $2 $6 $0.50 500k $16–$364 Sep 2026
Grok 4.6 xAI $2 $6 $0.50 500k $16–$364 Aug 2026
GPT-6.2 Sol Pro OpenAI $2 $10 $0.10 1.1M $12–$425 Nov 2026
GPT-6.2 Sol OpenAI $2 $10 $0.10 1.1M $12–$425 Nov 2026

Other Anthropic models

Model Input /1M Output /1M Cache read Context Coding month* Released
Claude Fable 5.2 $8 $40 $0.20 1M $43–$1,682 Nov 2026
Claude Haiku 5.5 $0.10 $0.50 $0.01 1M $0.67–$22 Oct 2026
Claude Sonnet 5.5 $2 $10 $0.10 1M $12–$425 Sep 2026
Claude Opus 5.5 $4 $20 $0.20 1M $31–$1,147 Sep 2026
Claude Fable 5.1 $10 $50 $0.25 1M $54–$2,102 Sep 2026
Claude Opus 5 $5 $25 $0.50 1M $45–$1,463 Jul 2026
Claude Fable 5 $10 $50 $1 1M $67–$2,168 Jun 2026
Claude Opus 4.8 $5 $25 $0.50 1M $45–$1,463 May 2026

Frequently asked questions

How much does Claude Sonnet 5 cost?

Claude Sonnet 5 costs $2 per million input tokens and $10 per million output tokens, with cached input at $0.20 and a batch tier at $1/$5 (November 2026). For a developer using it as a daily coding agent, that works out to roughly $13–$434 a month, and building a SaaS MVP with it lands around $33–$1,084 in tokens.

Is Claude Sonnet 5 cheaper than similar models?

The closest models by real coding cost are GPT-6 Sol Pro (OpenAI, $2/$10), GPT-6 Sol (OpenAI, $2/$10), Grok 4.7 (xAI, $2/$6). Per-token price is only half the story: a model that needs fewer retries can cost less overall.

Why is the estimate a range?

Agentic coding spend varies more than 10× between runs of the same task. Cache hit rate, retries and how much log output goes back into context decide where you land, so we show low, expected and high rather than one number.

Prices are OpenRouter list prices from openrouter.ai/models, which normally match Anthropic's own. Estimates are for planning, not quotes.