Alibaba route

qwen4-max-preview

Qwen4 Max Preview API access.

One OpenAI-compatible route at a disclosed public reference rate, billed per token from one prepaid balance. No subscription required. See the Qwen4-Max Preview API pricing notes.

Route status Available

#54

Cost rank / 82

mid-range

Cost band

Published route economicsUSD / 1M tokens

Input / 1M tokens

$2.00

Output / 1M tokens

$6.00

Context window

1M

Provider

Alibaba

Preview model. Alibaba offers Qwen4-Max Preview only on its Token Plan subscription and publishes no per-token API price, so RouterPlex bills Qwen3.8 Max's list rate of $2 input / $6 output per 1M tokens. Alibaba retires the preview on November 25, 2026. Reasoning is on by default, so allow a generous max_tokens or short replies can come back empty.

Workload calculator

Put the token rate into context.

These examples apply the published input and output rates directly. Actual cost follows the exact tokens your client sends and the model returns.

This route is the 54th cheapest of 82 comparable text models and cheaper than 23 on the same key. Its context window ranks 28th of 82.

Cost simulationPublished base rate

Short request

$0.026

10K input + 1K output

Agent turn

$0.26

100K input + 10K output

Exact token billing

No request minimum

One model ID change

OpenAI compatible

Cost neighbourhood

Nearby routes, same workload.

Every comparison uses the same 100K-input / 10K-output turn. Changing route is a one-line model ID edit.

Price does not measure task quality.

First request

Route it in one call.

Use any OpenAI SDK or tool. Keep the request shape, point the base URL at RouterPlex, and set the model ID shown here.

Read the quickstart
curl /chat/completions
curl https://api.routerplex.com/v1/chat/completions \
-H "Authorization: Bearer $ROUTERPLEX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen4-max-preview",
"messages": [{"role": "user", "content": "Hello!"}]
}'

Route notes

Questions before production traffic.

Same endpoint, every route
01How much does the Qwen4 Max Preview API cost?+

Through RouterPlex, Qwen4 Max Preview costs $2.00 per 1M input tokens and $6.00 per 1M output tokens — RouterPlex's disclosed public reference rate, billed per token from a prepaid balance you top up from $5. Preview model. Alibaba offers Qwen4-Max Preview only on its Token Plan subscription and publishes no per-token API price, so RouterPlex bills Qwen3.8 Max's list rate of $2 input / $6 output per 1M tokens. Alibaba retires the preview on November 25, 2026. Reasoning is on by default, so allow a generous max_tokens or short replies can come back empty.

02What does one Qwen4 Max Preview agent turn cost?+

A 100K-token input with a 10K-token reply costs about $0.26 on Qwen4 Max Preview. That makes it the 54th cheapest of 82 comparable text models on RouterPlex, roughly 21.7× the cost of the cheapest option (Muse Spark 1.2 Contributor).

03What is a cheaper alternative to Qwen4 Max Preview?+

GLM-5.3 Abliterated from Zhipu is the closest cheaper model on RouterPlex — $0.24 per agent turn against $0.26 for Qwen4 Max Preview, at $2.00/1M input and $4.00/1M output. Both run on the same key and the same endpoint, so switching is a one-line model ID change.

04Is Qwen4 Max Preview cheaper than Claude Sonnet 5?+

Yes. Per agent turn, Qwen4 Max Preview costs about $0.26 against $0.30 for Claude Sonnet 5 — 13% less.

05What is the context window of Qwen4 Max Preview?+

Qwen4 Max Preview supports a 1M token context window on RouterPlex, the 28th largest of the 82 models that publish one.

06Can I use Qwen4 Max Preview with the OpenAI SDK?+

Yes. RouterPlex serves Qwen4 Max Preview through an OpenAI-compatible endpoint at https://api.routerplex.com/v1 — point any OpenAI SDK or tool at that base URL with your RouterPlex key and set model to "qwen4-max-preview".

Deploy this route

Put Qwen4 Max Preview behind one key.

Top up from $5 with no subscription required.