Claude Sonnet 5 API Cost Calculator

Anthropic's Claude Sonnet 5: $2/M input · $10/M output · $0.2/M cached input. Price your own workload below.

Introductory pricing; rises to $3 in / $15 out from 1 Sep 2026.

Presets:

What Claude Sonnet 5 costs in practice

WorkloadInputOutputCost
Short chat message500250$0.0035
10-page document + summary7,000500$0.019
Agent / coding session50,00010,000$0.200
1M tokens in + 1M out1,000,0001,000,000$12.00

Claude Sonnet 5 vs nearest rivals

Closest-priced alternatives on a mixed 10K-input / 2K-output request:

ModelInput $/MTokOutput $/MTokMixed request
Claude Sonnet 5$2$10$0.040
o3$2$8$0.036
GPT-5.6 Terra$2$12$0.044
Gemini 3.1 Pro Preview$2$12$0.044

Frequently asked questions

How much does the Claude Sonnet 5 API cost?

Claude Sonnet 5 costs $2 per million input tokens and $10 per million output tokens, with cached input at $0.2 per million (90% off). Note: Introductory pricing; rises to $3 in / $15 out from 1 Sep 2026.

How much does a typical chat message cost with Claude Sonnet 5?

A short chat message (about 500 input and 250 output tokens) costs roughly $0.0035 with Claude Sonnet 5. At 1,000 such requests a day, that is about $105.00 per month.

Is Claude Sonnet 5 cheap compared to similar models?

Claude Sonnet 5 has the #17 cheapest input rate of the 26 models we track. On a mixed workload (10K input / 2K output), it costs $0.040 per request, versus $0.036 for o3 and $0.044 for GPT-5.6 Terra.

Related

Compare all models at once ·Count tokens in your prompt

Last updated 2026-08-03. Prices verified againstAnthropic's official pricing page; see themethodology.