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.
Specifications
Benchmarks
Released 2025-05Resolving real GitHub issues from 12 popular Python repositories.
Graduate-level physics, chemistry & biology questions designed to resist Googling.
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
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.
123456789101112131415from 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?
What is the context window of claude-sonnet-4-20250514?
How does claude-sonnet-4-20250514 perform on benchmarks?
What can claude-sonnet-4-20250514 do?
How do I use claude-sonnet-4-20250514 with the OpenAI SDK?
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.
