Anthropic: Claude-Sonnet-4
Claude-Sonnet-4 is a reasoning model from Anthropic released on Jan 1, 2024. It reads text, images and files and writes text, with a 983K token context window and up to 64K tokens per reply.
Show moreShow less
It costs $3 per million input tokens and $15 per million output tokens. Cached input bills at $0.30, 90% less than fresh input.
It supports tool calling, structured JSON output and prompt caching.
11 providers serve it, including Vercel AI Gateway, Poe and Jiekou.AI. The lowest input price is $2.60 per million tokens at Poe.
- Modalities
- In / out price
- $3 / $15 per 1M
- Context
- 983K
- Max output
- 64K
- Released
- Jan 1, 2024
- Knowledge cutoff
- n/a
- Tool calling
- Structured output
- Reasoning
- Prompt caching
- Open weights
- Free to use
Claude-Sonnet-4 pricing
USD, as listed on Oct 15, 2026. Most bills are input heavy, so the cached input rate matters as much as the headline price.
| Input | $3 / 1M tokens | |
|---|---|---|
| Output | $15 / 1M tokens | |
| Cached input (read) | $0.30 / 1M tokens | 90% off input |
Claude-Sonnet-4 providers
11 providers serve it, including Vercel AI Gateway, Poe and Jiekou.AI. The lowest input price is $2.60 per million tokens at Poe. Each host sets its own price and limits, so the cheapest one is not always the one with the longest context.
| Provider | Input /M | Output /M | Cache read /M | Context | Max output |
|---|---|---|---|---|---|
| Vercel AI Gateway | $3 | $15 | $0.30 | 1M | 64K |
| Poe | $2.60 | $13 | $0.26 | 983K | 64K |
| Jiekou.AI | $2.70 | $13.50 | – | 200K | 64K |
| Abacus | $3 | $15 | – | 200K | 64K |
| FastRouter | $3 | $15 | $0.30 | 200K | 64K |
| Helicone | $3 | $15 | $0.30 | 200K | 64K |
| Kilo Gateway | $3 | $15 | $0.30 | 200K | 64K |
| Merge Gateway | $3 | $15 | $0.30 | 200K | 64K |
| NanoGPT | $3 | $15 | $0.30 | 1M | 64K |
| SAP AI Core | $3 | $15 | $0.30 | 200K | 64K |
| ZenMux | $3 | $15 | $0.30 | 1M | 64K |
What Claude-Sonnet-4 costs per month
Pick a workload close to yours or type your own volumes.
Supported request parameters
What you can set when you call Claude-Sonnet-4 through an OpenAI compatible API.
- Tools
tools - Structured outputs
structured_outputs - Reasoning
reasoning
Alternatives to Claude-Sonnet-4
Models that take the same inputs and call tools, closest in price, cheaper ones first.
- 1M context
Reads text, images and files. Tool calling, structured output, reasoning. Served by 48 providers.
by anthropicFeb 5, 2026$3/M input tokens$15/M output tokens48 providers
- 200K context
Reads text, images and files. Tool calling, structured output, reasoning. Served by 33 providers.
by anthropicJan 15, 2025$3/M input tokens$15/M output tokens33 providers
- Index 42.1
Reads text, images and files. Tool calling, structured output, reasoning. Served by 38 providers.
by openaiJul 9, 20261.05M context$2/M input tokens$12/M output tokens38 providers
- Index 29.7
Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 31 providers.
by googleFeb 18, 20261.05M context$2/M input tokens$12/M output tokens31 providers
- 1M context
Reads text, images and files. Tool calling, structured output, reasoning. Served by 2 providers.
by anthropicMay 22, 2025$3/M input tokens$15/M output tokens2 providers
- Index 51.8
Reads text, images and files. Tool calling, structured output, reasoning. Served by 27 providers.
by openaiSep 29, 20261.05M context$2/M input tokens$10/M output tokens27 providers
More from Anthropic
- Index 43.4
Reads text, images and files. Tool calling, structured output, reasoning. Served by 26 providers.
by anthropicOct 7, 20261M context$0.10/M input tokens$0.50/M output tokens26 providers
- Index 56
Reads text, images and files. Tool calling, structured output, reasoning. Served by 26 providers.
by anthropicSep 26, 20261M context$2/M input tokens$10/M output tokens26 providers
- Index 57.6
Reads text, images and files. Tool calling, structured output, reasoning. Served by 28 providers.
by anthropicSep 18, 20261M context$4/M input tokens$20/M output tokens28 providers
- Index 53.4
Reads text, images and files. Tool calling, structured output, reasoning. Served by 29 providers.
by anthropicAug 29, 20261M context$10/M input tokens$50/M output tokens29 providers
- 1M context
Reads text, images and files. Tool calling, structured output, reasoning. Served by 35 providers.
by anthropicJul 23, 2026$5/M input tokens$25/M output tokens35 providers
- 1M context
Reads text, images and files. Tool calling, structured output, reasoning. Served by 38 providers.
by anthropicJun 29, 2026$2/M input tokens$10/M output tokens38 providers
Claude-Sonnet-4 questions
How much does the Claude-Sonnet-4 API cost?
$3 per million input tokens and $15 per million output tokens, with cached input at $0.30. The estimator on this page turns that into a monthly bill for your own workload.
What is the context window of Claude-Sonnet-4?
983,040 tokens of input, and it can write up to 64,000 tokens in one reply. As a rough guide, a million tokens is around 750,000 English words.
Which providers serve Claude-Sonnet-4?
11 providers serve it, including Vercel AI Gateway, Poe and Jiekou.AI. The lowest input price is $2.60 per million tokens at Poe. Prices differ by host, so the Providers table on this page lists each one with its input and output price.
Does Claude-Sonnet-4 support tool calling?
Yes. It accepts tool definitions and can return JSON that matches a schema, which is what an agent needs to call your APIs.
Is Claude-Sonnet-4 open source?
No. Anthropic serves it through an API only, so you cannot download the weights or host it yourself.
When was Claude-Sonnet-4 released?
Jan 1, 2024.
Catalog data from models.dev (MIT licensed), refreshed daily, last on Oct 15, 2026. The summary is written from these facts.
Building on Claude-Sonnet-4?
I test your real tasks on it and the two closest alternatives, then ship the agent on whichever wins on cost and accuracy.
Book Meeting