Skip to content
LLMs
Anthropic logo

Anthropic: Claude Sonnet 4

by Anthropic

Anthropic: Claude Sonnet 4 is a large language model from Anthropic. It costs $3.00 per million input tokens and $15.00 per million output tokens. Its context window is 1M tokens.

ReasoningTool callingPrompt cachingimage inputfile input
Input / 1M tokens
$3.00
Output / 1M tokens
$15.00
Cached input / 1M
$0.300

On repeated prefixes

Context window
1M

tokens

This model also charges $0.01 per search request

That is $10.00 per 1,000 requests, billed on top of the token prices above. On a typical 1,000-in / 500-out exchange the tokens cost $0.01, so the search fee is 95% on top. Per-token rankings elsewhere ignore this entirely.

Who serves it cheapest

2 hosts serve Claude Sonnet 4. Same weights, same API - the price difference is pure margin and routing.

Providers serving Anthropic: Claude Sonnet 4, cheapest first
ProviderInput / 1MOutput / 1MContextThroughputUptime 24h
Amazon BedrockCheapest$3.00$15.00200K-98.8%
Google$3.00$15.001M-100.0%

The spread between Amazon Bedrock and Google is about the same for identical weights. Quantization and context limits differ, so check both columns before switching.

Benchmarks

Independent scores published alongside the catalogue.

Coding index
37.6

About Claude Sonnet 4

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 SWE-bench (72.7%),...

Specifications

Anthropic: Claude Sonnet 4 specifications
Model IDanthropic/claude-sonnet-4
ProviderAnthropic
Context window1M tokens
Max output64K tokens
Input modalitiesimage, text, file
Output modalitiestext
Knowledge cutoff2025-01-31
Open weightsNo
ReleasedMay 22, 2025

Cheaper alternatives

Models that cost less than Claude Sonnet 4 while keeping at least half its context window and every input modality it supports.

Frequently asked

How much does Anthropic: Claude Sonnet 4 cost?

$3.00 per million input tokens and $15.00 per million output tokens. Cached input reads cost $0.300 per million tokens.

What is the context window of Anthropic: Claude Sonnet 4?

1M tokens, with up to 64K tokens of output per request.

Does Anthropic: Claude Sonnet 4 have extra fees beyond per-token pricing?

Yes. Anthropic: Claude Sonnet 4 charges $0.01 per search request - $10.00 per 1,000 requests - on top of $3.00 per million input tokens and $15.00 per million output tokens. On a typical 1,000-input / 500-output exchange the search fee alone is 95% on top.

Which provider serves Anthropic: Claude Sonnet 4 cheapest?

Amazon Bedrock at $3.00 per million input tokens - about the same cheaper than Google, the most expensive of the 2 hosts serving it.

Confirm against the source: Anthropic official pricing.