Phi 4 vs Qwen3 32B
Updated October 21, 2026. 37 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
Decision reading
Neither model has a coding score yet, so the two cannot be ranked on coding.
Phi 4 has the edge where output tokens cost 2.9x less, and where what matters is LiveCodeBench (Artificial Analysis run) or LMArena Text: coding, where it leads.
- Shared results
- 37
- Phi 4 only
- 8
- Qwen3 32B only
- 5
- Like-for-like categories
- 7 of 9
Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.
Which one for your work
Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.
Coding
Vibe Coding Index, six public coding benchmarks
No call
Neither has a coding score yet.
One side not measured
Intelligence
AA Intelligence Index
Qwen3 32B
Qwen3 32B leads, 7.3 against 5.9.
Same board, both measured
Long documents
Listed context window
Qwen3 32B
Qwen3 32B takes 131K tokens against 16K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Phi 4
Phi 4 $0.0001, Qwen3 32B $0.0003 per turn.
List prices
At a glance
- Coding index
- Phi 4 not benchmarked, Qwen3 32B not benchmarked.
- Widest category
- Math, 43.3 points apart on average over 5 shared benchmarks.
- Widest single gap
- AA Math Index: Phi 4 18.0 against Qwen3 32B 73.0, 55.0 points apart on a 0 to 100 scale.
- Output price
- Phi 4 $0.14 against Qwen3 32B $0.40 per million output tokens, 2.9x apart.
- Context window
- Phi 4 takes 16K tokens, Qwen3 32B 131K.
Benchmark by benchmark
First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.
| Category | Phi 4 | Bars | Qwen3 32B | Ties |
|---|---|---|---|---|
| Coding | 1 | 3 | ||
| Intelligence | 0 | 2 | ||
| Agentic work | 0 | 1 | ||
| Reasoning | 0 | 6 | ||
| Math | 0 | 5 | ||
| Knowledge | 0 | 5 | ||
| General | 0 | 13 | 1 tie | |
| All shared boards | 1 | 35 | 1 tie |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index13
| Benchmark | Phi 4 | Qwen3 32B | Leader |
|---|---|---|---|
| Aider polyglot | Not measured | 40.0% | Only Qwen3 32B measured |
| LiveCodeBench (Artificial Analysis run) | 23.1% | 54.6% | Qwen3 32B |
| SciCode | Not measured | 36.0% | Only Qwen3 32B measured |
| Terminal-Bench Hard (Artificial Analysis run) | 3.8% | 3.0% | Phi 4 |
| LMArena Text: coding | 1231 | 1357 | Qwen3 32B |
| LMArena Text: software and IT | 1228 | 1366 | Qwen3 32B |
| Neither model has a result on the other 32 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | Phi 4 | Qwen3 32B | Leader |
|---|---|---|---|
| AA Intelligence Index | 5.9 | 7.3 | Qwen3 32B |
| Epoch Capabilities Index | 130.5 | 138.4 | Qwen3 32B |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | Phi 4 | Qwen3 32B | Leader |
|---|---|---|---|
| τ²-Bench Telecom | 0.0% | 29.8% | Qwen3 32B |
| BALROG | 11.6% | Not measured | Only Phi 4 measured |
| Neither model has a result on the other 37 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index06
| Benchmark | Phi 4 | Qwen3 32B | Leader |
|---|---|---|---|
| GPQA Diamond (Artificial Analysis run) | 57.5% | 66.8% | Qwen3 32B |
| Humanity's Last Exam (Artificial Analysis run) | 3.8% | 7.4% | Qwen3 32B |
| GPQA Diamond (Epoch AI run) | 56.1% | 65.7% | Qwen3 32B |
| LMArena Text: hard prompts | 1220 | 1334 | Qwen3 32B |
| LMArena Text: expert | 1203 | 1362 | Qwen3 32B |
| LMArena Text: hard prompts in English | 1230 | 1350 | Qwen3 32B |
| Neither model has a result on the other 15 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index05
| Benchmark | Phi 4 | Qwen3 32B | Leader |
|---|---|---|---|
| AA Math Index | 18.0 | 73.0 | Qwen3 32B |
| AIME 2025 (Artificial Analysis run) | 18.0% | 73.0% | Qwen3 32B |
| OTIS Mock AIME | 13.8% | 66.9% | Qwen3 32B |
| MATH level 5 | 64.9% | Not measured | Only Phi 4 measured |
| LMArena Text: math | 1246 | 1399 | Qwen3 32B |
| LMArena Text: mathematical work | 1254 | 1420 | Qwen3 32B |
| Neither model has a result on the other 7 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index05
| Benchmark | Phi 4 | Qwen3 32B | Leader |
|---|---|---|---|
| MMLU Pro (Artificial Analysis run) | 71.4% | 79.8% | Qwen3 32B |
| MMLU | 84.8% | Not measured | Only Phi 4 measured |
| LMArena Text: science | 1206 | 1372 | Qwen3 32B |
| LMArena Text: medicine and healthcare | 1202 | 1368 | Qwen3 32B |
| LMArena Text: legal and government | 1241 | 1324 | Qwen3 32B |
| LMArena Text: business and finance | 1199 | 1318 | Qwen3 32B |
| Neither model has a result on the other 11 boards here | |||
Web designNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Phi 4 | Qwen3 32B | Leader |
|---|---|---|---|
| Neither model has a result on 9 boards here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index013
| Benchmark | Phi 4 | Qwen3 32B | Leader |
|---|---|---|---|
| IFBench | 23.5% | 36.3% | Qwen3 32B |
| Long context reasoning (AA-LCR) | 0.0% | 0.0% | Tie |
| DTBench | Not measured | 67.5% | Only Qwen3 32B measured |
| LMCA | Not measured | 17.3% | Only Qwen3 32B measured |
| Fiction.LiveBench | Not measured | 74.2% | Only Qwen3 32B measured |
| Creative writing (Lech Mazur) | 62.6% | Not measured | Only Phi 4 measured |
| LMArena Text | 1217 | 1340 | Qwen3 32B |
| LMArena Text: instruction following | 1201 | 1305 | Qwen3 32B |
| LMArena Text: creative writing | 1181 | 1297 | Qwen3 32B |
| LMArena Text: English | 1231 | 1359 | Qwen3 32B |
| LMArena Text: non-English | 1197 | 1317 | Qwen3 32B |
| LMArena Text: Chinese | 1212 | 1357 | Qwen3 32B |
| LMArena Text: German | 1222 | 1341 | Qwen3 32B |
| LMArena Text: Japanese | 1158 | Not measured | Only Phi 4 measured |
| LMArena Text: Korean | 1151 | Not measured | Only Phi 4 measured |
| LMArena Text: French | 1224 | Not measured | Only Phi 4 measured |
| LMArena Text: Spanish | 1234 | Not measured | Only Phi 4 measured |
| LMArena Text: Russian | 1209 | 1311 | Qwen3 32B |
| LMArena Text: multi-turn | 1206 | 1331 | Qwen3 32B |
| LMArena Text: longer queries | 1217 | 1327 | Qwen3 32B |
| LMArena Text: writing and language | 1198 | 1298 | Qwen3 32B |
| LMArena Text: entertainment and media | 1162 | 1279 | Qwen3 32B |
| Neither model has a result on the other 24 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Phi 4 | Qwen3 32B | Leader |
|---|---|---|---|
| Neither model has a result on 5 boards here | |||
What each workload costs
Three fixed token mixes at each model's listed price, so per-token rates become a bill.
Chat turn
1K input + 500 output tokens
Phi 4 costs less
Repository review
50K input + 3K output tokens
Phi 4 costs less
Agent loop
200K input + 10K output tokens
Phi 4 costs less
Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.
Specification differences
The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.
| Specification | Microsoft Phi 4 | Qwen3 32B |
|---|---|---|
| Maker | Microsoft | Qwen |
| Weights | Open weights | Open weights |
| Released | January 10, 2025 | April 28, 2025 |
| Context window | 16K | 131K |
| Input $/Mtok | $0.07 | $0.14 |
| Output $/Mtok | $0.14 | $0.40 |
| Coding index | Not benchmarked | Not benchmarked |
| Independent measurements behind it | 0 | 0 |
| Cost per solved task | Not computable | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Phi 4 better than Qwen3 32B for coding?
Neither model has a coding score yet, so the two cannot be ranked on coding. Phi 4 has the edge where output tokens cost 2.9x less, and where what matters is LiveCodeBench (Artificial Analysis run) or LMArena Text: coding, where it leads.
Which is cheaper, Phi 4 or Qwen3 32B?
Phi 4 costs $0.07 per million input tokens and $0.14 per million output tokens; Qwen3 32B costs $0.14 and $0.40. Cost per solved task is known for neither of them.
Which has the bigger context window, Phi 4 or Qwen3 32B?
Qwen3 32B, with 131K tokens against 16K.
How many benchmarks is the Phi 4 vs Qwen3 32B comparison based on?
37 benchmarks have a result for both models as of October 21, 2026. Phi 4's coding index rests on 0 independent benchmarks and Qwen3 32B's on 0. Where only one model has a result, the page says so instead of naming a winner.