Qora API — AI API Gateway for Developers

AI API Gateway for Developers

One clear API workflow for your apps, scripts and automations.

Qwen4-Max API: Price, Model ID and vs Qwen3.8-Max (2026)

Published

Short answer: Qwen4-Max is Alibaba’s new flagship model, generally available since November 16, 2026 under the API model ID qwen4-max. As of November 17, 2026 its international (Singapore) list price is $1.50 per 1M input tokens and $4.50 per 1M output tokens, with cached input at $0.075. It has a 1,000,000-token context window, accepts text, image and video, and is 25% cheaper than Qwen3.8-Max ($2 / $6).

This guide covers what Qwen4-Max costs once thinking tokens are counted, how it compares with Qwen3.8-Max, what to change when migrating, and how to call it with the OpenAI SDK. Official figures come from Alibaba Cloud’s Qwen4-Max docs and Model Studio pricing page.

What is Qwen4-Max?

Qwen4-Max is a mixture-of-experts model with 2.4 trillion total parameters and 71 billion active per token, according to Alibaba’s announcement. A Token Plan-only preview (qwen4-max-preview) opened on November 11, 2026; the pay-as-you-go release followed on November 16. The preview model is separate and ends on November 25, 2026. There are no open weights for Qwen4-Max; Alibaba says smaller Qwen4 models will be opened later.

  • Efficiency claim: Alibaba reports it beats Qwen3.8-Max on its Work360 benchmark with about 35% fewer tokens at High effort, and about 60% lower average cost per task. These are Alibaba’s own numbers.
  • Coding: ranked 6th on Code Arena, per Alibaba.
  • Features: thinking mode, function calling, built-in web search, structured output, and OpenAI- and Anthropic-compatible endpoints.

How much does the Qwen4-Max API cost?

Item Singapore (international) Beijing / Global
Input / 1M tokens $1.50 $1.413
Output / 1M tokens (thinking included) $4.50 $4.24
Cache read / 1M $0.075 $0.071
Cache write (5 min / 1 hour) / 1M $1.875 / $3.00 $1.767 / $2.827

There is a single price tier for the whole 1M context and the same rate in thinking and non-thinking modes. Thinking tokens are billed as output, so a short answer can still cost thousands of output tokens at high effort.

Qwen4-Max vs Qwen3.8-Max: which is cheaper?

Qwen4-Max Qwen3.8-Max
Model ID qwen4-max qwen3.8-max
Input / output per 1M $1.50 / $4.50 $2.00 / $6.00
Context 1M 1M
Active parameters 71B 25% more

Qwen4-Max is 25% cheaper on both input and output. Alibaba also says cache reads are 70% cheaper. See the Qwen3.8 Max price page for the older model.

What does a month of Qwen4-Max cost?

A coding agent that sends 30M input tokens and 6M output tokens a month costs $45 + $27 = $72 at list price. The same volume on Qwen3.8-Max is $60 + $36 = $96. If 70% of the input hits the implicit cache (21M tokens at $0.075, 9M at $1.50), the input part falls from $45 to about $15, so the total lands near $42.

How do I call Qwen4-Max with the OpenAI SDK?

Qwen4-Max works with the OpenAI Chat Completions format. Check qoraapi.com/pricing to see whether qwen4-max is listed on Qora API yet; the pattern below is the same for any listed model.

from openai import OpenAI

client = OpenAI(base_url="https://qoraapi.com/v1", api_key="YOUR_QORA_KEY", timeout=600)
resp = client.chat.completions.create(
    model="qwen4-max",
    messages=[{"role": "user", "content": "Plan and write a FastAPI todo service."}],
)
print(resp.choices[0].message.content)

Use a generous timeout and avoid low max_tokens caps: Alibaba allows up to 131,072 output tokens without thinking and 262,144 for thinking plus answer.

How do I migrate from Qwen3.8-Max?

  • Change the model string from qwen3.8-max to qwen4-max.
  • Do not use qwen4-max-preview; it is Token Plan only and shuts down November 25, 2026.
  • Check which region you call: Singapore and Beijing/Global have different prices and data scope.
  • Re-test prompts that relied on a fixed token budget; Qwen4-Max is meant to use fewer tokens per task.

Qwen4-Max API FAQ

What is the Qwen4-Max model ID?

The ID is qwen4-max. The preview ID qwen4-max-preview is a different, temporary model.

Does Qwen4-Max have open weights?

No. It is API-only. Alibaba has said smaller Qwen4 models will get open weights, without names or dates.

How big is the Qwen4-Max context window?

1,000,000 tokens, with up to 131,072 output tokens without thinking and 262,144 for thinking plus answer.

Is Qwen4-Max available on Qora API?

Check the live pricing page. The full spec sheet is on the Qwen4-Max model page, and you can create a Qora API key to use the other listed models today.

Is Qwen4-Max cheaper than GPT or Claude flagships?

At $1.50 / $4.50 per 1M tokens it is well below Claude Fable 5.2 ($8 / $40 official), and similar in range to GPT-6.1 Terra ($1 / $5 official). Compare current prices on the model prices hub.

Build AI features with one clear API

Qora API gives you a single, focused gateway to connect your apps, scripts and automations to AI. Start with one request.

qoraapi.com · AI API gateway for developers

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *