Claude Sonnet 5 低至0.5折
Sonnet 5 is Anthropic's most capable Sonnet-class model, with frontier performance across coding, agents, and professional work. It supports adaptive thinking with selectable reasoning effort levels (low, medium, high, max, and x-high), a 1M-token context window, and text, image, and file inputs. Sonnet 5 uses an updated tokenizer and includes real-time cyber safeguards that block certain high-risk dual-use activities.
能力与模态
当前模型版本支持的输入输出能力
模型价格
价格与能力以接口实时数据为准
API 接口
当前模型可以使用的调用端点
原生协议 1
转换协议 4
API 接入示例
选择协议与语言,配置 API Key 后运行
先在环境变量中配置平台密钥 AI_GATEWAY_API_KEY · 适用于 Bash / zsh / WSL。
https://api.tikway.ai/v1/messagescurl --fail-with-body 'https://api.tikway.ai/v1/messages' \
-H "x-api-key: $AI_GATEWAY_API_KEY" \
-H 'anthropic-version: 2023-06-01' \
-H 'Content-Type: application/json' \
-d '{
"model": "anthropic/claude-sonnet-5",
"max_tokens": 1024,
"messages": [
{
"role": "user",
"content": "用三句话介绍 Tikway"
}
]
}'