Skip to content
llmmodels

Phi 4 vs Qwen Max

Qwen Max wins 4 of 5 benchmarks both models report and has a higher Epoch Capabilities Index (131.2 vs 129.2). Phi 4 is about 32× cheaper on a blended (3:1 input:output) token price. Qwen Max has the larger context window (32K vs 16K). Phi 4 has open weights, so you can self-host and fine-tune it; Qwen Max is API-only.

SpecPhi 4Qwen Max
ProviderMicrosoftAlibaba (Qwen)
ReleasedDec 12, 2024 (better)Apr 3, 2024
TypeChat LLMChat LLM
Parameters15B—
Context window16K32K (better)
Max output15K (better)8K
Input price / 1M$0.07 (better)$1.60
Output price / 1M$0.14 (better)$6.40
Input modalitiestexttext
Open weightsYesNo
LicensemitProprietary
Reasoning modeNoNo
Tool callingNoYes
API providers18 (better)
Epoch Capabilities Index129.2131.2 (better)
GPQA Diamond56.1%56.1%
Aider Polyglot—21.8%
OTIS Mock AIME13.8%16.1% (better)
MATH Level 564.9%67.2% (better)
LiveBench41.6%62.3% (better)
MMLU84.8%—

Cost example

For a workload of 10M input + 2M output tokens per month: Phi 4 costs $0.98 and Qwen Max costs $28.80 at list price (openrouter / alibaba pricing).

About Phi 4

Phi 4 is an open-weight chat llm from Microsoft, released Dec 12, 2024. It has 15B parameters and a 16K-token context window. API pricing starts at $0.07 per million input tokens and $0.14 per million output tokens. It scores 129.2 on the Epoch Capabilities Index. Full Phi 4 specs →

About Qwen Max

Qwen Max is a proprietary chat llm from Alibaba (Qwen), released Apr 3, 2024. It has a 32K-token context window. API pricing starts at $1.60 per million input tokens and $6.40 per million output tokens. It is available from 8 API providers. It scores 131.2 on the Epoch Capabilities Index. Full Qwen Max specs →

Compare other models

FAQ

Which is better, Phi 4 or Qwen Max?

Qwen Max wins 4 of 5 benchmarks both models report and has a higher Epoch Capabilities Index (131.2 vs 129.2). Phi 4 is about 32× cheaper on a blended (3:1 input:output) token price. Qwen Max has the larger context window (32K vs 16K). Phi 4 has open weights, so you can self-host and fine-tune it; Qwen Max is API-only.

Is Phi 4 cheaper than Qwen Max?

Phi 4 costs $0.07 input / $0.14 output per 1M tokens; Qwen Max costs $1.60 / $6.40. Phi 4 is cheaper overall.

Which has a bigger context window?

Phi 4: 16,384 tokens. Qwen Max: 32,768 tokens.

Are Phi 4 and Qwen Max open source?

Phi 4 is open-weight; Qwen Max is proprietary.