Claude API

Claude Sonnet API pricing per 1M tokens

Quick answer

Claude Sonnet 5.5 costs $2 per million input tokens and $10 per million output tokens, the same as Sonnet 5. The older Sonnet 4.5 and 4.6 cost more: $3 in and $15 out.

Checked (UTC) Anthropic's API pricing ↗

Prices checked by the AI Coding Prices team Sources How we check prices

Price per 1M tokens, and a 300-line code file reviewed (4,000 tokens in, 1,200 out)

ModelInput / 1MCached / 1MOutput / 1MOne code review
Claude Sonnet 5.5$2$0.10$10$0.020
Claude Sonnet 5$2$0.20$10$0.020
Claude Sonnet 4.6$3$0.30$15$0.030
Claude Sonnet 4.5$3$0.30$15$0.030

Standard tier list prices. The last column is the same 300-line review on every model, so you can compare like for like.

Good to know

Price a prompt on Sonnet 5.5

FAQ

How much does Claude Sonnet cost per million tokens?

Sonnet 5.5 costs $2 per 1M input tokens and $10 per 1M output tokens, with cached input at $0.10.

How much is Claude Sonnet 4.5 on the API?

$3 per 1M input tokens and $15 per 1M output tokens, the same as Sonnet 4.6.

Is there a free Claude Sonnet API tier?

Anthropic lists no free tier. Its pricing page says new API users get free credits to test the API.

Is Sonnet cheaper than Opus?

Yes. Sonnet 5.5 at $2 / $10 is half the price of Opus 5.5 per token.

Numbers come from each vendor's own pricing page. Vendors can change prices at any time, so check their page before you pay. How we count.