Claude Sonnet 5
Pricing & Specs

Anthropic · $3 input / $15 output per 1M tokens · 1M context window

$3
per 1M input tokens
$15
per 1M output tokens
1M
context window (tokens)

The per-token price never tells the full story. A typical task (1K input + 500 output tokens) on Claude Sonnet 5 costs about $0.0105 — roughly $10.50 per 1,000 runs. But if it needs 3x the tokens of a cheaper model to match quality on YOUR task, the economics flip. The only way to know is to benchmark it on your actual workload.

Claude Sonnet 5 API Pricing

TokensPrice
Input$3 / 1M tokens
Output$15 / 1M tokens
Cached input$0.3 / 1M tokens

50% discount available for batch API requests. Cache writes and cache hits or refreshes are billed separately.

What that means in practice

1x One typical task (1K input + 500 output tokens): $0.0105
1K 1,000 runs of that task: $10.50
💡 Real cost depends on how verbose the model is on YOUR prompts — benchmark to measure actual tokens, not estimates.

Claude Sonnet 5 Specs

SpecValue
Context window1M tokens
Max output tokens128K tokens
Input modalitiestext, image
Output modalitiestext
Reasoning modelYes
Tool / function callingYes
JSON modeYes
StreamingYes
Prompt cachingYes
Batch APIYes

Notes

Adaptive thinking on by default. New tokenizer produces ~30% more tokens than Sonnet 4.6. Temperature/top_p/top_k not supported.

FAQ

How much does Claude Sonnet 5 cost?

Claude Sonnet 5 costs $3 per 1M input tokens and $15 per 1M output tokens ($0.3 per 1M cached input tokens).

What is Claude Sonnet 5's context window?

Claude Sonnet 5 has a 1M-token context window. Maximum output is 128K tokens.

Can I test Claude Sonnet 5 on my own task?

Yes. OpenMark lets you benchmark Claude Sonnet 5 against 100+ models on your own task with real API calls — no API keys needed, free tier available.

Is Claude Sonnet 5 the right model for YOUR task?

Pricing tables can't answer that. Benchmark it against 100+ models
on your actual workload — real API calls, real costs. Free tier available.

Benchmark Claude Sonnet 5 — Free →