Anthropic: Claude Sonnet 4 在 NextModel 中是什么?
Anthropic: Claude Sonnet 4 是 NextModel 目录中的 Anthropic 模型,常用于 图像理解、multimodal chat 工作负载。当前展示价格为输入 $0.564 / 1M tokens、输出 $2.82 / 1M tokens 每 100 万 token,上下文窗口为 1M token。
适用场景
- 图像理解
- multimodal chat
OpenAI 兼容调用示例
保持 OpenAI SDK 调用方式不变,把 base_url 改为 NextModel,并使用模型目录 ID anthropic--claude-sonnet-4。
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://api.nextmodel.app/v1"
)
resp = client.chat.completions.create(
model="anthropic/claude-sonnet-4",
messages=[{"role": "user", "content": "Hello from NextModel"}]
)
print(resp.choices[0].message.content)相似替代项
Claude 3 Haiku is Anthropic's fastest and most compact model for near-instant responsiveness. Quick and accurate targeted performance. See the launch announcement and benchmark results [here](https://www.anthropic.com/news/claude-3-haiku) #multimodal
Claude Fable 5 is a Mythos-class model from Anthropic, built for autonomous knowledge work and coding. It supports text, image, and file inputs with text output, with reasoning support and...
Claude Haiku 4.5 is Anthropic’s fastest and most efficient model, delivering near-frontier intelligence at a fraction of the cost and latency of larger Claude models. Matching Claude Sonnet 4’s performance...
对比 Anthropic: Claude Sonnet 4
常见问题