亚马逊SageMaker AI推出新功能,支持OpenAI兼容API的实时推理端点。用户仅需修改端点URL,即可通过OpenAI SDK、LangChain等工具调用模型,无需额外定制或重写代码。新增的/openai/v1路径可处理聊天补全请求并返回响应,包括流式输出,兼容标准SageMaker AI API和SDK。
Openai
$2.8
Input tokens/M
$11.2
Output tokens/M
1k
Context Length
Xai
$1.4
$3.5
2k
-
Anthropic
$7
$35
200
Google
$2.1
$17.5
$21
$105
$0.7
Alibaba
$4
$16
Baidu
128
$8
$240
52
Moonshot
256
Bytedance
$0.8
$2
Tencent
$1
32
Deepseek
$12
$54
$163
$1.6
$0.4
$0.35
400