by Anthropic

Anthropic: Claude Sonnet 4.

multimodal closed 1M ctx
Cheapest input
$3.0/M
on Anthropic API
Cheapest output
$15.0/M
on Anthropic API
Fastest
36 tok/s
on OpenRouter
Hosted equiv.
~$5.4/hr
@ 100 tok/s on Anthropic API

Claude Sonnet 4 significantly enhances the capabilities of its predecessor, Sonnet 3.7, excelling in both coding and reasoning tasks with improved precision and controllability. Achieving state-of-the-art performance on

Hosted API only

No self-host path — closed weights.

Anthropic: Claude Sonnet 4's weights aren't published. Use it via the access providers below.

Where to use it

Cheapest hosted endpoints.

Provider Access $/M in $/M out
Anthropic API api direct $3.0 $15.0 Launch ↗
OpenRouter api aggregator $3.0 $15.0 Launch ↗
Performance

Speed across providers.

Tokens/sec and time-to-first-token measured against the same prompt template on each provider's API.

Provider Tokens/sec TTFT Total
OpenRouter 36.4 1911 ms 4121 ms
FAQ

Frequently asked.

How do I run Anthropic: Claude Sonnet 4?
Anthropic: Claude Sonnet 4 is a closed-source API model. The cheapest way to access it is through the API providers listed on this page (direct API, aggregators, and hosted chat UIs).
Where can I access Anthropic: Claude Sonnet 4?
Anthropic: Claude Sonnet 4 is available via Anthropic API, OpenRouter. Each access option lists its own pricing (per million tokens or hourly hosting).
How much does it cost to run Anthropic: Claude Sonnet 4?
API pricing starts at $3.0/M input tokens and $15.0/M output tokens. Self-hosting cost depends on the GPU you rent — see the Run It Yourself tab.
Is Anthropic: Claude Sonnet 4 open-source or proprietary?
Anthropic: Claude Sonnet 4 is a proprietary model from Anthropic. Access is API-only — there are no public weights to download.