← Model list

Claude Sonnet 4 (latest)

anthropic·anthropic/claude-sonnet-4-0·GA·Closed·claude-sonnet series

Balanced Claude model for coding, analysis, agent workflows, and cost control

At a glance
Reference price$3.00 / $15.00 per 1M
Cache read $0.30 · GitHub Copilot
Lowest paid$2.90 / $14.49
Cortecs Gateway · 1× spread
Context216,000
⚠ Providers report 200,000–216,000; the table below is authoritative
Output limit16,000
Capabilities
ReasoningTool useStructured outputTemperatureAttachments
Modalities
TextImagePDF
Knowledge cutoff2025-03-31
Released / updated2025-05-22 / 2025-05-22

Quality & performance

Artificial Analysis doesn't cover this model (267 of 2059 have data). Quality data comes from independent evals covering widely used models.

Available at 3 providers3 with public prices

ProviderTierInputOutputCache readCache writeContextOutput limitStatus
Cortecs
claude-sonnet-4
Gateway$2.90$14.49$0.29$3.62200,000200,000
OrcaRouter
anthropic/claude-sonnet-4
Gateway$3.00$15.00$0.30$3.75200,00064,000
GitHub Copilot
claude-sonnet-4
Cloud$3.00$15.00$0.30$3.75216,00016,000

Sorted by blended price (input×0.75 + output×0.25) asc. The official channel always shows regardless of rank. Whether a gateway's low price is actually usable can't be verified.

Your usage cost

1Cortecs$991.29
2OrcaRouter$1,026.00
3GitHub Copilot$1,026.00
The cheapest paid channel is the only channel.

Benchmark2 items

NameConditionsScoreMetricSource
Aider Polyglot61.3percent correctSource ↗
SWE-Bench Prodataset: public42.7resolve rateSource ↗

The same benchmark scores very differently across harness / dataset, so the qualifying conditions must be shown together.

Reasoning control

effort = loweffort = mediumeffort = highbudget_tokens ≥ 1,024

2 / 3 providers expose no reasoning control (reasoning_options: []).

Related models

Price historyone sample accumulated per data sync

Input listOutput listMin blended
$15.00$02026-08-052026-08-132026-08-05 · Input list $3.002026-08-06 · Input list $3.002026-08-07 · Input list $3.002026-08-08 · Input list $3.002026-08-09 · Input list $3.002026-08-10 · Input list $3.002026-08-11 · Input list $3.002026-08-12 · Input list $3.002026-08-13 · Input list $3.002026-08-05 · Output list $15.002026-08-06 · Output list $15.002026-08-07 · Output list $15.002026-08-08 · Output list $15.002026-08-09 · Output list $15.002026-08-10 · Output list $15.002026-08-11 · Output list $15.002026-08-12 · Output list $15.002026-08-13 · Output list $15.002026-08-05 · Min blended $6.002026-08-06 · Min blended $6.002026-08-07 · Min blended $6.002026-08-08 · Min blended $6.002026-08-09 · Min blended $5.802026-08-10 · Min blended $5.802026-08-11 · Min blended $5.802026-08-12 · Min blended $5.802026-08-13 · Min blended $5.80