Anthropic
A
Claude 4 Sonnet API
编程能力卓越,200K 超长上下文,适合代码审查与大型项目分析。
Model IDclaude-4-sonnet
厂商 / ProviderAnthropic
类型 / Type编程
上下文 / Context200K
价格 / Price¥3 起/百万
可用性 / Uptime99.9%
在线预览
LIVE PREVIEW
运行后将在此显示响应结果
注意:沙盒在你的浏览器中直接向接入地址发起请求。请填入你自己的 API Key,密钥不会被本站存储。
等效代码
cURL
curl https://api.acicode.cc/v1/chat/completions \
-H "Authorization: Bearer sk-acicode-xxxxx" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-4-sonnet",
"messages": [{"role": "user", "content": "Hello!"}]
}'