Skip to content

Qwen

Qwen Max

Chats in text and calls tools as needed.

qwen/qwen-max
Input → Output
Text/Text → Text/Text
Maximum input
32.8K tokens
Provider
1
Tool invocation
Yes

Price per million tokens

Input
2,592 credits
Output
10,368 credits
Cached input reads
518.4 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,592 credits10,368 credits518.4 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/qwen-max",
    messages=[{"role": "user", "content": "Hello"}],
)
print(answer.choices[0].message.content)

Details

Maximum input
32.8K tokens
Scheduled retirement
2027.03.01 (date set by the provider)
Maximum output
8.2K tokens
Tool invocation
Supported
Supported input
Text/Text
Output
Text/Text
Provider
Alibaba Cloud
Supported parameters
frequency_penalty, max_completion_tokens, max_tokens, n, parallel_tool_calls, presence_penalty, response_format, seed, stop, stream, temperature, tool_choice, tools, top_p

Frequently asked questions

What kind of model is Qwen Max?

A model from Qwen. Chats in text and calls tools as needed. Model ID on AlpRouter: qwen/qwen-max

How much does Qwen Max cost?

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

How much input does Qwen Max accept?

Each request accepts up to 32.8K tokens. The maximum output is 8.2K tokens.

What input and output does Qwen Max support?

Send Text/Text to receive Text/Text.

Does Qwen Max support tool calling and structured JSON?

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

Which providers handle Qwen Max requests?

Alibaba Cloud handles these requests.

How do I call Qwen 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/qwen-max). There’s an example of how to do this in the “Using the API” section above.

Other models from Qwen