Qwen4 Max

qwen/qwen4-max

Sign up to try it

Overview

Chat

Alibaba's flagship with a 1M-token context, text, image and video input, and thinking enabled by default with adjustable effort.

Made by Qwen · released Nov 2026

Input

Text · Images · Video

Output

Text
Context
1.000.000
Input, maximum
868.928
Output, maximum
131.072
Default output
4.096
  • Reasoning Supported
  • Tool calling Supported
  • Prompt caching Supported
  • Automatic fallback routes Not supported

Routes and pricing

Providers are tried in the order listed below. We try these providers in order. If one fails, we move on to the next, and you pay the rate of the one that answers.

Alibaba Cloud

primary
Input
Rp27.750per million tokens$1.5
Output
Rp83.250per million tokens$4.5
Cache read
Rp1.390per million tokens$0.075
Cache write 5m
Rp34.690per million tokens$1.875

Per-part units

Max tokens per input image
16.386 measured live 2026-11-18, 2026-11-18
Tokens per second of video
600 measured live 2026-11-18, 2026-11-18

Today's reference rate: Rp18.500/USD

Prices exclude the 5,5% service fee

Data and privacy

Alibaba Cloud Alibaba Cloud Model Studio privacy notice

Used to train models
No
Retention
Not stated in the policy.
Processing location
Singapore, the Model Studio region indoRouter uses.
At indoRouter
We don't store your prompts or responses. Files you upload, batches, and responses you send with store: true are kept encrypted for up to 30 days.

Code samples

Use this model ID with any OpenAI SDK. The base URL is the same for every model.

curl https://api.indorouter.ai/v1/chat/completions \
  -H "authorization: Bearer $INDOROUTER_API_KEY" \
  -H "content-type: application/json" \
  -d '{"model": "qwen/qwen4-max",
       "messages": [{"role": "user", "content": "halo"}]}'