Roar AI
Get started
All models
Alibaba · Chat

Qwen 4 Max API

Qwen 4 Max costs $1.95 per million input tokens and $5.85 per million output tokens on Roar AI. Alibaba’s new flagship Qwen, for agent work across a million tokens.

Input$1.95per 1M tokens
Output$5.85per 1M tokens
Context window1Mtokens

Qwen 4 Max API pricing

Input$1.95 per 1M tokens
Output$5.85 per 1M tokens
Cached input$0.0975 per 1M tokens
Cache write$2.4375 per 1M tokens

Example: 1,000 requests with 3,000 input and 1,000 output tokens each cost $11.70. Every rate is published and stays the same from one request to the next. See every model, or estimate a monthly bill with the token calculator.

Rates as of 1 December 2026.

Specs

Made byAlibaba
ReleasedNovember 2026
TypeChat
Context window1M tokens
Longest answer131K tokens
ReadsText, images, video
Thinks before answeringYes, adjustable
WeightsClosed
Processed inSingapore
Model idqwen4-max

Is Qwen 4 Max worth the price?

For long agent jobs and work over large documents or video, it is worth trying. Alibaba reports a clear step up on Qwen 3.8 Max at a lower cost per task.

For anything a person waits on, look elsewhere: independent testing measured about a minute before its first word, and ranked it mid-table overall. If you need weights you can run yourself, stay on Qwen 3.8 Max.

Qwen 4 Max and the models to compare it with, priced per 1M tokens
ModelInputOutputChoose it for
Qwen 4 Max$1.95$5.85Agents and long-document work.
Qwen 3.8 Max$2.21$6.63Open weights you can download.
Kimi K3.1 Pro$2.60$13Coding and research agents.
Claude Sonnet 5.5$2$10Faster everyday work.

Prices per 1M tokens.

About Qwen 4 Max

Qwen 4 Max is Alibaba’s flagship, released on 16 November 2026 to succeed Qwen 3.8 Max. Alibaba calls it the most capable Qwen to date. It is a 2.4-trillion-parameter mixture of experts that uses 71 billion parameters per token, a quarter fewer than Qwen 3.8 Max, and unlike that model its weights are not available to download.

Alibaba reports 48.5 on Terminal-Bench 4.0, against 38.9 for Qwen 3.8 Max, using about half the tokens per attempt, and says a task on its own work test costs about 60% less. Artificial Analysis places it at 43 on its Intelligence Index v5, near the middle of the models it ranks.

It reads text, images and video in a window of a million tokens. It thinks by default, at three effort levels, and the thinking can be switched off at no change in rate.

What is Qwen 4 Max good for?

  • Agents that run long, multi-step jobs.
  • Research and analysis across long documents and video.
  • Coding at a lower cost per task than Qwen 3.8 Max, by Alibaba’s figures.

Qwen 4 Max limitations

  • Slow to start: Artificial Analysis measured about a minute before the first word of the answer, against a typical 13 seconds.
  • Wordy: it wrote about twice the typical output on Artificial Analysis’s tests.
  • Its headline scores are Alibaba’s own; independent testing ranks it mid-table.
  • No downloadable weights, unlike Qwen 3.8 Max.

How to use the Qwen 4 Max API

Use the OpenAI SDK you already have: point it at Roar AI and set the model name. Read the docs.

from openai import OpenAI

client = OpenAI(base_url="https://api.roar-ai.com/v1", api_key="roar_live_…")

reply = client.chat.completions.create(
    model="qwen4-max",
    messages=[{"role": "user", "content": "Summarise this contract in plain English."}],
)

Qwen 4 Max FAQ

How much does Qwen 4 Max cost?

Input is $1.95 per 1M tokens; output is $5.85 per 1M tokens. For example, 1,000 requests with 3,000 input and 1,000 output tokens each cost $11.70.

Can I use Qwen 4 Max alongside other models?

Yes. Every model on Roar AI is on the same API key and the same monthly invoice, so switching from Qwen 4 Max to another model only means changing the model name in your code.

Is Qwen 4 Max open source?

No. Alibaba does not publish the weights, so it is only available through an API like this one.

What is the context window of Qwen 4 Max?

Qwen 4 Max can read up to 1M tokens in one request, and write an answer of up to 131K tokens.

Can Qwen 4 Max read images and PDFs?

It reads images directly. You can still send it a PDF: Roar AI turns each page into text first, at no extra charge.

Start using Qwen 4 Max

Create a free account, get an API key and call Qwen 4 Max with the OpenAI SDK.