
256K-context旗舰,在推理,指令跟随,以及多语种支持方面有重大改进,加上更高的 coding/math 准确度.
256K-context旗舰,在推理,指令跟随,以及多语种支持方面有重大改进,加上更高的 coding/math 准确度.
也称为 Alibaba Cloud Qwen3 Max, Qwen3-Max
qwen3-max/v1/chat/completionsPOST/v1/responsesPOST/v1/messagesPOST/v1beta/models/qwen3-max:generateContent来自 EmpirioLabs 目录的实时按量计费价格。只为实际用量付费,没有月度最低消费。
Qwen3 Max 提供 OpenAI 兼容的 Chat Completions API。用你的 EmpirioLabs API 密钥把任意 OpenAI SDK 指向 https://api.empiriolabs.ai/v1,并使用模型 ID qwen3-max。 在EmpirioLabs 控制台获取 API 密钥。
curl https://api.empiriolabs.ai/v1/chat/completions \
-H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen3-max",
"messages": [
{"role": "user", "content": "Write a haiku about the ocean."}
]
}'from openai import OpenAI
client = OpenAI(
base_url="https://api.empiriolabs.ai/v1",
api_key="YOUR_EMPIRIOLABS_API_KEY",
)
response = client.chat.completions.create(
model="qwen3-max",
messages=[{"role": "user", "content": "Write a haiku about the ocean."}],
)
print(response.choices[0].message.content)EmpirioLabs 上 Qwen3 Max API 支持的请求参数。省略字段时使用默认值。
| 参数 | 类型 | 默认值 | 范围 / 值 | 描述 |
|---|---|---|---|---|
| temperature | number | 0.7 | 0 到 2 | 采样温度。0 = 确定性,2 = 最大随机性。 |
| top_p | number | 0.9 | 0 到 1 | 核抽样概率质量。低 = 更专注。 |
| max_tokens | number | 4096 | 1 到 65536 | 回复中最多的代币。 |
| stop | string | - | - | 最多有4串字符串,模型会停止生成更多代币。 |
| tool_web_search | boolean | false | - | 在网上搜索实时信息。 |
| response_format | enum | - | - | 返回输出为有效的 JSON 对象(JSON 模式)。描述你在提示词中想要的字段。 |
| disable_formatting | boolean | false | - | 跳过EmpirioLabs Markdown 格式(引用 [[N]](url)重写 + 使用网页搜索/工具时的引用块)。返回原始上游答案,带有纯[N]次引用。 |
可选的网络搜索在引用时添加 $0.015/call.
在 EmpirioLabs,Qwen3 Max 按量计费。本页的实时价格表始终与 API 的实际计费一致。
Qwen3 Max 支持 256K token 的上下文窗口,每次响应最多 65,536 个输出 token。
兼容。Qwen3 Max 提供 OpenAI 兼容的 Chat Completions API,现有 OpenAI SDK 只需把 base_url 指向 https://api.empiriolabs.ai/v1 并把模型 ID 设为 qwen3-max 即可使用。
可以。EmpirioLabs Playground在浏览器中以与 API 相同的参数运行 Qwen3 Max,你可以在写代码之前先测试提示词。
创建 EmpirioLabs 账户,然后在控制台的 API Keys生成密钥。计费使用按量付费的额度,只为实际发出的请求付费。