Model comparison
Phi-4 vs Qwen3 8B
Qwen3 8B is the stronger model overall, scoring 33.7 to 31.2 on the Noometry Index. Phi-4 costs 3.5× less per token, which makes it the better buy when Qwen3 8B's lead doesn't matter for your workload.
Last verified . 6 shared benchmarks.
Summary
- They share 6 benchmarks with published results for both. Phi-4 scores higher in 2 categories and Qwen3 8B in 4 categories; 4 gaps are clear of the uncertainty.
- The widest gap is in math, where Qwen3 8B leads 34.9 to 20.8.
- The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 13.8% for Phi-4 and 56.1% for Qwen3 8B.
- Phi-4 is cheaper at $0.07 / $0.14 per million input/output tokens, against $0.18 / $0.70 for Qwen3 8B.
- Qwen3 8B accepts more context: 131K tokens versus 128K.
Side by side
| Phi-4 | Qwen3 8B | |
|---|---|---|
| Provider | Microsoft | Alibaba (Qwen) |
| Noometry Index | 31.2 | 33.7 |
| Released | 2024-12-11 | 2025-04 |
| Weights | Open | Open |
| Context window | 128K | 131K |
| Max output | 4K | 8K |
| Input $ / M tokens | $0.07 | $0.18 |
| Output $ / M tokens | $0.14 | $0.70 |
| Results tracked | 37 | 11 |
Sponsored placements are available on pages like this one. Advertise on Noometry
Category by category
Coding Too close to call
Phi-4: 34.4 (#239), Qwen3 8B: 34.0 (#248)
| Benchmark | Phi-4 | Qwen3 8B |
|---|---|---|
| SciCode | — | 22.6% |
| BigCodeBench Instruct | 45.5% | — |
| LiveBench Coding | 30.7% | — |
| LMArena Coding | 1231 | — |
| BigCodeBench Complete | 55.4% | — |
Agentic & Tool Use Qwen3 8B leads
Phi-4: 22.8 (#128), Qwen3 8B: 30.2 (#78)
| Benchmark | Phi-4 | Qwen3 8B |
|---|---|---|
| Berkeley Function Calling Leaderboard | 28.8% | 42.6% |
| BALROG | 11.6% | — |
Reasoning Phi-4 leads
Phi-4: 17.7 (#291), Qwen3 8B: 16.6 (#303)
| Benchmark | Phi-4 | Qwen3 8B |
|---|---|---|
| Chess Puzzles | 1% | 5% |
| Epoch Capabilities Index | 130.42 | 136.17 |
| CritPt | — | 0% |
| LiveBench Reasoning | 47.8% | — |
| LMArena Hard Prompts | 1220 | — |
| DTBench | — | 59.7% |
| LiveBench Data Analysis | 45.2% | — |
| LMCA | — | 8.8% |
| LiveBench | 41.6% | — |
Math Qwen3 8B leads
Phi-4: 20.8 (#285), Qwen3 8B: 34.9 (#191)
| Benchmark | Phi-4 | Qwen3 8B |
|---|---|---|
| OTIS Mock AIME 2024-2025 | 13.8% | 56.1% |
| LiveBench Math | 42% | — |
| LMArena Math | 1246 | — |
| MATH Level 5 | 64.9% | — |
Knowledge Qwen3 8B leads
Phi-4: 32.6 (#209), Qwen3 8B: 36.1 (#173)
| Benchmark | Phi-4 | Qwen3 8B |
|---|---|---|
| GPQA Diamond | 56.1% | 56.8% |
| Vectara Hallucination Rate | 3.7% | 4.8% |
| Confabulations | 29.4% | — |
| LMArena Expert | 1203 | — |
| MMLU | 84.8% | — |
Multilingual Not comparable
Phi-4: 37.2 (#237), Qwen3 8B: —
| Benchmark | Phi-4 | Qwen3 8B |
|---|---|---|
| LMArena Non-English | 1197 | — |
| LMArena Chinese | 1212 | — |
| LMArena French | 1224 | — |
| LMArena German | 1222 | — |
| LMArena Japanese | 1158 | — |
| LMArena Korean | 1151 | — |
| LMArena Russian | 1209 | — |
| LMArena Spanish | 1234 | — |
Instruction Following Not comparable
Phi-4: 60.4 (#251), Qwen3 8B: —
| Benchmark | Phi-4 | Qwen3 8B |
|---|---|---|
| LiveBench Instruction Following | 58.4% | — |
| LMArena Instruction Following | 1201 | — |
Long Context Too close to call
Phi-4: 36.9 (#226), Qwen3 8B: 37.9 (#210)
| Benchmark | Phi-4 | Qwen3 8B |
|---|---|---|
| Fiction.LiveBench | — | 62.1% |
| LMArena Longer Query | 1217 | — |
Writing & Preference Not comparable
Phi-4: 40.5 (#244), Qwen3 8B: —
| Benchmark | Phi-4 | Qwen3 8B |
|---|---|---|
| LMArena Text | 1217 | — |
| LMArena Creative Writing | 1182 | — |
| Short-Story Creative Writing | 62.6% | — |
| LMArena Multi-Turn | 1206 | — |
| LiveBench Language | 25.6% | — |
Frequently asked questions
Is Phi-4 better than Qwen3 8B?
Qwen3 8B is the stronger model overall, scoring 33.7 to 31.2 on the Noometry Index. Phi-4 costs 3.5× less per token, which makes it the better buy when Qwen3 8B's lead doesn't matter for your workload.
Which is cheaper, Phi-4 or Qwen3 8B?
Phi-4 is cheaper. It lists at $0.07 per million input tokens and $0.14 per million output tokens; Qwen3 8B lists at $0.18 and $0.70.
Is Phi-4 or Qwen3 8B better for coding?
They score almost the same on coding (34.4 vs 34.0); test both on your own repository before choosing.
Which has the bigger context window?
Qwen3 8B does, with 131K tokens against 128K.
How many benchmarks do Phi-4 and Qwen3 8B share?
6 benchmarks have published results for both models. Phi-4 has 37 scored results on Noometry and Qwen3 8B has 11.