Qwen3 Max Thinking API

推理模型,采用自适应工具(搜索、内存、代码解释器)和测试时间缩放,以提升复杂任务的准确性。

Alibaba Cloud文本生成256K 上下文发布日期 2025年9月23日Singapore专有端点

关于 Qwen3 Max Thinking

推理模型,采用自适应工具(搜索、内存、代码解释器)和测试时间缩放,以提升复杂任务的准确性。

也称为 Alibaba Cloud Qwen3 Max Thinking

reasoningcode interpreterweb searchthinking

Qwen3 Max Thinking 规格

模型 ID
qwen3-max-thinking
开发方
Alibaba Cloud
类别
文本生成
发布日期
2025年9月23日
上下文窗口
256K 个 token
最大输出
65,536 个 token
输入
文本
输出
文本
结构化输出
JSON 模式
区域
Singapore
端点
POST/v1/chat/completionsPOST/v1/responsesPOST/v1/messagesPOST/v1beta/models/qwen3-max-thinking:generateContent

Qwen3 Max Thinking API 价格最高省 10%

来自 EmpirioLabs 目录的实时按量计费价格。只为实际用量付费,没有月度最低消费。

类型
规格
价格
输入
每100万个提示词标记
$1.20<=32K $1.08$2.4032K-128K $2.16$3.00128K-256K $2.70
产出
每100万个生成代币
$6.00<=32K $5.52$12.0032K-128K $11.04$15.00128K-256K $13.80
网络搜索
每次调用时
$0.015
在完整价格页比较

如何调用 Qwen3 Max Thinking API

Qwen3 Max Thinking 提供 OpenAI 兼容的 Chat Completions API。用你的 EmpirioLabs API 密钥把任意 OpenAI SDK 指向 https://api.empiriolabs.ai/v1,并使用模型 ID qwen3-max-thinking。 在EmpirioLabs 控制台获取 API 密钥。

cURL
curl https://api.empiriolabs.ai/v1/chat/completions \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen3-max-thinking",
    "messages": [
      {"role": "user", "content": "Write a haiku about the ocean."}
    ]
  }'
Python (OpenAI SDK)
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-thinking",
    messages=[{"role": "user", "content": "Write a haiku about the ocean."}],
)
print(response.choices[0].message.content)
Qwen3 Max Thinking API 完整参考

Qwen3 Max Thinking API 参数

EmpirioLabs 上 Qwen3 Max Thinking API 支持的请求参数。省略字段时使用默认值。

参数类型默认值范围 / 值描述
temperaturenumber0.70 到 2采样温度。0是确定性的,2是最大随机性。
top_pnumber0.90 到 1核抽样概率质量。较低的数值使输出更集中。
max_tokensnumber40961 到 65536最大输出令牌。
stopstring--最多有4串字符串,模型会停止生成更多代币。
enable_thinkingbooleantrue-在回答之前先启用推理。
web_search_modeenumstandardstandard, thorough标准 = 单次搜索,彻底搜索 = 多次深入搜索。
tool_web_searchbooleanfalse-在网上搜索实时信息。每次呼叫的请求费用都会增加$0.015。
tool_web_extractorbooleanfalse-从URL中提取并读取内容。需要网络搜索和思考。
tool_code_interpreterbooleanfalse-在沙盒中运行Python代码。需要思考。
response_formatenum--返回输出为有效的 JSON 对象(JSON 模式)。描述你在提示词中想要的字段。
disable_formattingbooleanfalse-跳过EmpirioLabs Markdown 格式(引用 [[N]](url)重写 + 使用网页搜索/工具时的引用块)。返回原始上游答案,带有纯[N]次引用。

须知

网络搜索模式:标准(高效)或全面(全面,需要思考)。

Per-tool billing (usage.tool_usage)

When this model invokes tools (web search, code interpreter, etc.) inside a single request, the response carries a normalized usage.tool_usage map alongside the token counts. The example below shows the shape, exact field names, units, and which tools appear can vary slightly per provider:

"usage": {
  "prompt_tokens": 123,
  "completion_tokens": 456,
  "cost_usd": 0.0042,
  "tool_usage": {"web_search": 3, "code_interpreter": 1}
}

The tool counts are already factored into cost_usd, they are surfaced for transparency so you can audit per-tool billing. The field is omitted when no tools were invoked.

Qwen3 Max Thinking API:常见问题

Qwen3 Max Thinking API 收费多少?

在 EmpirioLabs,Qwen3 Max Thinking 按量计费。本页的实时价格表始终与 API 的实际计费一致。

Qwen3 Max Thinking 的上下文窗口有多大?

Qwen3 Max Thinking 支持 256K token 的上下文窗口,每次响应最多 65,536 个输出 token。

Qwen3 Max Thinking API 兼容 OpenAI 吗?

兼容。Qwen3 Max Thinking 提供 OpenAI 兼容的 Chat Completions API,现有 OpenAI SDK 只需把 base_url 指向 https://api.empiriolabs.ai/v1 并把模型 ID 设为 qwen3-max-thinking 即可使用。

集成之前可以在浏览器里试用 Qwen3 Max Thinking 吗?

可以。EmpirioLabs Playground在浏览器中以与 API 相同的参数运行 Qwen3 Max Thinking,你可以在写代码之前先测试提示词。

如何获取 Qwen3 Max Thinking API 密钥?

创建 EmpirioLabs 账户,然后在控制台的 API Keys生成密钥。计费使用按量付费的额度,只为实际发出的请求付费。

准备好使用更好的终端了吗?

查看我们的定价,或者如果你想将自己的模型部署到我们的堆栈中,请联系我们。