BaiLian

Qwen4 Max

AlibabaToken-basedDynamic Pricing
Alias:qwen4-max
Create API Key

Compare qwen4-max API pricing, supported endpoints, capabilities and access options on Modelsell.

深度思考多模态长上下文编程工具调用
Starting price
View full pricing
Context
1M
Maximum input window
Max output
262.1K
Maximum tokens per response
Modalities
→
Released
Nov 2026

Pricing by Supplier

Compare prices and service performance for this model across suppliers.

Suppliers2
USD · Per 1M tokensPerformance · Last 24 hours
SupplierInput/MOutput/MCache Read/MCache Write (5m)/MCache Write (1h)/M
official

官方接口直连

$1.4706
$4.4118
$0.073529
$1.8382
$2.9412
Alibaba

阿里巴巴百炼官方

$1.4706
$4.4118
$0.073529
$1.8382
$2.9412
Crossed-out amounts are standard prices.Performance over the last 24 hours; actual results vary by request.

Scroll horizontally to compare all prices and performance metrics.

Capabilities / Supported modalities

ReasoningVisionFunction callingStructured outputStreaming
Input
Output

Provider & data privacy

Provider
Alibaba (Qwen)Docs
Tokenizer
Qwen tokenizer (tiktoken-compat)
License
Tongyi Qianwen LicenseOpen weights
Data retention70 daysNot used for upstream training by default

Performance

Benchmarks

Scores on standardized evaluations. Higher percentages are better — and rank percentile shows

Metrics sourced fromArtificial Analysis 2026-09-30·Qwen4 Max

This model is not included in the current benchmark snapshot.

Missing models or measurements are not zero scores.

Benchmark charts preserve the source model selection and reasoning settings. Missing models or measurements are not zero scores, and benchmark cost or speed is not this site’s service commitment.

About 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"。

来源

Use cases and prompting

使用有 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。多模态输入格式与支持的工具由所用协议决定。

API access

API documentation

Code samples

RequestPOST/v1/chat/completions
Example request
Parameters
ParameterTypeDefault / rangeDescription
temperature
number
=10 ~ 2
Sampling temperature; lower is more deterministic
top_p
number
=10 ~ 1
Nucleus sampling probability mass
max_tokens
integer>= 1Maximum number of tokens in the response
frequency_penalty
number
=0-2 ~ 2
Penalises repetition of frequent tokens
presence_penalty
number
=0-2 ~ 2
Encourages introducing new topics
stop
array—Up to 4 strings that stop generation
seed
integer—Deterministic sampling seed (best-effort)
n
integer
=1>= 1
Number of completions to generate
stream
boolean
=false
Stream tokens via Server-Sent Events
response_format
object—Force JSON object or schema-conforming output
tools
array—Tool / function declarations the model may call
tool_choice
string
autononerequired
Tool-choice policy or specific tool name
logprobs
boolean
=false
Return per-token log probabilities
top_logprobs
integer0 ~ 20Number of top log probabilities returned per token
logit_bias
object—Per-token logit bias map
user
string—End-user identifier for abuse monitoring

Replace <YOUR_API_KEY> with the API key from your token settings.

Authentication

All requests must include Authorization: Bearer <TOKEN> header. Anthropic-formatted endpoints accept the x-api-key header instead.

Generate tokens from the Tokens page; you can scope them to specific models, groups, IPs, and rate-limits.

Supported parameters

Generation parameters
ParameterTypeDefault / rangeDescription
temperature
number
=10 ~ 2
Sampling temperature; lower is more deterministic
top_p
number
=10 ~ 1
Nucleus sampling probability mass
max_tokens
integer>= 1Maximum number of tokens in the response
frequency_penalty
number
=0-2 ~ 2
Penalises repetition of frequent tokens
presence_penalty
number
=0-2 ~ 2
Encourages introducing new topics
stop
array—Up to 4 strings that stop generation
seed
integer—Deterministic sampling seed (best-effort)
n
integer
=1>= 1
Number of completions to generate
stream
boolean
=false
Stream tokens via Server-Sent Events
response_format
object—Force JSON object or schema-conforming output
tools
array—Tool / function declarations the model may call
tool_choice
string
autononerequired
Tool-choice policy or specific tool name
logprobs
boolean
=false
Return per-token log probabilities
top_logprobs
integer0 ~ 20Number of top log probabilities returned per token
logit_bias
object—Per-token logit bias map
user
string—End-user identifier for abuse monitoring

Rate limits

SupplierRPMTPMRPD
AlibabaUnlimitedUnlimitedUnlimited
officialUnlimitedUnlimitedUnlimited

No restriction

Frequently asked questions about qwen4-max

What is qwen4-max?

Compare qwen4-max API pricing, supported endpoints, capabilities and access options on Modelsell.

How do I call 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.

How is qwen4-max priced?

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.

What is the context window of qwen4-max?

The model catalog lists a context window of 1000000 tokens. Check the selected endpoint for request limits.

What is the maximum output of qwen4-max?

The model catalog lists a maximum output of 262144 tokens. Your request settings may set a lower limit.

How should I evaluate qwen4-max for my project?

Start with the use cases and prompting guidance on this page, then evaluate the model with representative inputs from your project.