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
Rates by prompt length
The whole request uses the rate for its input-length tier. Prices are USD per million tokens.
| Input tokens | Input | Output | Thinking input |
|---|
Price in context
Where the price sits among 68 comparable models
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
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)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://synthorai.io/v1",
apiKey: "sk-syn-...",
});
const resp = await client.chat.completions.create({
model: "qwen4-max",
messages: [{ role: "user", content: "Summarize this diff" }],
reasoning_effort: "medium",
});
console.log(resp.choices[0].message.content);curl https://synthorai.io/v1/chat/completions \
-H "Authorization: Bearer sk-syn-..." \
-H "Content-Type: application/json" \
-d '{
"model": "qwen4-max",
"messages": [{"role": "user", "content": "Hello"}],
"reasoning_effort": "medium"
}'package main
import (
"context"
"fmt"
"github.com/openai/openai-go/v3"
"github.com/openai/openai-go/v3/option"
)
func main() {
client := openai.NewClient(
option.WithBaseURL("https://synthorai.io/v1"),
option.WithAPIKey("sk-syn-..."),
)
resp, _ := client.Chat.Completions.New(context.TODO(), openai.ChatCompletionNewParams{
Model: "qwen4-max",
Messages: []openai.ChatCompletionMessageParamUnion{
openai.UserMessage("Summarize this diff"),
},
ReasoningEffort: openai.ReasoningEffortMedium,
})
fmt.Println(resp.Choices[0].Message.Content)
}import com.openai.client.OpenAIClient;
import com.openai.client.okhttp.OpenAIOkHttpClient;
import com.openai.models.chat.completions.*;
import com.openai.models.ReasoningEffort;
OpenAIClient client = OpenAIOkHttpClient.builder()
.baseUrl("https://synthorai.io/v1")
.apiKey("sk-syn-...")
.build();
ChatCompletion resp = client.chat().completions().create(
ChatCompletionCreateParams.builder()
.model("qwen4-max")
.addUserMessage("Summarize this diff")
.reasoningEffort(ReasoningEffort.MEDIUM)
.build());
System.out.println(resp.choices().get(0).message().content().orElse(""));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.