Phi 4 vs Qwen3.5 9B
Qwen3.5 9B wins 3 of 3 benchmarks both models report and has a higher Epoch Capabilities Index (139.5 vs 129.2). Phi 4 is about 2.2× cheaper on a blended (3:1 input:output) token price. Qwen3.5 9B has the larger context window (256K vs 16K).
| Spec | Phi 4 | Qwen3.5 9B |
|---|---|---|
| Provider | Microsoft | Alibaba (Qwen) |
| Released | Dec 12, 2024 | Feb 23, 2026 (better) |
| Type | Chat LLM | Reasoning LLM |
| Parameters | 15B | 9.7B |
| Context window | 16K | 256K (better) |
| Max output | 15K | 236K (better) |
| Input price / 1M | $0.07 (better) | $0.17 |
| Output price / 1M | $0.14 (better) | $0.25 |
| Input modalities | text | text, image, video (better) |
| Open weights | Yes | Yes |
| License | mit | apache-2.0 |
| Reasoning mode | No | Yes |
| Tool calling | No | Yes |
| API providers | 1 | 22 (better) |
| Epoch Capabilities Index | 129.2 | 139.5 (better) |
| GPQA Diamond | 56.1% | 79.0% (better) |
| Terminal-Bench | — | 9.2% |
| OTIS Mock AIME | 13.8% | 61.7% (better) |
| MATH Level 5 | 64.9% | — |
| LiveBench | 41.6% | — |
| MMLU | 84.8% | — |
Cost example
For a workload of 10M input + 2M output tokens per month: Phi 4 costs $0.98 and Qwen3.5 9B costs $2.20 at list price (openrouter / openrouter 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 Qwen3.5 9B
Qwen3.5 9B is an open-weight reasoning llm from Alibaba (Qwen), released Feb 23, 2026. It has 9.7B parameters, a 256K-token context window and accepts text, image, video input. API pricing starts at $0.17 per million input tokens and $0.25 per million output tokens. It is available from 22 API providers. It scores 139.5 on the Epoch Capabilities Index. Full Qwen3.5 9B specs →
Compare other models
FAQ
Which is better, Phi 4 or Qwen3.5 9B?
Qwen3.5 9B wins 3 of 3 benchmarks both models report and has a higher Epoch Capabilities Index (139.5 vs 129.2). Phi 4 is about 2.2× cheaper on a blended (3:1 input:output) token price. Qwen3.5 9B has the larger context window (256K vs 16K).
Is Phi 4 cheaper than Qwen3.5 9B?
Phi 4 costs $0.07 input / $0.14 output per 1M tokens; Qwen3.5 9B costs $0.17 / $0.25. Phi 4 is cheaper overall.
Which has a bigger context window?
Phi 4: 16,384 tokens. Qwen3.5 9B: 262,144 tokens.
Are Phi 4 and Qwen3.5 9B open source?
Phi 4 is open-weight; Qwen3.5 9B is open-weight.