Qwen4 Max

Released 2026-11-16

chatVisionCodeReasoningTool callingPrompt caching

Qwen4 Max is the next-generation flagship of Alibaba's Qwen family, released on November 16, 2026.

Input
text image $1.5/M
Output
text $4.5/M
Cache read
$0.075/M
Context
984K
vs GPT-4o
~70% cheaper

Price in context

Where the price sits among 68 comparable models

Input$1.5/M
$0.07 · Tencent Hy4 Flash GPT-5.4 Pro · $30
Output$4.5/M
$0.275 · DeepSeek V4 Flash GPT-5.4 Pro · $180
Cache read$0.075/M
$0.003 · Tencent Hy4 Flash GPT-6 Astra · $1

The bar shows how this model’s price compares with every other model of the same kind on Synthorai. The cheapest and the most expensive are named at each end. These are base rates; batch, region and cache-write discounts are on the pricing page.

Specs & limits

Tokens

Context window (vendor spec) 1,000,000
Max output (vendor spec) 262,144

Prompt caching

How it caches automatic + explicit
Min prefix 1,024
Lifetime explicit: 5m or 1h, renewed on hit
Write cost 1.25x (5m) / 2x (1h)

Thinking

Parameter reasoning_effort
Values minimal · low · medium · high accepted set is the provider's

Model

Modalities text + image → text
  • Next-generation Qwen flagship: text generation, image and video understanding and deep reasoning
  • thinking on by default at reasoning_effort high (low / high / xhigh)
  • from this generation max_tokens counts thinking and answer together, up to 262,144
  • Qwen4 explicit cache with breakpoints or automatic mode and a 5-minute or 1-hour lifetime

per Model specification source ↗

Use Qwen4 Max in 30 seconds

OpenAI-compatible: swap the base_url, keep your SDK. POST /v1/chat/completions

from openai import OpenAI

client = OpenAI(
    base_url="https://synthorai.io/v1",
    api_key="sk-syn-...",
)

resp = client.chat.completions.create(
    model="qwen4-max",
    messages=[{"role": "user", "content": "Summarize this diff"}],
    reasoning_effort="medium",
)
print(resp.choices[0].message.content)

About Qwen4 Max

  • Alibaba describes it as a multimodal model that combines text generation, image and video understanding and deep reasoning, built for coding, office productivity, frontend design and complex agentic tasks, with web search, tool calling and structured outputs.
  • It reads up to 1M tokens of context and thinks before it answers by default, at high effort, with low and xhigh as the other levels; from this generation Chat Completions' max_tokens covers thinking and answer together, up to 262,144 tokens.
  • It is also the first Qwen with the Qwen4 explicit cache, which adds an automatic caching mode and a choice of a 5-minute or 1-hour lifetime, each priced as its own write.

FAQ

Is the Qwen4 Max API free to try?

Yes: new accounts get 10 trial calls and up to $1 in free credit, no card required. At $1.5/M input tokens, that credit alone covers roughly 83 requests of ~8K tokens against Qwen4 Max.

What is Qwen4 Max best at?

Next-generation Qwen flagship with deep reasoning; 1M-token context, text and image input; 5-minute or 1-hour explicit cache. See the About section for the full picture from the vendor's own release notes.

How much does Qwen4 Max cost?

Qwen4 Max costs $1.5 per million input tokens and $4.5 per million output tokens on Synthorai. That is the provider's list price, with no platform markup. Cached input tokens bill at $0.075/M.

What is Qwen4 Max's context window?

Qwen4 Max has a context window of 984K tokens on Synthorai. A single response can be up to 262,144 tokens long.

Does Qwen4 Max support prompt caching?

Yes: automatic caching is on by default, and an explicit mode lets you choose what gets cached. Cached input tokens bill at $0.075/M vs $1.5/M uncached; prompts need a 1,024-token stable prefix to cache (TTL explicit: 5m or 1h, renewed on hit). Prompt caching guide →

How do I get access to Qwen4 Max?

Point your existing OpenAI SDK at base_url="https://synthorai.io/v1", set model="qwen4-max", and you're done. One API key covers every model on the gateway.

Related models

Compare

Specifications and vendor benchmarks link to their sources. Gateway support describes the Synthorai implementation. Archived examples are individual gateway requests, not a guarantee of general model performance. Prices use the public feed or its build snapshot.

Get your API key Compare your cost →