70% off Wan3.0 Standard and 50% off Wan3.0 Prime. Try Wan3.0

Qwen4-Max is live on Runware

Alibaba's flagship Qwen4 model for coding, office work, front-end design, and complex agents, with a 1M-token context and text, image, and video input. Live now on Runware's OpenAI-compatible endpoint, with Qwen4-Plus and Flash coming soon.

0:00
Live now
  • Max
Coming soon
  • Plus
  • Flash

Built for real-world tasks.

Qwen4-Max builds on Qwen3.8-Max, with stronger world knowledge, perception, and professional tool use.

  • World knowledge
  • Perception
  • Coding
  • Office productivity
  • Front-end design
  • Agents and GUI operations

Model details

Alibaba's flagship Qwen4 model, released November 16, 2026, with closed weights. A mixture-of-experts model that reads text, images, and video in a 1M-token context, with reasoning on by default.

Model ID
alibaba:qwen@4-max
Developer
Alibaba
Parameters
2.4T total, 71B active
Context window
1M tokens
Max output
128K tokens
Input
Text, images, video
Output
Text
Reasoning
On by default, adjustable effort
Tools
Function calling, JSON Schema output
Endpoints
Chat Completions, Responses
Released
November 16, 2026
License
Closed weights, API only

Qwen4-Max benchmarks

Alibaba's published results against its predecessor and current frontier models. Qwen4-Max posts the top score on DeepSWE coding and Agents' Last Exam, and comes within 1.4 points of the leader on APEX-Agents and AutomationBench-AA.

DeepSWE v1.1Original long-horizon coding tasks in five languages: % resolved
  1. Qwen4-Max75.7%
  2. Kimi K3.175.5%
  3. GPT-6.1 Sol75.2%
  4. Opus 5.574.2%
  5. GPT-6 Astra74.1%
  6. Qwen3.8-Max69.3%
Agents' Last Exam v1.1Expert-built professional tasks across 55 industries: % passed
  1. Qwen4-Max46.7%
  2. Opus 5.543.4%
  3. GPT-6 Astra43.4%
  4. GPT-6.1 Sol42.6%
  5. Qwen3.8-Max27.9%

Not reported: Kimi K3.1

APEX-Agents v1.1Long multi-app tasks from banking, consulting, and law: % passed first try
  1. Opus 5.573.5%
  2. Qwen4-Max72.1%
  3. Kimi K3.165.5%
  4. GPT-6 Astra64.7%
  5. Qwen3.8-Max63.3%
  6. GPT-6.1 Sol60.0%
AutomationBench-AAWorkflow automation across business apps: % of objectives completed
  1. Kimi K3.173.3%
  2. Qwen4-Max72.5%
  3. Opus 5.569.5%
  4. GPT-6 Astra68.5%
  5. GPT-6.1 Sol64.9%
  6. Qwen3.8-Max56.2%
BenchmarkQwen4-MaxQwen3.8-MaxOpus 5.5GPT-6.1 SolGPT-6 AstraKimi K3.1
DeepSWE v1.175.7%69.3%74.2%75.2%74.1%75.5%
Agents' Last Exam v1.146.7%27.9%43.4%42.6%43.4%—
APEX-Agents v1.172.1%63.3%73.5%60.0%64.7%65.5%
AutomationBench-AA72.5%56.2%69.5%64.9%68.5%73.3%

Alibaba-published figures from the Qwen4-Max launch, four of the 16 benchmarks it reports. Dash: not reported.

What to build with Qwen4-Max

Coding agents

Multi-step changes across real repositories. Qwen4-Max posts the top DeepSWE v1.1 score in Alibaba's comparison, 75.7.

Office productivity

Documents, spreadsheets, and reports, plus multi-step workflows across the business apps a team already uses.

Front-end design

Web interfaces built from a written brief or from a screenshot of a design.

Screenshot and document analysis

Screenshots, scanned documents, charts, and video, read alongside text in one request.

GUI agents

Agents that operate graphical interfaces, reading the screen and choosing the next action.

Long-context work

Up to 1M tokens in one request, enough for a large codebase or a document archive without chunking.

Qwen4-Max pricing

Billed per token, under the same usage-based pricing as every other model on Runware. Cached input drops to $0.075/M on hits.

Input
$1.50/1M tokens
Input on cache hits
$0.075/1M tokens
Cache writes
$1.875/1M tokens
Output
$4.50/1M tokens

Same key and billing as every other model on the platform. Qwen4-Plus and Flash rates are published when they launch.

Get started

Runware's endpoint takes the OpenAI Chat Completions format, so the OpenAI SDK works as it is. Change the base URL, key, and model ID. The stream ends with a usage chunk that includes the request's cost.

import os

from openai import OpenAI

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

stream = client.chat.completions.create(
    model="alibaba:qwen@4-max",
    messages=[
        {"role": "user", "content": "Turn these meeting notes into a list of action items, each with an owner."},
    ],
    stream=True,
    stream_options={"include_usage": True},
)

for chunk in stream:
    if chunk.choices and chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="", flush=True)
    if chunk.usage:
        print("\n", chunk.usage)

Last stream chunk, with usage and cost

{
  "object": "chat.completion.chunk",
  "model": "alibaba:qwen@4-max",
  "choices": [],
  "usage": {
    "prompt_tokens": 51,
    "completion_tokens": 412,
    "total_tokens": 463,
    "cost": 0.00193
  }
}

Frequently asked questions

What is Qwen4-Max?

The flagship of Alibaba's Qwen4 family, released November 16, 2026. It builds on Qwen3.8-Max with stronger world knowledge, perception, and professional tool use, and reads text, images, and video in a 1M-token context. Alibaba built it for coding, office work, front-end design, and agents.

How much does Qwen4-Max cost on Runware?

$1.50 per million input tokens, $0.075 on cache hits, and $4.50 per million output tokens. Writing to the cache costs $1.875 per million tokens. It's billed per token, with no subscription.

When are Qwen4-Plus and Qwen4-Flash coming?

Soon. Qwen4-Plus is the mid-tier model, and Qwen4-Flash is the lightweight one, for fast, high-volume work. Leave your details below and we'll let you know when they're live.

Is Qwen4-Max multimodal?

Yes. It takes text, images, and video as input, for screenshot analysis, document understanding, and video analysis, and returns text.

How does Qwen4-Max compare with other models?

In Alibaba's published results it posts the top score on DeepSWE v1.1 (75.7) and Agents' Last Exam (46.7), ahead of Claude Opus 5.5 and GPT-6.1 Sol. On some others, such as Terminal-Bench 4.0, Kimi K3.1 and Claude Opus 5.5 score higher.

How do I call Qwen4-Max?

Through Runware's OpenAI-compatible endpoint, in the Chat Completions or Responses format, with the same API key and billing as every other model. If you already call an LLM on Runware, switch the model ID to alibaba:qwen@4-max.

Is Qwen4-Max open-weight?

No. Alibaba hasn't released Qwen4-Max's weights, so it's available by API only.

Running Qwen4-Max at scale?

Tell us what you're building and your expected volume. We'll get back to you about rate limits and dedicated capacity, and let you know when Qwen4-Plus and Flash go live.