Phi 4 vs Qwen4 Max

Compare Phi 4 from Microsoft and Qwen4 Max from Qwen on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.

Favicon for microsoft
Phi 4
Favicon for qwen
Qwen4 Max

Overview

Phi 4
Author
Microsoft
Qwen4 Max
Author
Qwen
Phi 4
Context length
16Ktokens
Qwen4 Max
Context length
1Mtokens
Phi 4
Reasoning
No
Qwen4 Max
Reasoning
Yes
Phi 4
Input modalities
Text
Qwen4 Max
Input modalities
Text, Image, Video
Phi 4
Output modalities
Text
Qwen4 Max
Output modalities
Text

Analysis

Phi 4 vs Qwen4 Max at a glance

Index and benchmark scores are from Artificial Analysis. Each score is the model's best published result across the configurations Artificial Analysis evaluated.

Phi 4
Input price
$0.07/M tokens
Qwen4 Max
Input price
$1.425/M tokens
Phi 4
Output price
$0.14/M tokens
Qwen4 Max
Output price
$4.275/M tokens
Phi 4
Context window
16,384 tokens
Qwen4 Max
Context window
1,000,000 tokens
Phi 4
Intelligence Index Artificial Analysis, best published result
Not available
Qwen4 Max
Intelligence Index Artificial Analysis, best published result
42.8
Phi 4
Finance & Accounting Index Artificial Analysis, best published result
Not available
Qwen4 Max
Finance & Accounting Index Artificial Analysis, best published result
54.1
Phi 4
Strategy & Ops Index Artificial Analysis, best published result
Not available
Qwen4 Max
Strategy & Ops Index Artificial Analysis, best published result
56.9
Phi 4
Legal Index Artificial Analysis, best published result
Not available
Qwen4 Max
Legal Index Artificial Analysis, best published result
49.6
Phi 4
Healthcare & Medical Index Artificial Analysis, best published result
Not available
Qwen4 Max
Healthcare & Medical Index Artificial Analysis, best published result
48.2
Phi 4
Engineering Index Artificial Analysis, best published result
Not available
Qwen4 Max
Engineering Index Artificial Analysis, best published result
50.0
Phi 4
Economics Index Artificial Analysis, best published result
Not available
Qwen4 Max
Economics Index Artificial Analysis, best published result
51.3
Phi 4
Openness Index Artificial Analysis, best published result
50.0
Qwen4 Max
Openness Index Artificial Analysis, best published result
Not available
Phi 4
FrontierCode-AA 2.0 Artificial Analysis, best published result
Not available
Qwen4 Max
FrontierCode-AA 2.0 Artificial Analysis, best published result
26.5%
Phi 4
GPQA Diamond score Artificial Analysis, best published result
57.5%
Qwen4 Max
GPQA Diamond score Artificial Analysis, best published result
Not available
Phi 4
Latency (p50)
0.88 s
Qwen4 Max
Latency (p50)
1.52 s
Phi 4
Throughput (p50)
85.0 tok/s
Qwen4 Max
Throughput (p50)
54.0 tok/s
Phi 4
Provided by
Microsoft
Qwen4 Max
Provided by
Qwen

Benchmark data updated

Frequently asked questions

Is Phi 4 cheaper than Qwen4 Max?

Phi 4 is cheaper than Qwen4 Max on OpenRouter: Phi 4 costs $0.07/M tokens input and $0.14/M tokens output, while Qwen4 Max costs $1.425/M tokens input and $4.275/M tokens output.

Which has the longer context window, Phi 4 or Qwen4 Max?

Qwen4 Max has the longer context window at 1,000,000 tokens, compared with 16,384 tokens for Phi 4.

Which is faster, Phi 4 or Qwen4 Max?

Phi 4 is faster on OpenRouter, generating a median 85.0 tokens per second compared with 54.0 tokens per second for Qwen4 Max.