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.
| Spec | Phi 4 | Qwen Max |
|---|---|---|
| Provider | Microsoft | Alibaba (Qwen) |
| Released | Dec 12, 2024 (better) | Apr 3, 2024 |
| Type | Chat LLM | Chat LLM |
| Parameters | 15B | — |
| Context window | 16K | 32K (better) |
| Max output | 15K (better) | 8K |
| Input price / 1M | $0.07 (better) | $1.60 |
| Output price / 1M | $0.14 (better) | $6.40 |
| Input modalities | text | text |
| Open weights | Yes | No |
| License | mit | Proprietary |
| Reasoning mode | No | No |
| Tool calling | No | Yes |
| API providers | 1 | 8 (better) |
| Epoch Capabilities Index | 129.2 | 131.2 (better) |
| GPQA Diamond | 56.1% | 56.1% |
| Aider Polyglot | — | 21.8% |
| OTIS Mock AIME | 13.8% | 16.1% (better) |
| MATH Level 5 | 64.9% | 67.2% (better) |
| LiveBench | 41.6% | 62.3% (better) |
| MMLU | 84.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.