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.
Entrée, $/1M $2.00
Sortie, $/1M $10.00
Lecture cache $0.20
Écriture cache $2.50
Contexte 1 000 000
Sortie max. 128 000
Accepte application/pdf, image/gif, image/jpeg, image/png, image/webp, texte
Dernière vérification 04.11.2026 12:26:37 UTC
Source page du fournisseur
Alertes de prix
API
API compatible OpenAI : les SDK officiels d'OpenAI fonctionnent avec cette URL de base. Remplacez YOUR_API_KEY par votre clé du fournisseur.
| URL de base de l'API | |
|---|---|
| Point de terminaison | |
| ID du modèle | |
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());Requête (JSON)
{
"model": "anthropic/claude-sonnet-5",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"max_tokens": 256
}Réponse (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
}
}L'adresse provient de la liste de modèles du fournisseur ; vérifiez-la dans sa documentation.
Source: AI Rate Card, https://airatecard.com/fr/c/offer%3Aorcarouter%7Canthropic/claude-sonnet-5, prices checked 2026-11-04; seller's page: https://orcarouter.ai/models/anthropic/claude-sonnet-5
Détails techniques
ID: offer:orcarouter|anthropic/claude-sonnet-5