Showcase11 min read

Qwen4-Max review: specs, pricing, and benchmarks on real contracts

Qwen4-Max's specs, pricing, and gains over Qwen3.8-Max, and how it did when we scored its analysis of 46 real contracts against labels from legal experts.

Vadim Vozmitsel
Vadim Vozmitsel
•

TL;DR

Qwen4-Max, Alibaba's new flagship model, has been live on Runware since November 16. Its launch post lists legal due diligence among the work it can take on, and we were curious to see how it would do. So we gave it 46 real commercial contracts, about 425,000 words in all, and asked it to find 10 kinds of clauses that matter in a deal. At high effort it found 205 of the 212 clauses that legal experts had marked, and 97% of its quotes matched the contracts word for word. A full review took 8 to 10 minutes. It cost $1.66 the first time and about $0.81 when we ran it again with the contracts already in the cache.

Qwen4-Max specs and features

Qwen4-Max is the flagship of Alibaba's Qwen4 family, built for coding, office work, front-end design, and agents. It reads text, images, and video, holds up to 1M tokens of context, and has three effort levels that set how long it thinks before it answers.

Qwen4-Max
DeveloperAlibaba
Model ID on Runwarealibaba:qwen@4-max
ReleasedAnnounced November 15, 2026, and live on Runware since November 16
InputText, images, and video
OutputText
Context window1M tokens
Maximum output131,072 tokens, or 262,144 with thinking on
Reasoning effortlow, high, or xhigh, with high as the default
ToolsFunction calling, and structured output that follows a JSON Schema
APIOpenAI-compatible, with the Chat Completions and Responses endpoints
Size2.4T parameters in all, 71B active per token
WeightsClosed, so it's available by API only

Qwen4-Max pricing

On Runware, Qwen4-Max is billed per token, with no subscription or minimum. These are its list prices as of November 23, 2026.

Price per 1M tokens
Input$1.50
Cached input$0.075
Writing to the cache$1.875
Output$4.50

Input that Qwen4-Max has already read comes from its cache at a twentieth of the normal price, which made a repeat of our contract test about half as expensive as the first run. The latest prices are on the Qwen4-Max API and pricing page.

Our test: due diligence on 46 real contracts

Due diligence is the contract review that happens before a company is bought or invested in, and it is one of the jobs Alibaba listed when it announced Qwen4-Max on November 15, 2026. It also makes a good test for a model, because every answer has to come with proof. For each contract, Qwen4-Max had to say whether a clause is there and quote the passage that shows it, so that a reviewer can check every finding.

The contracts come from CUAD, a free dataset from The Atticus Project with 510 real commercial contracts that legal experts labeled for 41 kinds of clauses. If you want to try this yourself, the labeled contracts are in CUADv1.json, inside the data.zip file in CUAD's GitHub repository. The dataset is licensed under CC BY 4.0, so you can reuse it as long as you credit The Atticus Project.

0146 contractsAbout 425,000 words from the CUAD dataset
026 requests at onceAbout 100,000 tokens each
03Qwen4-MaxFinds 10 clause types and quotes each one
04Scored in codeAgainst expert labels, with every quote checked
How each run worked. The answers to the 6 requests were merged into one review before scoring.

Each of the 6 requests ended with the same instructions.

The instructions sent with the first part, which held 8 contracts: Above are 8 commercial contracts from a data room. Review every contract for the 10 clause types listed below. …

Qwen4-Max test results at low and high effort

We ran the full review 3 times at low effort and 3 times at high, and the table shows the average for each level.

lowhigh
Clauses found (of 212)201205
Clauses flagged that the experts hadn't marked5255
Quotes that match the contract word for word98%97%
Time for a full review7.7 minutes8.8 minutes
Cost of a first review$1.58$1.66
Cost of a repeat review, with the cache$0.74$0.81
F1 score86.3%86.9%

Both levels found more than 9 in 10 of the clauses that the experts had marked, and the results barely moved from one run to the next. At low, a review was a little cheaper and about a minute faster, while high found a few more clauses.

Share of clauses found, by clause type

At high effort, averaged over 3 runs. 100% means Qwen4-Max found every clause of that type that the legal experts marked.

Governing law100%
Change of control100%
Most favored nation100%
Uncapped liability100%
Cap on liability99%
Anti-assignment98%
IP ownership assignment94%
Exclusivity93%
Termination for convenience93%
Non-compete79%
Scored against the expert labels in CUAD v1.

Every finding came with a quote from the contract, and about 97% of the quotes matched the contract word for word. Another 2% came out nearly word for word, with small differences such as a missing space or a page number left out. That left 0.6% that our automatic check couldn't match, 12 quotes across the 6 runs. We checked those by hand, which wasn't part of the scoring rules we set before the test. Each one was a real passage with a page-break notice left out of the middle of a clause, so none of the quotes were made up.

Qwen4-Max also flagged 52 to 55 clauses per run that the experts hadn't marked, and some of these read like real clauses that the labels left out. The F1 score in the last row of the table rolls all of this into one number. It goes up with each marked clause the model finds and down with each one it misses or each extra one it flags, so 100% would mean finding all 212 and flagging nothing else.

For comparison, answering yes for all 10 clause types in every contract, without reading anything, would score 63.1%. That guess catches all 212 marked clauses, and a lot of its yeses are right, because governing law is in 45 of the 46 contracts and anti-assignment is in 40. More than half of its 460 answers are still wrong, though, which keeps it well below Qwen4-Max's 86.3% at low and 86.9% at high.

