Claude Sonnet 4 pricing & specs

Anthropic · released 2025-05-22 · ● verified 2026-11-29 · deprecated

This model is deprecated. Cheapest compatible replacement: Gemini 2.5 Flash-Lite.

input / 1M$3.00via Google Vertex AI
output / 1M$15.00via Google Vertex AI
context200K
max output64K

Claude Sonnet 4 is an Anthropic model released on 2025-05-22. At $3.00 per million input tokens and $15.00 per million output tokens, its blended price of $6.00 per 1M tokens is lower than 10% of the 178 models we track. It offers text, image and pdf input, a 200K-token context window, built-in reasoning and tool calling.

// price history ($/1M tokens)

$17.25
input $/1Moutput $/1M2025-05-22 → 2026-11-29

Tracks the selected provider’s quote, which may change providers over time.

// cheaper or similar alternatives

modelinoutctxvs Claude Sonnet 4
Gemini 2.5 Flash-Lite$0.10$0.401.05M−97.1%
Claude Haiku 5.5$0.10$0.501M−96.7%
Muse Ember$0.10$0.501.05M−96.7%
GPT-6 Luna$0.10$0.501.05M−96.7%
GLM-5.3-Flash$0.15$0.501M−96%

// price by host

hostin $/1Mout $/1M
Google Vertex AI$3.00$15.00

// embed this price badge

Show the live price of Claude Sonnet 4 in your README or docs (updated daily):

Claude Sonnet 4 API price badge
[![Claude Sonnet 4 price](https://aisignals.dev/badge/anthropic/claude-sonnet-4-20250514.svg)](https://aisignals.dev/models/anthropic/claude-sonnet-4-20250514)

// faq

How much does Claude Sonnet 4 cost?

Claude Sonnet 4 costs $3.00 per million input tokens and $15.00 per million output tokens (cheapest tracked host: Google Vertex AI). At 50M input and 10M output tokens per month that is about $300.

What is the context window of Claude Sonnet 4?

200K tokens, with up to 64K output tokens per request.

Does Claude Sonnet 4 support prompt caching?

Yes. Cached input tokens cost $0.30 per million and cache writes cost $3.75 per million.

What are cheaper alternatives to Claude Sonnet 4?

Gemini 2.5 Flash-Lite ($0.10 in / $0.40 out), Claude Haiku 5.5 ($0.10 in / $0.50 out), Muse Ember ($0.10 in / $0.50 out) offer the same input types and capabilities for less.

// spec sheet

input / 1M
$3.00
output / 1M
$15.00
cache read / 1M
$0.30
cache write / 1M
$3.75
blended (3:1)
$6.00
context
200K
max output
64K
input types
text · image · pdf
reasoning
yes
tool calling
yes
structured output
no
open weights
no
knowledge cutoff
2025-03-31
price source
Google Vertex AI

report a data error

// cost calculator

modelin $/1Mout $/1M= monthly
Gemini 2.5 Flash-Lite$0.10$0.40$9.00
Claude Haiku 5.5$0.10$0.50$10.00
Muse Ember$0.10$0.50$10.00
Claude Sonnet 4$3.00$15.00$300

Base-tier list prices. Long-context tiers, caching and batch discounts are not included.