Requesty
Anthropic logo

claude-sonnet-4-5

Anthropic/Proprietary/3 providers

Claude Sonnet 4.5 is Anthropic's best coding model in the world, leading on SWE-bench Verified (77.2%) and OSWorld (61.4%). It delivers sustained autonomous performance on complex tasks for over 30 hours—up from seven hours for Opus 4—maintaining focus and reliability throughout the entire software development lifecycle, with enhanced capabilities in tool handling, memory management, and context processing that make it the strongest model for building complex agents.More

Which id to call

claude-sonnet-4-5

Requesty routes this id across every provider serving claude-sonnet-4-5, picking on price and health and failing over automatically. The id stays valid when a provider changes underneath it.

From /1M input

$3.00

Anthropic PBC

Context

1M

64K output

Endpoints

12

10 regions

Regions

10

chat

Capabilities 7/8

VisionReasoningTool callingCachingWeb searchJSON schemaComputer useImage generation

12 endpoints / 10 regions

Providers serving claude-sonnet-4-5

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

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

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-5

Requesty routes this id across every provider serving claude-sonnet-4-5, picking on price and health and failing over automatically. The id stays valid when a provider changes underneath it.

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="claude-sonnet-4-5", messages=[ {"role": "user", "content": "Explain quantum computing in one paragraph."}, ], ) print(response.choices[0].message.content)

Artificial Analysis

Benchmark scores

Coding Indexcoding
52.1%

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

GPQA Diamondreasoning
83.4%

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

Intelligence Indexreasoning
20.7%

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-5 questions

Which providers serve claude-sonnet-4-5?

claude-sonnet-4-5 is available from 3 providers through Requesty: Anthropic PBC, 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-5 cost?

Pricing starts at $3.00 per million input tokens and $15.00 per million output tokens on Anthropic PBC, 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-5 open weights?

No. claude-sonnet-4-5 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-5?

claude-sonnet-4-5 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-5 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 "claude-sonnet-4-5" or any endpoint id from the table above. The quickstart section shows Python, JavaScript and cURL snippets.

Should I call claude-sonnet-4-5 by its managed id or a provider id?

Use the managed id, "claude-sonnet-4-5". Requesty picks which of the 3 providers serves each request based on price and health, and fails over when one degrades, so the id keeps working while the routing changes underneath it. There is also an EU-only id, "claude-sonnet-4-5@eu", which routes the same way but only through EU-hosted providers. Send a provider id like "anthropic/claude-sonnet-4-5" only when you need one specific deployment and want no failover.

Route claude-sonnet-4-5 through one endpoint

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

Benchmark rankings