Compare

Qwen 3 Max vs GPT-5.4

Pricing per million tokens, context window, capabilities — pulled from each provider's public docs. All 2 are available via the same AIgateway OpenAI-compatible endpoint; flip the model string to switch.

Search2/4
Qwen 3 Max
alibaba/qwen3-max
GPT-5.4
openai/gpt-5.4
Provider
Alibaba
OpenAI
Family
Qwen
GPT-5
Modality
text
text
Context window
262,144 tok
1,000,000 tok
Max output
32,768 tok
16,384 tok
Released
2026-05-22
2026-05-22
License
Proprietary
Proprietary
Input price
$1.20 /1M
$2.50 /1M
Output price
$6.00 /1M
$15.00 /1M
Cache read
$0.250 /1M
Tools
yes
Streaming
yes
yes
Vision
yes
JSON mode
yes
Reasoning
yes
Prompt caching
yes
Batch API
yes
Try it
Open in playground →
Open in playground →
Qwen 3 Max
alibaba/qwen3-max
Full spec →

Alibaba's Qwen 3 Max is a large language model with strong coding, reasoning, and multilingual capabilities, served via DashScope's OpenAI-compatible endpoint.

Strengths
  • General-purpose chat
  • Long context
  • Tool use
Use cases
ChatbotsContent generationAgentic workflows
GPT-5.4
openai/gpt-5.4
Full spec →

GPT-5.4 is OpenAI's flagship model with strong coding, reasoning, and multimodal capabilities.

Strengths
  • Huge context window
  • Strong on math + code
  • Excellent JSON mode
Use cases
Long-document Q&AStructured extractionCode generationAnalytical work

Benchmarks

Qwen 3 Max
GPT-5.4
GSM8K
98.2
HumanEval
94.0
MMLU
91.8

Source: each provider's published benchmarks. Higher is better. Run an eval to compare on your own data.

Compare with another

Claude Opus 4.7 vs GPT-5.4
anthropic/claude-opus-4.7 · openai/gpt-5.4
Gemini 3.1 Pro vs GPT-5.4
google/gemini-3.1-pro · openai/gpt-5.4
Claude Sonnet 4.6 vs GPT-5.4
anthropic/claude-sonnet-4.6 · openai/gpt-5.4
Kimi-K2.7-Code vs GPT-5.4
moonshot/kimi-k2.7-code · openai/gpt-5.4
GPT-5.4 vs Grok 4
openai/gpt-5.4 · xai/grok-4
Qwen 3 Max vs Claude Opus 4.7
alibaba/qwen3-max · anthropic/claude-opus-4.7
Qwen 3 Max vs Qwen3-Embedding-0.6b
alibaba/qwen3-max · qwen/qwen3-embedding-0.6b
Qwen 3 Max vs Deepseek-R1-Distill-Qwen-32b
alibaba/qwen3-max · deepseek/deepseek-r1-distill-qwen-32b
Qwen 3 Max vs Qwen2.5-Coder-32b-Instruct
alibaba/qwen3-max · qwen/qwen2.5-coder-32b-instruct
SWITCH BETWEEN THEM

One key, all 2, one line different.

from openai import OpenAI

client = OpenAI(
    base_url="https://api.aigateway.sh/v1",
    api_key="sk-aig-...",
)

# Qwen 3 Max
client.chat.completions.create(
    model="alibaba/qwen3-max",
    messages=[{"role":"user","content":"hello"}],
)

# GPT-5.4
client.chat.completions.create(
    model="openai/gpt-5.4",
    messages=[{"role":"user","content":"hello"}],
)
Get an AIgateway keyRun an eval on these →