← All models

Anthropic

claude-sonnet-4.6

anthropic/claude-sonnet-4.6

Price per million tokens

Input
$3.798
Output
$18.990
Cache write
$4.747
Cache read
$0.380

What you pay. It is what the tokens cost us to buy plus 20%, and your usage page shows what we paid beside what you paid on every request you send.

Limits

Context window
1,000,000 tokens
Max output
128,000 tokens
Images
supported

What it costs to run

WorkloadInputOutputCostPer 1,000 calls
Short chat turn1,000500$0.0133$13.29
Long document summary50,0002,000$0.2279$227.88
Agent step with tools20,0001,500$0.1044$104.44
1M in, 1M out1,000,0001,000,000$22.7880$22788.00

Calling it

const res = await client.chat.completions.create({
  model: "anthropic/claude-sonnet-4.6",
  messages: [{ role: "user", content: "Hello" }],
});