Requesty
Anthropic logo

claude-sonnet-4

Anthropic/Proprietary/2 providers

Anthropic's most intelligent model. The first hybrid reasoning model on the market with the highest level of intelligence and capability with toggleable extended thinking. Top-tier results in reasoning, coding, multilingual tasks, long-context handling, honesty, and image processing.More

Which id to call

claude-sonnet-4@eu

Same routing, restricted to EU-hosted providers. Use this id when data residency is a requirement: requests never leave the EU.

From /1M input

$3.00

AWS Bedrock

Context

1M

64K output

Endpoints

11

10 regions

Regions

10

chat

Capabilities 7/8

VisionReasoningTool callingCachingWeb searchJSON schemaComputer useImage generation

11 endpoints / 10 regions

Providers serving claude-sonnet-4

Provider prices, per 1M tokens. Pay as you go adds 5%, or 0% on your own keys.

Providers serving claude-sonnet-4, with pricing and measured performance. The best value in each column is highlighted.
RankPrivacy
1AWS BedrockGlobal1M$3.00$15.00$0.30zdr
2Google LLC (Vertex AI)Global1M$3.00$15.00$0.30zdr
3AWS Bedrockeu-central-11M$3.00$15.00$0.30zdr
4AWS Bedrockeu-north-11M$3.00$15.00$0.30zdr
5AWS Bedrockeu-west-11M$3.00$15.00$0.30zdr
6AWS Bedrockeu-west-31M$3.00$15.00$0.30zdr
7AWS Bedrockus-east-11M$3.00$15.00$0.30zdr
8AWS Bedrockus-east-21M$3.00$15.00$0.30zdr
9AWS Bedrockus-west-21M$3.00$15.00$0.30zdr
10Google LLC (Vertex AI)europe-west11M$3.00$15.00$0.30zdr
11Google LLC (Vertex AI)us-east51M$3.00$15.00$0.30zdr

A column is blank where no qualifying sample exists, and every row links to that provider's endpoint page.

model=

Which id to call

One base url, https://router.requesty.ai/v1, and one key for every id here.

claude-sonnet-4@eu

Same routing, restricted to EU-hosted providers. Use this id when data residency is a requirement: requests never leave the EU.

OpenAI compatible

Call it in three lines

Change the base url, use your Requesty key, set the model to any id on the left. Existing OpenAI SDK code needs no other edit.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from openai import OpenAI client = OpenAI( api_key="YOUR_REQUESTY_API_KEY", base_url="https://router.requesty.ai/v1", ) response = client.chat.completions.create( model="bedrock/claude-sonnet-4", messages=[ {"role": "user", "content": "Explain quantum computing in one paragraph."}, ], ) print(response.choices[0].message.content)

Artificial Analysis

Benchmark scores

Coding Indexcoding
37.6%

Artificial Analysis Coding Index: a composite of coding evaluations including LiveCodeBench, SciCode and Terminal-Bench.

GPQA Diamondreasoning
77.7%

Graduate-level physics, chemistry & biology questions designed to resist Googling.

Intelligence Indexreasoning
18.9%

Artificial Analysis Intelligence Index: a composite of multiple evaluations measuring overall model capability.

Scores from artificialanalysis.ai. They measure the model, not the provider, so they are the same on every endpoint above.

6

More from Anthropic

Reference

claude-sonnet-4 questions

Which providers serve claude-sonnet-4?

claude-sonnet-4 is available from 2 providers through Requesty: AWS Bedrock, Google LLC (Vertex AI). All endpoints share one OpenAI-compatible API and one key, and Requesty fails over between them automatically.

How much does claude-sonnet-4 cost?

Pricing starts at $3.00 per million input tokens and $15.00 per million output tokens on AWS Bedrock, the cheapest endpoint. Prices vary by provider and region; the table above shows every endpoint. Those are the upstream provider rates: pay as you go adds 5% on top, or 0% if you bring your own provider keys.

Is claude-sonnet-4 open weights?

No. claude-sonnet-4 is a proprietary model from Anthropic, served through Anthropic's own API and licensed cloud platforms.

What is the context window of claude-sonnet-4?

claude-sonnet-4 supports up to 1M tokens of context, with up to 64K output tokens per response. Some providers expose a smaller window; check the per-endpoint context column above.

How do I use claude-sonnet-4 with the OpenAI SDK?

Install the OpenAI SDK, set base_url to "https://router.requesty.ai/v1", set your API key to your Requesty key, and set the model to "bedrock/claude-sonnet-4" or any endpoint id from the table above. The quickstart section shows Python, JavaScript and cURL snippets.

Route claude-sonnet-4 through one endpoint

One key for 2 providers on this model and 600+ others. No markup on provider prices, automatic failover, caching built in.

Benchmark rankings