claude-sonnet-4 API pricing

Checked 12 Sept 2026 LLMs
$ per 1M input $3.00
$ per 1M output $15.00

Blended at 3:1 input to output: $6.00 per million tokens.

OpenRouter charges $3.00 per million input tokens and $15.00 per million output tokens. 3 of the models nearest it in price are cheaper on a blended basis.

$3.00
$/1M input
$15.00
$/1M output
$0.300
$/1M cached in
1,000,000
Context window
$450.00
1k req/day, monthly

Against the models nearest in price

Blended at a 3:1 input to output ratio.

Calculator →
claude-sonnet-4 against comparable models — checked 12 Sept 2026
Source
claude-sonnet-4 This model OpenRouter $3.00 $15.00 1,000,000 $6.00

Last checked . Methodology

Questions

How much does claude-sonnet-4 cost per million tokens?

$3.00 per million input tokens and $15.00 per million output tokens, with cached input at $0.300. At a 3:1 input to output mix that blends to $6.00. Checked 12 Sept 2026.

What would claude-sonnet-4 cost for a real workload?

A thousand requests a day at 2,000 input and 600 output tokens each comes to $450.00 a month.

What is the context window for claude-sonnet-4?

1,000,000 tokens of input, with up to 64,000 tokens of output.

claude-sonnet-4-5 · claude-sonnet-4-6 · mistral-large-2402 · claude-sonnet-4.5 · claude-sonnet-4.6 · All OpenRouter models · Cost calculator