ModelsAnthropic

Claude Sonnet 4

Context

1M

tokens

Released

May 22, 2025

on OpenRouter

Token share

0.4%

OpenRouter · Apr 29, 2026

Pricing

Price per million tokens

Input $/MTok

$3.00

OpenRouter · Jul 8, 2026

Output $/MTok

$15.00

OpenRouter · Jul 8, 2026

Cache read $/MTok

$0.3

OpenRouter

Cache write $/MTok

$3.75

OpenRouter

Current Claude Sonnet 4 prices per million tokens across tracked sources.
SourceTracked slugIn $/MTokOut $/MTokCache readCache writeContextEffectiveLast Δ (in)
OpenRouteranthropic/claude-sonnet-4$3.00$15.00$0.3$3.751MJul 8, 2026
models.devnano-gpt/claude-sonnet-4-20250514$2.99$14.99200KJul 8, 20260.3%
llm-prices.comclaude-sonnet-4.5-200k$6.00$22.50Jul 8, 2026100%

latest tracked price per source · Δ = most recent input-price move within that source

3 sources tracking

Input $/MTok

Output $/MTok

per-source step lines · $/MTok

history since Jan 1, 2023

Specs

Context & availability

Claude Sonnet 4 specifications.
ProviderAnthropic
Context window1M tokens
Listed on OpenRouterMay 22, 2025
Tracked price sourcesllm-prices.com · OpenRouter · models.dev
OpenRouter slugsanthropic/claude-sonnet-4 · anthropic/claude-4-sonnet-20250522

source: OpenRouter model catalog + tracked price feeds

id: claude-sonnet-4

Usage

Share of OpenRouter tokens

90-day · to Apr 29, 2026

source: OpenRouter model rankings · share of tracked coding-token volume

0.4% on Apr 29, 2026

Benchmarks

Benchmark results

Benchmark scores for Claude Sonnet 4.
BenchmarkConfigurationScoreDateSource
Aider Polyglotclaude-sonnet-4-20250514 (no thinking)56.4%May 24, 2025aider-repo
Aider Polyglotclaude-sonnet-4-20250514 (32k thinking)61.3%May 24, 2025aider-repo
AA Intelligence Indexanthropic/claude-sonnet-428.9indexor-embedded-aa
AA Coding Indexanthropic/claude-sonnet-437.6indexor-embedded-aa
AA Agentic Indexanthropic/claude-sonnet-416.6indexor-embedded-aa

scores as published by each benchmark; configurations differ — compare within a row's benchmark only

latest result May 24, 2025

Alternatives

Similar models

Alternatives to Claude Sonnet 4 by OpenRouter usage-rank proximity.
#ModelTokens/day7d ΔHead-to-head
1
Hy3Tencent
857.5Bvs Claude Sonnet 4
2806.2B6.6%vs Claude Sonnet 4
3
MiniMax M3MiniMax
665.9B9.8%vs Claude Sonnet 4
5530.6B50.5%vs Claude Sonnet 4

ranked by OpenRouter usage-rank proximity

snapshot Jul 7, 2026

FAQ

Claude Sonnet 4 FAQ

How much does Claude Sonnet 4 cost per token?
Claude Sonnet 4 is priced at $3.00 per million input tokens and $15.00 per million output tokens, per OpenRouter as of Jul 8, 2026.
What is Claude Sonnet 4's context window?
Claude Sonnet 4 supports a context window of up to 1M tokens, per Anthropic.
How widely used is Claude Sonnet 4?
Claude Sonnet 4 accounts for about 0.4% of tracked OpenRouter coding-token volume as of Apr 29, 2026.
What are the alternatives to Claude Sonnet 4?
By OpenRouter usage, comparable models include Hy3, DeepSeek V4 Flash, and MiniMax M3. Side-by-side comparisons are linked in the alternatives table.
Alerts

Track Claude Sonnet 4

Email me when Claude Sonnet 4's price moves or it gets deprecated.

price moves, plan changes, and the weekly tape. no spam.