智脑API服务平台
智脑API服务平台
  • 模型广场
  • API 文档
智脑API服务平台

让企业用 AI,像用水电一样简单

更多链接
模型广场控制台API Keys用量查询文档
© 2026 智脑API服务平台. 保留所有权利。|ICP备案号|隐私政策|服务条款

anthropic/claude-sonnet-4

在线对话

发布时间

-

模型系列

输入模态

输出模态

上下文窗口

1,000,000

最大输出长度

64,000

输入价格

¥0 / 1M tokens

输出价格

¥0 / 1M tokens

anthropic 最新的功能最强大的多模态模型,支持文本、图片输入,适用于复杂、多步骤的任务

anthropic/claude-sonnet-4的供应商

智脑 API 根据调度策略向最合适的供应商发起请求,并自动回退至可用性最高的供应商。

亚
亚马逊 Amazon AWS
国内

首字延迟

4.58s

吞吐量

790.16tps

可用性

97.00%

供应商模型名

amazon/claude-sonnet-4

支持的参数

include_reasoning
max_tokens
reasoning
stop
temperature
tool_choice
tools
top_k
top_p

近期可用性

3月4日 11 PM96.58%
3月2日 8 PM: 99.63%3月2日 8 PM: 98.18%3月2日 9 PM: 97.89%3月2日 9 PM: 98.70%3月2日 10 PM: 97.46%3月2日 10 PM: 97.52%3月2日 11 PM: 98.24%3月2日 11 PM: 97.71%3月3日 8 AM: 99.11%3月3日 8 AM: 96.10%3月3日 9 AM: 97.40%3月3日 9 AM: 97.65%3月3日 10 AM: 97.78%3月3日 10 AM: 95.67%3月3日 11 AM: 98.33%3月3日 11 AM: 95.96%3月3日 12 PM: 98.01%3月3日 12 PM: 96.73%3月3日 1 PM: 97.00%3月3日 1 PM: 97.25%3月3日 2 PM: 95.48%3月3日 2 PM: 97.79%3月3日 3 PM: 97.76%3月3日 3 PM: 99.39%3月3日 4 PM: 98.99%3月3日 4 PM: 98.97%3月3日 5 PM: 100.00%3月3日 5 PM: 97.22%3月3日 6 PM: 99.50%3月3日 6 PM: 98.60%3月3日 7 PM: 98.62%3月3日 7 PM: 98.90%3月3日 8 PM: 95.24%3月3日 8 PM: 96.45%3月3日 9 PM: 96.24%3月3日 9 PM: 96.38%3月3日 10 PM: 98.88%3月3日 10 PM: 99.02%3月3日 11 PM: 97.94%3月3日 11 PM: 96.81%3月4日 8 AM: 98.81%3月4日 8 AM: 97.22%3月4日 9 AM: 96.96%3月4日 9 AM: 99.05%3月4日 10 AM: 99.20%3月4日 10 AM: 98.15%3月4日 11 AM: 98.30%3月4日 11 AM: 99.01%3月4日 12 PM: 97.83%3月4日 12 PM: 98.22%3月4日 1 PM: 98.37%3月4日 1 PM: 96.19%3月4日 2 PM: 97.22%3月4日 2 PM: 97.46%3月4日 3 PM: 96.58%3月4日 3 PM: 97.64%3月4日 4 PM: 96.38%3月4日 4 PM: 95.37%3月4日 5 PM: 96.68%3月4日 5 PM: 96.67%3月4日 6 PM: 94.39%3月4日 6 PM: 97.06%3月4日 7 PM: 98.10%3月4日 7 PM: 96.47%3月4日 8 PM: 96.68%3月4日 8 PM: 95.89%3月4日 9 PM: 96.72%3月4日 9 PM: 98.08%3月4日 10 PM: 96.54%3月4日 10 PM: 98.82%3月4日 11 PM: 97.85%3月4日 11 PM: 96.58%

推理

-

支持的响应格式

OpenAI Chat Completions
OpenAI Responses
Anthropic Messages
Google VertexAI

请求日志收集

-

可用于蒸馏

-

上下文长度

128,000

最大输出

128,000

输入价格

¥0 / 1M tokens

输出价格

¥0 / 1M tokens

anthropic/claude-sonnet-4的性能

在智脑 API 上对比不同供应商的表现

吞吐量

806.63 tok/s

首字延迟

4.58 s

anthropic/claude-sonnet-4的可用性

anthropic/claude-sonnet-4的各供应商可用性

anthropic/claude-sonnet-4示例代码与 API

获取 API Key

智脑 API 为您统一各供应商的请求与响应格式

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.360.cn/v1",
  apiKey: process.env.ZHINAO_API_KEY,
});

const response = await client.chat.completions.create({
  model: "anthropic/claude-sonnet-4",
  messages: [
    { role: "user", content: "Hello, how are you?" }
  ],
  temperature: 0.7,
  max_tokens: 1000,
});

console.log(response.choices[0].message.content);