Anthropic

Claude 4 Sonnet API pricing

Made by Anthropic

4 provider routes, checked 27 Nov 2026. For a sample chat workload, the cheapest is Vercel AI Gateway at $2,790.00 a month; the dearest costs $3,960.00, 1.4× as much.

Input from
$3.00
Output from
$15.00
Context up to
200K tokens
Batch rates
None listed

Every route, cheapest first

Prices per 1M tokens. Month is the sample workload: 300,000 requests, 2,000 tokens in and 400 out per request, half the input cached. Cache writes are not counted.

ProviderInputOutputCache readCache writeBatch in / outContextMonth
Vercel AI GatewayLiteLLM$3.00$15.00$0.30$3.75—200K$2,790.00
SnowflakeLiteLLM$3.00$15.00$0.30$3.75—200K$2,790.00
ReplicateLiteLLM$3.00$15.00————$3,600.00
DeepInfraLiteLLM$3.30$16.50———200K$3,960.00

Other Claude models