Назад к моделям

Claude Sonnet 5

anthropicanthropic/claude-sonnet-5

Гид по API

Chat completion

Для обычного текста, кодинга и документов используйте OpenAI-совместимый endpoint TheRouter. Не передавайте sampling-параметры, если не уверены, что они дефолтные для Anthropic.

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"anthropic/claude-sonnet-5","messages":[{"role":"user","content":"Audit this migration plan for hidden production risks."}],"max_tokens":2000}'

Агент с tools

Sonnet 5 сильнее всего, когда может планировать, вызывать tools и проверять результат. Держите tool schemas строгими и задавайте effort явно для предсказуемой latency/cost.

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"anthropic/claude-sonnet-5","messages":[{"role":"user","content":"What is the order status for invoice INV-1042?"}],"tools":[{"type":"function","function":{"name":"lookup_invoice","description":"Look up invoice status by id","parameters":{"type":"object","properties":{"invoice_id":{"type":"string"}},"required":["invoice_id"]}}}],"tool_choice":"auto","reasoning_effort":"medium","max_tokens":1500}'

Vision input

Claude Sonnet 5 поддерживает text+image input и text output. Направляйте сюда visual QA, UI triage и document screenshots, когда важны 1M context и агентное доведение.

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"anthropic/claude-sonnet-5","messages":[{"role":"user","content":[{"type":"text","text":"Find the blocking UX issue in this screenshot."},{"type":"image_url","image_url":{"url":"https://example.com/screenshot.png"}}]}],"max_tokens":1200}'

Свежие материалы

Реестр фактов — каждая утверждаемая величина имеет источник
источникURLполучено
Дата релизаplatform.claude.com ↗2026-07-28проверено
ID модели Claude APIplatform.claude.com ↗2026-07-28проверено
Окно контекстаplatform.claude.com ↗2026-07-28проверено
Максимум выходных токеновplatform.claude.com ↗2026-07-28проверено
Ценаplatform.claude.com ↗2026-07-28проверено
Кэширование promptplatform.claude.com ↗2026-07-28проверено
Дата отсечения обученияplatform.claude.com ↗2026-07-28проверено
Надёжный knowledge cutoffplatform.claude.com ↗2026-07-28проверено
Контроль рассужденияplatform.claude.com ↗2026-07-28проверено
Неподдерживаемые контролыplatform.claude.com ↗2026-07-28проверено
Priority Tierplatform.claude.com ↗2026-07-28проверено
Миграция tokenizerwww.anthropic.com ↗2026-07-28проверено
Платформыplatform.claude.com ↗2026-07-28проверено
Лицензия——проверено
BrowseCompwww.anthropic.com ↗2026-07-28к проверке
OSWorld-Verifiedwww.anthropic.com ↗2026-07-28к проверке
Mozilla Firefox exploit evaluationwww.anthropic.com ↗2026-07-28проверено
Claude Sonnet 5 Skips Priority Tier: What the Service-Tier Gap Means for Latency-Sensitive Routing TeamsTheRouter news ↗2026-07-28проверено
Claude Sonnet 5 Launches as Anthropic's Most Agentic Sonnet: What the Introductory Pricing Window Means for Routing TeamsTheRouter news ↗2026-07-28проверено
Claude Sonnet 5's Three Breaking API Changes: What Every Operator Must Audit Before MigratingTheRouter news ↗2026-07-28проверено
Claude Sonnet 5 — drop-in замена Claude Sonnet 4.6?platform.claude.com ↗2026-07-28к проверке
Сколько стоит Claude Sonnet 5 через TheRouter?platform.claude.com ↗2026-07-28к проверке
Claude Sonnet 5 поддерживает Priority Tier?platform.claude.com ↗2026-07-28к проверке
Нужно ли задавать temperature на Claude Sonnet 5?platform.claude.com ↗2026-07-28к проверке
Как routing-командам тестировать новый tokenizer?www.anthropic.com ↗2026-07-28к проверке
Помощь и контакты