Model Studio International 新加坡新人免费 API
api
- EndpointEndpoint
https://dashscope-intl.aliyuncs.com/compatible-mode/v1/chat/completions- 认证Authentication
- Authorization: Bearer API key
前置条件Prerequisites
- Alibaba Cloud International accountAlibaba Cloud International account
- Account information completedAccount information completed
- Singapore-region API KeySingapore-region API Key
操作步骤Steps
- 确认免费额度
首次开通新加坡地域后,在控制台查看各模型独立免费额度与 90 天到期时间。
- 开启 Free Quota Only
该开关默认关闭;如需避免意外扣费,应在正式调用前手动开启。
- 发送最小请求
使用新加坡地域 OpenAI 兼容 endpoint 与普通 Model Studio API Key 调用支持模型。
可复制命令Copyable commandexport DASHSCOPE_API_KEY="你的 Key" curl https://dashscope-intl.aliyuncs.com/compatible-mode/v1/chat/completions -H "Authorization: Bearer $DASHSCOPE_API_KEY" -H 'Content-Type: application/json' -d '{"model":"qwen-plus","messages":[{"role":"user","content":"Hello"}]}'预期结果Expected:HTTP 200;控制台显示对应模型新人免费额度扣减。
请求成功,并确认扣减来自新加坡地域新人免费额度;Free Quota Only 已按需要开启。