Requesty
Anthropic logo

claude-sonnet-4-5

Anthropic/🇺🇸 US/chat

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

anthropic/claude-sonnet-4-5

This exact deployment on Anthropic, with no routing and no failover. Send it as the model field.

Input /1M

$3.00

$0.30 cached

Output /1M

$15.00

5.0x input

Context

1M

64K output

Added

Sep 2025

chat

Capabilities 6/8

VisionReasoningTool callingCachingWeb searchJSON schemaComputer useImage generation

Provider rates

What claude-sonnet-4-5 costs

Provider prices per 1M tokens, updated October 28, 2026.more

These are the upstream provider rates. Pay as you go adds 5%, or 0% if you bring your own keys, and there is no per-request fee. Prompt caching and routing change what you pay against these rates, not the rates themselves.

Input /1M

$3.00

Output /1M

$15.00

Cache write /1M

$3.75

Cache read /1M

$0.30

What a workload costs

100K input + 10K output
$0.45
1M input + 100K output
$4.50
10M input + 1M output
$45.00

At the rates above, before caching. A cache read costs $0.30 per 1M, so repeated context lands under these figures.

model=

Which id to call

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

anthropic/claude-sonnet-4-5

This exact deployment on Anthropic, with no routing and no failover. Send it as the model field.

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

Reference

Specs and data terms

What the catalog reports for this deployment, and what the provider does with the traffic.

Context window1M tokens
Max output64K tokens
API typechat
AddedSep 2025
Model id
Data retentionYes, 30 days
Used for trainingNo
Served from🇺🇸 US

Public leaderboards

Benchmark scores

Benchmarks measure the model, not this endpoint, so they are the same wherever these weights are served.

No benchmarks are published for this exact variant yet.

Region-specific deployments and highspeed tiers usually share scores with their base model. Try the base model page or the Anthropic models overview.

Same provider

More from Anthropic

Newest first, on the same provider and the same key.

Reference

claude-sonnet-4-5 questions

How much does claude-sonnet-4-5 cost?

claude-sonnet-4-5 is priced at $3.00 per million input tokens and $15.00 per million output tokens when accessed via Requesty. Prompt caching is supported, which can cut effective input cost by up to 90% on repeated context. Those are the upstream provider rates: pay as you go adds 5% on top, or 0% if you bring your own provider keys.

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

claude-sonnet-4-5 has a context window of 1M tokens, with a maximum output of 64K tokens per response. That's roughly 1,333 words of input you can fit in a single prompt.

What can claude-sonnet-4-5 do?

claude-sonnet-4-5 supports vision input, tool calling, prompt caching, web search, structured outputs (JSON schema), computer use. You can call it through any OpenAI-compatible client by pointing base_url to Requesty.

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 "anthropic/claude-sonnet-4-5". The Quickstart above shows Python, JavaScript and cURL snippets.

Can I run claude-sonnet-4-5 through Requesty?

Yes. claude-sonnet-4-5 runs through Requesty's OpenAI-compatible API, served from Anthropic. You do not host the model yourself: point base_url at Requesty, set the model to "anthropic/claude-sonnet-4-5", and requests are routed to the upstream provider with automatic failover. The same key gives you 600+ other models too.

Call claude-sonnet-4-5 through one endpoint

One key for this endpoint and 600+ other models. No markup on provider prices, automatic failover, caching built in.

All Anthropic models