claude-sonnet-4-0

On this page
  1. Standard price history

Anthropic model claude-sonnet-4-0. Prices are in US dollars per million tokens. Current price, since 2025-06-04: input $3.00, output $15.00, cached input $0.30, cache write $3.75. Matches Anthropic's pricing page, checked 2026-10-22 21:28 UTC. Price a request with this model.

Standard price history#

FromInputCached inputCache writeOutputLonger promptsDated bySource
2025-06-04$3.00$0.30$3.75$15.00documentedlink
2025-06-04, first record$3.00$15.00models.dev commitlink

A blank cache price is charged at the input price. Longer prompts list the prices for requests whose whole prompt exceeds the size given.

import model_prices

model_prices.rates("claude-sonnet-4-0", provider="anthropic")