Claude Sonnet 5 · orcarouter
Claude Sonnet 5 is Anthropic's most capable Sonnet-class model — frontier-level performance across coding, agentic workflows, and professional knowledge work, at a fraction of the cost of the Opus tier. It serves a 1M-token context window with up to 128K output tokens, accepts text, image, and file inputs with text output, and supports adaptive thinking with selectable reasoning effort (low, medium, high, max) so callers can dial the intelligence / latency / cost tradeoff per request. Built as Anthropic's most agentic Sonnet yet, it posts large gains over Sonnet 4.6 on agentic coding and computer-use and closes much of the gap to Opus 4.8 — 63.2% on SWE-bench Pro, 80.4% on Terminal-Bench 2.1, and 81.2% on OSWorld-Verified — while pricing well below Opus 4.8, GPT-5.5, and Gemini 3.1 Pro. It is a strong default for cost-sensitive agents, coding assistants, and high-volume production workloads that still demand frontier reasoning.
Input, $/1M $2.00
Output, $/1M $10.00
Cache read $0.20
Cache write $2.50
Context 1 000 000
Max output 128 000
Accepts application/pdf, image/gif, image/jpeg, image/png, image/webp, text
Last checked 04.11.2026 12:26:37 UTC
Source provider's page
Price alerts
API
OpenAI-compatible API: the official OpenAI SDKs work with this base URL. Replace YOUR_API_KEY with your key from the provider.
| API base URL | |
|---|---|
| Endpoint | |
| Model id | |
curl
curl https://api.orcarouter.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "anthropic/claude-sonnet-5", "messages": [{"role": "user", "content": "Hello!"}], "max_tokens": 256}'Python
import requests
r = requests.post(
"https://api.orcarouter.ai/v1/chat/completions",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"model": "anthropic/claude-sonnet-5",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
},
)
print(r.json())JavaScript
const r = await fetch("https://api.orcarouter.ai/v1/chat/completions", {
method: "POST",
headers: {Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json"},
body: JSON.stringify({
"model": "anthropic/claude-sonnet-5",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
}),
});
console.log(await r.json());Request (JSON)
{
"model": "anthropic/claude-sonnet-5",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
}Response (JSON)
{
"id": "chatcmpl-...",
"object": "chat.completion",
"model": "anthropic/claude-sonnet-5",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Hi! How can I help?"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 9,
"completion_tokens": 12,
"total_tokens": 21
}
}The address is taken from the provider's model list; check it against the provider's documentation.
Source: AI Rate Card, https://airatecard.com/en/c/offer%3Aorcarouter%7Canthropic/claude-sonnet-5, prices checked 2026-11-04; seller's page: https://orcarouter.ai/models/anthropic/claude-sonnet-5
Technical details
ID: offer:orcarouter|anthropic/claude-sonnet-5