DevCostLab
All model pricing

Anthropic · active

Claude Sonnet 5 Pricing

claude-sonnet-5

API pricing · USD per 1M tokens

Current input

$2.00

Current output

$10.00

Current cached input

$0.20

Context window

1,000,000

Current standard pricing: $2 input / $0.20 cache read / $10 output per MTok.

Cached-input rates cover cache hits or reads only; separate cache creation, write, or storage fees are not included unless explicitly stated.

Current API pricing effective Aug 7, 2026.

Claude Sonnet 5 API cost examples

1M input tokens

Two requests with 500K input tokens each

$2.00

1M output tokens

Ten requests with 100K output tokens each

$10.00

10M-token workload

20 requests: 400K input (100K cached) + 100K output

$32.40

These examples use the effective API rates shown above. Claude and Claude Code subscription plans are separate products and are not calculated from API token usage.