正常anthropic聊天
claude-sonnet-4

claude-sonnet-4

claude-sonnet-4

价格

官方价格目录价格折扣
输入 $1.95 / 输出 $9.75输入 $1.95 / 输出 $9.75-

能力

视觉工具调用JSON 模式提示词缓存
上下文
410K
最大输出
32K

支持操作

别名

claude.sonnet.4.20250514.thinkingclaude.sonnet.4.thinkingclaude-sonnet-4-20250514claude-sonnet-4-20250514-thinkingclaude-sonnet-4-thinking

API 地址

调用示例

https://api.aisonar.dev
curl https://api.aisonar.dev/v1/chat/completions \
  -H "Authorization: Bearer $AI_SONAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-4",
    "messages": [{"role":"user","content":"Summarize this release note"}]
  }'
claude-sonnet-4 | AI Sonar