What contract analysis costs on Qwen4-Max

First review

$1.66

All 46 contracts at high effort

Repeat with the cache

$0.81

About half the first run

Per contract

3.6¢

On a first review

These figures are for high effort. At low, a first review cost $1.58 and a repeat cost $0.74. A repeat costs about half as much because Qwen4-Max reads almost all of the input from its cache, at $0.075 per 1M tokens instead of $1.50. The cache needs no setup, and in our runs it only kicked in when the effort level stayed the same.

Qwen4-Max vs Qwen3.8-Max

Our test looked at one kind of task. Public results show how Qwen4-Max compares with Qwen3.8-Max, the flagship it follows: it costs 25% less per token, adds video input, and scores higher on every benchmark below.

Qwen4-MaxQwen3.8-Max
InputText, images, and videoText and images
Context window1M tokens1M tokens
Price per 1M tokens, in / out$1.50 / $4.50$2.00 / $6.00
Intelligence Index4334
DeepSWE v1.175.7%69.3%
Agents' Last Exam v1.146.7%27.9%
APEX-Agents v1.172.1%63.3%
AutomationBench-AA72.5%56.2%
Work360 cost per task$1.67$4.43

DeepSWE measures long coding tasks, Agents' Last Exam expert-built professional work across 55 industries, APEX-Agents long tasks across several apps from banking, consulting, and law, and AutomationBench workflow automation across business apps. The biggest jump is on Agents' Last Exam, at 18.8 points. Alibaba also reports that Qwen4-Max uses about 35% fewer tokens than Qwen3.8-Max at high effort, and that the average cost of a task on its Work360 test fell by 62%.

The Intelligence Index scores come from Artificial Analysis, which runs Qwen4-Max at xhigh effort. The other scores and the Work360 costs are Alibaba's own, from its launch post as reported by DataCamp. DataCamp also finds Qwen4-Max strongest on long-horizon agent work and professional deliverables, and singles out Alibaba's legal demo, in which the model turned 198 working papers into an 86-page report. Qwen3.8-Max isn't on Runware, so the prices in the table are Alibaba Cloud's for both models.

Run the same task on Runware

The Qwen4-Max API takes the standard OpenAI chat format, so the OpenAI SDK works as soon as you point it at Runware's base URL. Here is the shape of the requests behind every run:

from concurrent.futures import ThreadPoolExecutor
from openai import OpenAI
import os

client = OpenAI(
    base_url="https://api.runware.ai/v1",
    api_key=os.environ["RUNWARE_API_KEY"],
)

def review(part_text):
    stream = client.chat.completions.create(
        model="alibaba:qwen@4-max",
        messages=[{"role": "user", "content": part_text + "\n\n" + brief}],
        reasoning_effort="high",          # low, high or xhigh
        max_completion_tokens=262144,     # thinking and the answer share this budget
        response_format={"type": "json_schema", "json_schema": answer_schema},
        stream=True,
        stream_options={"include_usage": True},
    )
    return "".join(
        chunk.choices[0].delta.content or ""
        for chunk in stream
        if chunk.choices
    )

# The 46 contracts go out in 6 parts of about 100,000 tokens, all at the same time.
with ThreadPoolExecutor(max_workers=6) as pool:
    answers = list(pool.map(review, data_room_parts))

You'll find the endpoints and prices in the Qwen4-Max docs.

Frequently asked questions

It did well in our test. It analyzed 46 contracts, about 425,000 words, and found 205 of the 212 clauses that legal experts had marked at high effort. About 97% of its quotes matched the contracts word for word, and none of them were made up.

How we tested

The contracts and their labels come from CUAD v1, the Contract Understanding Atticus Dataset by The Atticus Project, where the clauses were marked by hand under the supervision of experienced lawyers. We picked 46 of its 510 contracts at random, and each of the 10 clause types appears in at least 5 of them. A single request with all 46 contracts would have run longer than our setup allows for one response, so the contracts went to Qwen4-Max as 6 requests of about 100,000 tokens, sent at the same time. We merged the answers before scoring them.

We fixed the scoring rules before the first run, and code checked every answer against the labels and every quote against the contracts. We also tried xhigh, but it thinks for longer and ran into the same time limit at this request size, so we left it out of the results. All runs took place on November 19, 2026. Prices are Runware's list prices as of that day. CUAD has been public since 2021, so the model may have seen these contracts during training. Nothing here is legal advice.

Written by

Vadim Vozmitsel

Developer Advocate at Runware

Vadim Vozmitsel is a Developer Advocate at Runware and part of the growth team, focusing on technical education and product evangelism.

More posts by Vadim Vozmitsel
Articles|

Run your own data room through Qwen4-Max.

Call it with the OpenAI SDK and the model ID alibaba:qwen@4-max.

Try Qwen4-Max

Keep reading

Runware Zero Data Retention
Update•Sep 29, 2026•4 min read

Zero Data Retention on Runware, now available

Runware's Zero Data Retention (ZDR) lets enterprise teams run AI image, video, and language model requests without retaining prompts or generated outputs.

Ally Nicoll
Ally Nicoll
Updated Oct 8, 2026
The closed-source LLM premium has collapsed — open vs proprietary model economics
Showcase•Jun 15, 2026•12 min read

The closed-source LLM premium has collapsed

Open-source models now match closed-model benchmarks at 87% lower cost. Here's what that means for developers choosing between open source inference and OpenAI.