Anthropic
延迟—
吞吐量—
上传速率—
上下文长度—
最大输出—
上传价格—每百万
输出价格—每百万
缓存读取—每百万
缓存写入—每百万
/anthropic/claude-sonnet-4-20250514
Claude 4 Series: Anthropic's next-generation AI ecosystem, representing the absolute pinnacle of Large Language Model (LLM) technology. The lineup is strategically divided into the Sonnet 4 (optimized for high-speed coding) and Opus 4 (optimized for maximum intelligence) families to cover all enterprise API needs.
curl ${API_BASE_URL}/v1/messages \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-4-20250514",
"messages": [
{
"role": "user",
"content": "Hello"
}
]
}'将 <YOUR_API_KEY> 替换为你在令牌管理页面生成的 API Key。
所有请求必须携带 Authorization: Bearer <TOKEN> 请求头。
RPM = 每分钟请求数,TPM = 每分钟 Token 数,RPD = 每天请求数。限制按令牌分组生效。