qwen4-maxQwen4-Max 是通义千问的旗舰多模态模型,支持文本、图像和视频输入,输出文本。适合复杂推理、编程、长文档处理和智能体任务,支持工具调用与结构化输出。
比較同一模型在不同供應商的價格與服務表現。
| 供應商 | 輸入/M | 輸出/M | 緩存讀取/M | 緩存寫入 (5m)/M | 緩存寫入 (1h)/M | ||||
|---|---|---|---|---|---|---|---|---|---|
Oofficial 官方接口直连 | $1.4706 | $4.4118 | $0.073529 | $1.8382 | $2.9412 | ||||
Alibaba 阿里巴巴百炼官方 | $1.4706 | $4.4118 | $0.073529 | $1.8382 | $2.9412 |
左右滑動表格,查看完整價格與效能。
Qwen tokenizer (tiktoken-compat)標準化評測得分。百分比越高越好,並展示排名百分位。
指標來源:Artificial Analysis 2026-09-30·Qwen4 Max
目前基準快照不包含此模型。
缺少模型或測量值不代表零分。
基準圖表保留來源中的模型選擇和推理設定。缺少模型或測量值不代表零分,基準成本或速度也不是本站的服務承諾。
Qwen4-Max 可以在同一次请求中结合文字、图像和视频进行分析,例如理解界面截图、检索长文档里的信息,或从视频中提取事件。模型支持流式输出、工具调用和结构化输出,默认开启深度思考。
上下文长度为 1,000,000 Token。非思考模式最大输入为 991,808 Token,最大输出为 131,072 Token。思考模式最大输入为 983,616 Token,思考与最终回答合计最多 262,144 Token。实际输入与输出合计仍受上下文窗口限制。
以下单价以人民币/百万 Token 计。普通输入 ¥10,输出(含思考)¥30,缓存命中 ¥0.5,5 分钟显式缓存创建 ¥12.5,1 小时显式缓存创建 ¥20。通过 OpenAI 兼容接口设置 1 小时显式缓存时,请明确传入 prompt_cache_options.ttl: "1h"。
使用有 Alibaba 或 official 分组权限的 ModelSell API Key,调用 POST /v1/chat/completions,将 model 设为 qwen4-max。使用 messages 提供文本或多模态内容。需要低延迟时,可在 Chat Completions 请求中传入 enable_thinking: false。流式请求设置 stream: true,并使用 stream_options.include_usage 获取用量。
也可按客户端协议调用 POST /v1/responses 或 POST /v1/messages。多模态输入格式与支持的工具由所用协议决定。
/v1/chat/completions| 參數 | 類型 | 預設值 / 範圍 | 說明資訊 |
|---|---|---|---|
temperature | number | = 10 ~ 2 | 採樣溫度;越低越穩定 |
top_p | number | = 10 ~ 1 | 核採樣累積概率 |
max_tokens | integer | >= 1 | 回應中最大 token 數 |
frequency_penalty | number | = 0-2 ~ 2 | 懲罰高頻 token 的重複出現 |
presence_penalty | number | = 0-2 ~ 2 | 鼓勵引入新話題 |
stop | array | — | 最多 4 個停止生成的字串 |
seed | integer | — | 盡量保證可復現的採樣種子 |
n | integer | = 1>= 1 | 生成的候選條數 |
stream | boolean | = false | 透過 SSE 串流返回 token |
response_format | object | — | 強制輸出 JSON 物件或符合 Schema 的結果 |
tools | array | — | 模型可呼叫的工具 / 函數聲明 |
tool_choice | string | autononerequired | 工具選擇策略或具體工具名 |
logprobs | boolean | = false | 返回每個 token 的對數概率 |
top_logprobs | integer | 0 ~ 20 | 每個 token 返回的 top 概率數量 |
logit_bias | object | — | 按 token 的 logit 偏置映射 |
user | string | — | 用於風險審計的終端用戶標識 |
替換 <YOUR_API_KEY> 替換為 API 金鑰頁面中的金鑰。
所有請求必須攜帶 Authorization: Bearer <TOKEN> 請求頭。Anthropic 格式的端點也接受 x-api-key 請求頭。
在「令牌」頁面生成 API Key,可以按模型、分組、IP、速率等維度精細化授權。
| 參數 | 類型 | 預設值 / 範圍 | 說明資訊 |
|---|---|---|---|
temperature | number | = 10 ~ 2 | 採樣溫度;越低越穩定 |
top_p | number | = 10 ~ 1 | 核採樣累積概率 |
max_tokens | integer | >= 1 | 回應中最大 token 數 |
frequency_penalty | number | = 0-2 ~ 2 | 懲罰高頻 token 的重複出現 |
presence_penalty | number | = 0-2 ~ 2 | 鼓勵引入新話題 |
stop | array | — | 最多 4 個停止生成的字串 |
seed | integer | — | 盡量保證可復現的採樣種子 |
n | integer | = 1>= 1 | 生成的候選條數 |
stream | boolean | = false | 透過 SSE 串流返回 token |
response_format | object | — | 強制輸出 JSON 物件或符合 Schema 的結果 |
tools | array | — | 模型可呼叫的工具 / 函數聲明 |
tool_choice | string | autononerequired | 工具選擇策略或具體工具名 |
logprobs | boolean | = false | 返回每個 token 的對數概率 |
top_logprobs | integer | 0 ~ 20 | 每個 token 返回的 top 概率數量 |
logit_bias | object | — | 按 token 的 logit 偏置映射 |
user | string | — | 用於風險審計的終端用戶標識 |
| 供應商 | RPM | TPM | RPD |
|---|---|---|---|
| Alibaba | 無限制 | 無限制 | 無限制 |
| official | 無限制 | 無限制 | 無限制 |
無限制
Qwen4-Max 是通义千问的旗舰多模态模型,支持文本、图像和视频输入,输出文本。适合复杂推理、编程、长文档处理和智能体任务,支持工具调用与结构化输出。
Create an API key with access to qwen4-max, then use the exact model ID and a supported endpoint from the API access section. Request fields depend on the selected endpoint.
Pricing depends on the selected provider group and the model billing unit. The current input, output, request, or media prices are shown on this page before sign-up.
The model catalog lists a context window of 1000000 tokens. Check the selected endpoint for request limits.
The model catalog lists a maximum output of 262144 tokens. Your request settings may set a lower limit.
Start with the use cases and prompting guidance on this page, then evaluate the model with representative inputs from your project.
