Requesty

claude-sonnet-4-20250514

Claude Sonnet 4 significantly improves on Sonnet 3.7's industry-leading capabilities, excelling in coding with a state-of-the-art 72.7% on SWE-bench. The model balances performance and efficiency for internal and external use cases, with enhanced steerability for greater control over implementations.

👁Vision🧠Reasoning🔧Tool callingCaching🖥Computer use

Specifications

Context window200K tokens
Max output64K tokens
API typechat
AddedMay 22, 2025
Model IDcoding/claude-sonnet-4-20250514
Data retentionYes
Used for trainingNo
Provider location🌍 Global

Benchmarks

Released 2025-05
SWE-Bench Verifiedcoding
65.2%

Resolving real GitHub issues from 12 popular Python repositories.

GPQA Diamondreasoning
70.1%

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

MMLU Proknowledge
81.2%

Massive Multitask Language Understanding across 57 academic subjects.

Scores are sourced from official model cards, Artificial Analysis, and public leaderboards. Benchmarks measure specific skills and do not capture every aspect of model quality — always test on your own workload.

Pricing

Input / 1M
$3.00
Output / 1M
$15.00
Cache write / 1M
$3.75
Cache read / 1M
$0.30
Estimated cost
100K input + 10K output$0.45
1M input + 100K output$4.50
10M input + 1M output$45.00

Requesty charges exactly what the upstream provider charges — no markup, no per-request fees. Prompt caching and smart routing can reduce effective cost by 30-80%.

Quickstart

Drop-in compatible with the OpenAI SDK. Change the base URL, swap in your Requesty API key, and set the model to coding/claude-sonnet-4-20250514.

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

Other Coding API models

Frequently asked questions

How much does claude-sonnet-4-20250514 cost?
claude-sonnet-4-20250514 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. Requesty charges exactly what the upstream provider charges — we don't add markup.
What is the context window of claude-sonnet-4-20250514?
claude-sonnet-4-20250514 has a context window of 200K tokens, with a maximum output of 64K tokens per response. That's roughly 267 words of input you can fit in a single prompt.
How does claude-sonnet-4-20250514 perform on benchmarks?
claude-sonnet-4-20250514 scores 89.8% on HumanEval, 83.7% on MATH, 81.2% on MMLU Pro. See the full benchmark chart above for results across MMLU Pro, GPQA Diamond, SWE-Bench Verified, HumanEval, MATH, AIME, MMMU, and LiveBench.
What can claude-sonnet-4-20250514 do?
claude-sonnet-4-20250514 supports vision input, tool calling, extended reasoning, prompt caching, computer use. You can call it through any OpenAI-compatible client by pointing base_url to Requesty.
How do I use claude-sonnet-4-20250514 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 "coding/claude-sonnet-4-20250514". The Quickstart above shows Python, JavaScript and cURL snippets.

Access claude-sonnet-4-20250514 through Requesty

One API key, 400+ models, OpenAI-compatible. No markup on provider prices, automatic failover, and smart caching built-in.