Skip to content

Qwen

Qwen4 Max

Reads long text and images and uses multistep reasoning.

qwen/qwen4-max
Input → Output
Text, images → Text/Text
Maximum input
1M tokens
Provider
1
Tool invocation
Yes

Price per million tokens

Input
2,430 credits
Output
7,290 credits

Provider

Several providers serve the same model. Performance is measured on actual AlpRouter requests over the last seven days, and uptime over the last three.

ProviderInput / 1MOutput / 1MCache readFirst tokenThroughputUptime
Alibaba Cloud2,430 credits7,290 credits----

Time to first token and throughput are medians (P50). Values are hidden for fewer than 10 requests.

Use the API

from openai import OpenAI

client = OpenAI(
    base_url="https://alprouter.com/api/v1",
    api_key="alp-your-key",
)

answer = client.chat.completions.create(
    model="qwen/qwen4-max",
    messages=[{"role": "user", "content": "Hello"}],
)
print(answer.choices[0].message.content)

Details

Maximum input
1M tokens
Maximum output
131.1K tokens
Tool invocation
Supported
Supported input
Text, images
Output
Text/Text
Provider
Alibaba Cloud
Supported parameters
frequency_penalty, max_completion_tokens, max_tokens, n, parallel_tool_calls, presence_penalty, reasoning_effort, response_format, seed, stop, stream, temperature, tool_choice, tools, top_p

Frequently asked questions

What kind of model is Qwen4 Max?

A model from Qwen. Reads long text and images and uses multistep reasoning. Model ID on AlpRouter: qwen/qwen4-max

How much does Qwen4 Max cost?

Per million tokens: 2,430 credits input, 7,290 credits output. One credit equals ₩1. Only usage is deducted from your balance. There is no monthly subscription.

How much input does Qwen4 Max accept?

Each request accepts up to 1M tokens. The maximum output is 131.1K tokens.

What input and output does Qwen4 Max support?

Send Text, images to receive Text/Text.

Does Qwen4 Max support tool calling and structured JSON?

Tool calling: Supported. Structured output (response_format): Supports the json_object, json_schema format..

Which providers handle Qwen4 Max requests?

Alibaba Cloud handles these requests.

How do I call Qwen4 Max from code?

Just replace the base_url in the OpenAI SDK with https://alprouter.com/api/v1. Also, specify the name of the model in the model field (qwen/qwen4-max). There’s an example of how to do this in the “Using the API” section above.

Other models from Qwen