Home/Claude API/Claude Sonnet 4

Claude Sonnet 4 Pricing Calculator

Anthropic's 2025 balanced model. One typical prompt costs $0.0090 (0.9¢) on Claude Sonnet 4. Paste your own prompt below to compare it with other models.

Claude Sonnet 4 was retired from the Anthropic API on June 15, 2026. Prices shown are the last published rates. Anthropic names Claude Sonnet 4.6 as the replacement.

See Claude Sonnet 4.6 pricing.

Input Price
$3.00
per 1M tokens
Output Price
$15.00
per 1M tokens
Cached Input
$0.30
per 1M tokens
Context Window
200K
Anthropic · May 22, 2025

Source: Anthropic official pricing · verified October 2026. Last published rate; retired June 15, 2026.

0input tokens
Estimated (~4 chars/token)

How many tokens you expect the model to generate per response

Showing a typical prompt (500 input + 500 output tokens) across 27 models. Paste your own prompt above for an exact count.

ModelPer PromptPrompts / $1Monthly
Anthropic$0.00900.9¢111$27.00
OpenAI$0.0003000.03¢3,333$0.9000
Mistral$0.0003750.037¢2,666$1.13
OpenAI (via Together)$0.0003750.037¢2,666$1.13
OpenAI$0.0007000.07¢1,428$2.10
DeepSeek$0.0007500.075¢1,333$2.25
Meta (via Together)$0.0009250.092¢1,081$2.77
Mistral$0.00100.1¢1,000$3.00
Google$0.00140.14¢714$4.20
xAI$0.00190.19¢533$5.63
Google$0.00220.22¢444$6.75
DeepSeek$0.00260.26¢378$7.92
Meta$0.00270.27¢363$8.25
Anthropic$0.00300.3¢333$9.00
xAI$0.00400.4¢250$12.00
Alibaba (Qwen)$0.00400.4¢250$12.00
Mistral$0.00450.45¢222$13.50
OpenAI$0.00600.6¢166$18.00
OpenAI$0.00600.6¢166$18.00
Anthropic$0.00600.6¢166$18.00
OpenAI$0.00700.7¢142$21.00
Google$0.00700.7¢142$21.00
Moonshot AI$0.00900.9¢111$27.00
OpenAI$0.012083$36.00
Anthropic$0.012083$36.00
OpenAI$0.030033$90.00
Anthropic$0.030033$90.00

Prices from official provider pricing pages, verified October 2026.

Claude Sonnet 4 Specs & Pricing
Input price$3.00 / 1M
Output price$15.00 / 1M
Cached input$0.30 / 1M
Typical prompt$0.0090
Batch discountNone
Context window200K tokens
Max outputNot published
Knowledge cutoffNot published
Input typesText, Images
Reasoning modeOptional
Open weightsNo
ReleasedMay 22, 2025
StatusRetired

Claude Sonnet 4 — Frequently Asked Questions

Claude Sonnet 4 was retired from the Anthropic API on June 15, 2026. Prices shown are the last published rates. Anthropic names Claude Sonnet 4.6 as the replacement.

A typical prompt of 500 input tokens with a 500-token answer costs $0.0090 (0.9¢) on Claude Sonnet 4. That means $1 buys about 111 prompts. Longer prompts and answers cost proportionally more.

With 500 input and 500 output tokens per request, Claude Sonnet 4 costs $9.00 per 1,000 requests. Input tokens are $3.00 per million and output tokens $15.00 per million.

Claude Sonnet 4 costs the same per prompt as Kimi K3. Claude Sonnet 4 costs $3.00/$15.00 per million tokens (input/output) vs Kimi K3's $3.00/$15.00.

Claude Sonnet 4 accepts text and images and has an optional reasoning (thinking) mode. Its context window is 200K tokens.

Claude Sonnet 4 supports 200K tokens (200,000) — the maximum combined length of your prompt and the model's answer in one request.

At 10,000 requests per day with 500 input + 500 output tokens each, Claude Sonnet 4 costs about $2,700.00/month. Use the calculator above with your real prompt and volume.