Alibaba Model Studio
Alibaba Model Studio(DashScope)は Qwen を鍛えた本人たちの正面玄関です。国際アカウントは -intl ホストを使う必要があり、中国国内のエンドポイントは海外キーを拒否します。シンガポール/国際スコープの新規ユーザーには90日間・モデルごとに1Mの無料トークンが与えられます。
Alibaba Model Studio(DashScope)は Qwen を鍛えた本人たちの正面玄関です。国際アカウントは -intl ホストを使う必要があり、中国国内のエンドポイントは海外キーを拒否します。シンガポール/国際スコープの新規ユーザーには90日間・モデルごとに1Mの無料トークンが与えられます。
Alibaba Cloud アカウントには、登録時に選んだ国と一致する電話番号が必要です —— メールだけでは足りません。plus ラインは qwen3.5-plus、qwen3.6-plus、qwen3.7-plus —— qwen3-plus は現行idではありません。長文バリアントは依然1Mコンテキストに届きます。/compatible-mode/v1 経由でOpenAI互換です。
- 最大コンテキスト
- 1M
- 無料プラン
- モデルごとに1Mトークン・90日
- 条件
- 電話番号認証、カード不要
エンドポイント
ベースURL
https://dashscope-intl.aliyuncs.com/compatible-mode/v1環境変数
DASHSCOPE_API_KEYレート制限
1M tokens per model for 90 days on the Singapore / International endpoint- OpenAI互換
- 公式SDK:DashScope SDK
- テキスト
- 画像
- コード
コード例
npm install openaiimport OpenAI from 'openai'
const client = new OpenAI({
baseURL: 'https://dashscope-intl.aliyuncs.com/compatible-mode/v1',
apiKey: process.env.DASHSCOPE_API_KEY
})
const response = await client.chat.completions.create({
model: 'qwen3.7-plus',
messages: [{ role: 'user', content: 'Explain closures in one paragraph.' }]
})
console.log(response.choices[0].message.content)pip install openaiimport os
from openai import OpenAI
client = OpenAI(
base_url="https://dashscope-intl.aliyuncs.com/compatible-mode/v1",
api_key=os.environ["DASHSCOPE_API_KEY"],
)
response = client.chat.completions.create(
model="qwen3.7-plus",
messages=[{"role": "user", "content": "Explain closures in one paragraph."}],
)
print(response.choices[0].message.content)curl https://dashscope-intl.aliyuncs.com/compatible-mode/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $DASHSCOPE_API_KEY" \
-d '{
"model": "qwen3.7-plus",
"messages": [{"role": "user", "content": "Explain closures in one paragraph."}]
}'pip install dashscopeimport os
import dashscope
dashscope.api_key = os.environ["DASHSCOPE_API_KEY"]
dashscope.base_http_api_url = "https://dashscope-intl.aliyuncs.com/api/v1"
response = dashscope.Generation.call(
model="qwen3.7-plus",
messages=[{"role": "user", "content": "Explain closures in one paragraph."}],
result_format="message",
)
print(response.output.choices[0].message.content)知っておくべきこと
- 中国本土の外では -intl ホストを使ってください。国内エンドポイントは海外アカウントを拒否します。
- Alibaba Cloud アカウントには、登録時に選んだ国と一致する電話番号が必要です。
- qwen3-plus は現行idではありません。plus ラインは qwen3.5-plus / qwen3.6-plus / qwen3.7-plus です。
無料で利用できるモデル5
- Qwen 3.7 Plus
qwen3.7-plus - Qwen 3.6 Plus
qwen3.6-plus - Qwen 3.5 Plus
qwen3.5-plus - Qwen 3 Coder Plus
qwen3-coder-plus - Qwen 3.5 Plus Long
qwen3.5-plus-2026