# Phi 4 vs Qwen4 Max

Source: https://openrouter.ai/compare/microsoft/phi-4/qwen/qwen4-max

## Overview

| Attribute | Phi 4 | Qwen4 Max |
| --- | --- | --- |
| Author | Microsoft | Qwen |
| Reasoning | No | Yes |
| Input modalities | Text | Text, Image, Video |
| Output modalities | Text | Text |
| Input price | $0.07/M tokens | $1.425/M tokens |
| Output price | $0.14/M tokens | $4.275/M tokens |
| Context window | 16,384 tokens | 1,000,000 tokens |
| Intelligence Index | Not available | 42.8 |
| Finance & Accounting Index | Not available | 54.1 |
| Strategy & Ops Index | Not available | 56.9 |
| Legal Index | Not available | 49.6 |
| Healthcare & Medical Index | Not available | 48.2 |
| Engineering Index | Not available | 50.0 |
| Economics Index | Not available | 51.3 |
| Openness Index | 50.0 | Not available |
| FrontierCode-AA 2.0 | Not available | 26.5% |
| GPQA Diamond score | 57.5% | Not available |
| Latency (p50) | 0.88 s | 1.52 s |
| Throughput (p50) | 85.0 tok/s | 54.0 tok/s |

## Phi 4 or Qwen4 Max: which should you choose?

### Choose Phi 4 for:

- faster output (85.0 vs 54.0 tok/s)
- a quicker first token (0.88 s vs 1.52 s)
- lower token prices

### Choose Qwen4 Max for:

- a longer context window (1,000,000 vs 16,384 tokens)

## Benchmark differences

| Benchmark | Phi 4 | Qwen4 Max | Difference |
| --- | --- | --- | --- |
| Intelligence Index | Not available | 42.8 | Not available |
| Finance & Accounting Index | Not available | 54.1 | Not available |
| Strategy & Ops Index | Not available | 56.9 | Not available |
| Legal Index | Not available | 49.6 | Not available |
| Healthcare & Medical Index | Not available | 48.2 | Not available |
| Engineering Index | Not available | 50.0 | Not available |
| Economics Index | Not available | 51.3 | Not available |
| FrontierCode-AA 2.0 | Not available | 26.5% | Not available |

## Model pages

- [Phi 4](https://openrouter.ai/microsoft/phi-4) ([llms.txt](https://openrouter.ai/microsoft/phi-4/llms.txt))
- [Qwen4 Max](https://openrouter.ai/qwen/qwen4-max) ([llms.txt](https://openrouter.ai/qwen/qwen4-max/llms.txt))
