阿里云
Qwen3-Max
阿里通义千问 3.0 旗舰模型,中文能力强,性价比高
上下文长度128K tokens
模型类型大语言模型 (LLM)
语言优化中英双语
定价与规格
💰 定价
输入$2 / M tokens
输出$6 / M tokens
⚙️ 规格
上下文长度128K tokens
模型类型大语言模型 (LLM)
语言优化中英双语
训练截止日期2025年初
API 调用示例
Python
from openai import OpenAI
client = OpenAI(
base_url="https://api.xairouter.com/v1",
api_key="your-api-key"
)
response = client.chat.completions.create(
model="qwen3-max",
messages=[
{"role": "user", "content": "Hello!"}
]
)
print(response.choices[0].message.content)cURL
curl https://api.xairouter.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "qwen3-max",
"messages": [
{"role": "user", "content": "Hello!"}
]
}'