Skip to content

Anthropic: Claude Sonnet 4 provider comparison

anthropic/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%),...

Endpoints:
5
Context:
1M
Input:
image, text, file
Output:
text
Compare this model in a set →

At a glance

Comparison winners

Based on 1,000 input and 500 output tokens using the latest published median speed data.

Best cost/speed trade-off

Amazon Bedrockamazon-bedrock

$7 / 1M tokens

12.88 s estimated response

Cheapest

Google Vertexgoogle-vertex/global

$7 / 1M tokens

$0.0105 for the sample request

Fastest

Amazon Bedrockamazon-bedrock

12.88 s estimated response

$7 / 1M tokens

Visual comparison

Price and performance charts

Compare published endpoint pricing and estimated response time visually.

Effective price by endpoint

USD per 1 million tokens for input and output. Lower is better.

Google Vertex has the lowest estimated cost for 1,000 input and 500 output tokens at $0.0105.

Estimated cost vs. response time

Based on 1,000 input and 500 output tokens. Cost is shown in USD per 1 million tokens. Lower and further left is better; the single best cost/speed trade-off appears at full opacity.

3 providers have complete pricing and speed data. Amazon Bedrock is closest to the ideal combination of lowest cost and fastest response.

Server-rendered comparison

Provider endpoints

Prompt and completion prices are effective USD per token as published by OpenRouter. Missing speed data never removes an endpoint.

Endpoint comparison for Anthropic: Claude Sonnet 4
Provider / routeCurrent pricing ↗Speed measurementsEndpoint details
Provider / route
Google Vertexgoogle-vertex/global
Cheapest
Current pricing
Input price
$3 / 1M tokens
Output price
$15 / 1M tokens
Sample cost
$0.0105
Speed measurements
500-token response
14.26 s
Response starts
1.11 s
Output speed
38.0 tok/s
Endpoint details
Uptime (30 min)
100.00%
Context
1M
Model format
unknown
Max output
64K
8 parameters

include_reasoning, max_tokens, reasoning, stop, temperature, tool_choice, tools, top_p

Provider / route
Amazon Bedrockamazon-bedrock/eu-west-1
Current pricing
Input price
$3 / 1M tokens
Output price
$15 / 1M tokens
Sample cost
$0.0105
Speed measurements
500-token response
Insufficient recent data
Response starts
Insufficient recent data
Output speed
Insufficient recent data
Endpoint details
Uptime (30 min)
Insufficient recent data
Context
200K
Model format
unknown
Max output
64K
9 parameters

include_reasoning, max_tokens, reasoning, stop, temperature, tool_choice, tools, top_k, top_p

Provider / route
Amazon Bedrockamazon-bedrock
FastestBest cost/speed trade-off
Current pricing
Input price
$3 / 1M tokens
Output price
$15 / 1M tokens
Sample cost
$0.0105
Speed measurements
500-token response
12.88 s
Response starts
0.98 s
Output speed
42.0 tok/s
Endpoint details
Uptime (30 min)
99.98%
Context
200K
Model format
unknown
Max output
64K
9 parameters

include_reasoning, max_tokens, reasoning, stop, temperature, tool_choice, tools, top_k, top_p

Provider / route
Google Vertexgoogle-vertex/europe
Current pricing
Input price
$3 / 1M tokens
Output price
$15 / 1M tokens
Sample cost
$0.0105
Speed measurements
500-token response
17.42 s
Response starts
0.75 s
Output speed
30.0 tok/s
Endpoint details
Uptime (30 min)
Insufficient recent data
Context
1M
Model format
unknown
Max output
64K
8 parameters

include_reasoning, max_tokens, reasoning, stop, temperature, tool_choice, tools, top_p

Provider / route
Google Vertexgoogle-vertex
Current pricing
Input price
$3 / 1M tokens
Output price
$15 / 1M tokens
Sample cost
$0.0105
Speed measurements
500-token response
Insufficient recent data
Response starts
Insufficient recent data
Output speed
Insufficient recent data
Endpoint details
Uptime (30 min)
Insufficient recent data
Context
1M
Model format
unknown
Max output
64K
8 parameters

include_reasoning, max_tokens, reasoning, stop, temperature, tool_choice, tools, top_p

Endpoint data fetched .

Claude Sonnet 4 deployment guide

How to choose a Claude Sonnet 4 inference provider

Claude Sonnet 4 is indexed here as a text model by Anthropic, with 5 provider endpoints from Google Vertex, Amazon Bedrock. The comparison preserves each exact OpenRouter routing tag so pricing and performance observations can be connected to the route an application would actually request.

Match the endpoint to the workload

The model publishes a 1M-token context window. It accepts image, text, file input and returns text output. 9 distinct supported parameters appear across the listed routes. Confirm limits on the specific endpoint rather than assuming every host exposes the same configuration.

Compare the real request economics

Google Vertex currently has the lowest estimated cost for the standard 1,000-input/500-output-token sample at $0.0105. Input-heavy and output-heavy applications can produce a different result, so review both per-million-token prices in the endpoint table.

Balance response start and generation speed

Amazon Bedrock currently has the shortest estimated 500-token response at 12.88 seconds. Amazon Bedrock is the single endpoint closest to the current ideal cost/speed combination. Recent observations can change, so validate finalists with your own prompts.