claude-sonnet-4-6 API pricing

Anthropic charges $3 per million input tokens and $15 per million output tokens for claude-sonnet-4-6, and $0.3 per million cached input tokens. A typical request of 1,000 input and 500 output tokens costs $0.0105, or $0.00525 through the batch API.

Prices updated October 28, 2026
Input / 1M tokens
$3
Output / 1M tokens
$15
Cached input / 1M tokens
$0.3
Typical request
$0.0105
Calculate the cost of your prompt →

claude-sonnet-4-6 price per million tokens

Token typeStandardBatch API
Input$3$1.5
Cached input$0.3$0.15
Output$15$7.5

claude-sonnet-4-6 supports a 1M-token context window, up to 128K output tokens, image input, tool calling and reasoning.

What claude-sonnet-4-6 costs per request

Request1 request1,000 requests1M requests
Short chat message (300 in, 200 out)$0.0039$3.90$3,900.00
Typical request (1K in, 500 out)$0.0105$10.50$10,500.00
Long document summary (20K in, 1K out)$0.075$75.00$75,000.00
Coding agent step (50K in, 2K out)$0.18$180.00$180,000.00

At standard rates. A token is about 4 characters of English text, so 1,000 tokens is roughly 750 words. Anthropic counts tokens with its own tokenizer, so the same text can be a different number of tokens.

Models with a similar price

ModelProviderInput / 1MCached input / 1MOutput / 1MTypical request
gpt-5.6-terraOpenAI$2$0.2$12$0.008
gemini-3.1-pro-previewGoogle Gemini$2$0.2$12$0.008
gpt-5.2OpenAI$1.75$0.175$14$0.00875
gpt-5.4OpenAI$2.5$0.25$15$0.01
claude-sonnet-4-5Anthropic$3$0.3$15$0.0105
gpt-5.6OpenAI$4$0.4$20$0.014
gpt-5.6-solOpenAI$4$0.4$20$0.014
claude-opus-5-5Anthropic$4$0.2$20$0.014

Other Anthropic models

Source: Anthropic pricing.