Anthropic

AClaude Sonnet 5API

Claude Sonnet 5 (Anthropic): live API pricing, context window and the best open-source alternatives, tracked daily by OpenSourceAI.tech.

Context window
1M
tokens
Input price
$2
per M tokens
Output price
$10
per M tokens
Provider
Anthropic

Prices update automatically — checked hourly against provider list prices.

See open-source alternatives → Compare all model prices

Benchmarks & performance

Independent benchmark scores for Claude Sonnet 5, measured by Artificial Analysis. Higher is better. Measurement mode: Adaptive Reasoning, Max Effort.

Intelligence index53.4
Coding index71.5
GPQA91.1%
Humanity's Last Exam39.6%
Long Context Reasoning70.7%
SciCode53.6%
τ-Bench Banking28.2%
Terminal-Bench80.5%
⚡ Speed90.8 tokens/sec
⏱ Latency114.46s to first token
💰 Blended price$4 / 1M tokens
📈 Value13.4 intelligence points per $
Benchmark data by Artificial Analysis

About this model

Claude Sonnet 5 is a commercial AI model by Anthropic. The specifications below are tracked automatically: pricing is refreshed hourly from public list prices, so the numbers on this page reflect the current cost of using the model through its API.

Frequently asked questions

What is Claude Sonnet 5?

Claude Sonnet 5 is an AI language model from Anthropic. It is a proprietary model, available through an API. It scores 53.4 on the Artificial Analysis intelligence index.

Is Claude Sonnet 5 free?

Claude Sonnet 5 is not free: it costs $2 per million input tokens and $10 per million output tokens. Open-weight alternatives can be self-hosted at no per-token cost.

What is Claude Sonnet 5 good at?

Independent benchmarks from Artificial Analysis give it GPQA 91.1%, Humanity's Last Exam 39.6%, Long Context Reasoning 70.7%, SciCode 53.6%, τ-Bench Banking 28.2%, Terminal-Bench 80.5%. It is particularly used for code generation.

How fast is Claude Sonnet 5?

It generates about 90.8 tokens per second, with a median 114.46s delay before the first token. Measured independently by Artificial Analysis.

Open-source alternatives

Depending on your workload, an open-weight model that you can self-host may cut costs dramatically or remove per-token pricing entirely. Our comparison pages put this model side by side with the strongest open-source contenders.

Claude Fable 5AnthropicClaude Opus 4.8AnthropicClaude Opus 4.7AnthropicClaude Opus 5AnthropicClaude Opus 4.6AnthropicClaude Sonnet 4.6Anthropic