Yunhai AI platform · One API, multiple modelsView offers
Yunhai
DocsConsoleEN / 中Sign in
Model catalog

Claude Sonnet 5

anthropic/claude-sonnet-5
Try model
OverviewPricingAPI integration

Overview

Model description: original source language.

Sonnet 5 是 Anthropic 公司最强大的 Sonnet 类模型之一,其在各种编程、代理以及专业场景中的性能表现都非常出色。该模型支持自适应思维机制,用户可以选择不同的推理强度级别(低、中、高、最高以及超高强度)。它还具备 1 百万标记数的上下文存储能力,并且能够接受文本、图像和文件输入。Sonnet 5 采用了升级后的分词器,并配备了实时网络安全保护功能,能够阻止某些高风险的两用活动

Textanthropic

Pricing

Pricing follows the current settings of your account group.

View available groups

API integration

Use a Yunhai API key to call configured models.

curl "$YUNHAI_BASE_URL/chat/completions" \
  -H "Authorization: Bearer $YUNHAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"anthropic/claude-sonnet-5","messages":[{"role":"user","content":"你好"}]}'