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.
Вход, $/1M $2.00
Выход, $/1M $10.00
Чтение из кэша $0.20
Запись в кэш $2.50
Контекст 1 000 000
Макс. выход 128 000
Принимает application/pdf, image/gif, image/jpeg, image/png, image/webp, текст
Последняя проверка 04.11.2026 12:26:37 UTC
Источник страница провайдера
Уведомления о ценах
API
API, совместимый с OpenAI: подходят официальные SDK OpenAI с этим адресом. YOUR_API_KEY замените на свой ключ от провайдера.
| Адрес API | |
|---|---|
| Эндпоинт | |
| Модель (id в API) | |
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());Запрос (JSON)
{
"model": "anthropic/claude-sonnet-5",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
}Ответ (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
}
}Адрес взят из списка моделей провайдера - сверьте с его документацией.
Source: AI Rate Card, https://airatecard.com/ru/c/offer%3Aorcarouter%7Canthropic/claude-sonnet-5, prices checked 2026-11-04; seller's page: https://orcarouter.ai/models/anthropic/claude-sonnet-5
Технические данные
ID: offer:orcarouter|anthropic/claude-sonnet-5