Model

Claude Sonnet 4

Anthropic pricing data current as of 2026-09-03.

Pricing

/ 1M tokens

$3.00 input · $0.30 cached input · $3.75 cache write · $15.00 output

Batch discount

50%

Model details

Provider

Anthropic

Family

claude

Model ID

claude-sonnet-4

Availability

Retired

Access

Direct API

Supports

text · image · file

Context window

1,000,000

Max output

64,000

Recommended for

Recent updates

Added to the model directory.

2026-09-03