Enter opens the highlighted result. Esc closes.

Phi 4 vs Qwen3 Coder 30B A3B Instruct

Updated October 21, 2026. 11 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

Phi 4Microsoft
Coding
No data
Overall
5.9
Output $/M
$0.14
2
Qwen3 Coder 30B A3B InstructQwen
Coding
No data
Overall
9.6
Output $/M
$0.44
8
vs boards won of 11 shared, 1 tied

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 3.1x less, and where what matters is LiveCodeBench (Artificial Analysis run) or Terminal-Bench Hard (Artificial Analysis run), where it leads.

Shared results
11
Phi 4 only
34
Qwen3 Coder 30B A3B Instruct 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.

At a glance

Coding index
Phi 4 not benchmarked, Qwen3 Coder 30B A3B Instruct not benchmarked.
Widest category
Agentic work, 34.5 points apart on average over 1 shared benchmark.
Widest single gap
τ²-Bench Telecom: Phi 4 0.0% against Qwen3 Coder 30B A3B Instruct 34.5%, 34.5 points apart on a 0 to 100 scale.
Output price
Phi 4 $0.14 against Qwen3 Coder 30B A3B Instruct $0.44 per million output tokens, 3.1x apart.
Context window
Phi 4 takes 16K tokens, Qwen3 Coder 30B A3B Instruct 262K.

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.

Boards won, where both have a result
CategoryPhi 4BarsQwen3 Coder 30B A3B InstructTies
Coding02
Intelligence01
Agentic work01
Reasoning101 tie
Math02
Knowledge10
General02
All shared boards281 tie
CodingLike-for-likeSix of these boards feed the Vibe Coding Index02
Coding benchmarks for Phi 4 and Qwen3 Coder 30B A3B Instruct
BenchmarkPhi 4Qwen3 Coder 30B A3B InstructLeader
SWE-bench VerifiedNot measured60.4%Only Qwen3 Coder 30B A3B Instruct measured
SWE-bench LiteNot measured49.7%Only Qwen3 Coder 30B A3B Instruct measured
LiveCodeBench (Artificial Analysis run)23.1%40.3%Qwen3 Coder 30B A3B Instruct
Terminal-Bench Hard (Artificial Analysis run)3.8%15.2%Qwen3 Coder 30B A3B Instruct
LMArena Text: coding1231Not measuredOnly Phi 4 measured
LMArena Text: software and IT1228Not measuredOnly Phi 4 measured
Neither model has a result on the other 32 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for Phi 4 and Qwen3 Coder 30B A3B Instruct
BenchmarkPhi 4Qwen3 Coder 30B A3B InstructLeader
AA Intelligence Index5.99.6Qwen3 Coder 30B A3B Instruct
Epoch Capabilities Index130.5Not measuredOnly Phi 4 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for Phi 4 and Qwen3 Coder 30B A3B Instruct
BenchmarkPhi 4Qwen3 Coder 30B A3B InstructLeader
τ²-Bench Telecom0.0%34.5%Qwen3 Coder 30B A3B Instruct
BALROG11.6%Not measuredOnly 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 index10
Reasoning benchmarks for Phi 4 and Qwen3 Coder 30B A3B Instruct
BenchmarkPhi 4Qwen3 Coder 30B A3B InstructLeader
GPQA Diamond (Artificial Analysis run)57.5%51.6%Phi 4
Humanity's Last Exam (Artificial Analysis run)3.8%3.8%Tie
GPQA Diamond (Epoch AI run)56.1%Not measuredOnly Phi 4 measured
LMArena Text: hard prompts1220Not measuredOnly Phi 4 measured
LMArena Text: expert1203Not measuredOnly Phi 4 measured
LMArena Text: hard prompts in English1230Not measuredOnly Phi 4 measured
Neither model has a result on the other 15 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index02
Math benchmarks for Phi 4 and Qwen3 Coder 30B A3B Instruct
BenchmarkPhi 4Qwen3 Coder 30B A3B InstructLeader
AA Math Index18.029.0Qwen3 Coder 30B A3B Instruct
AIME 2025 (Artificial Analysis run)18.0%29.0%Qwen3 Coder 30B A3B Instruct
OTIS Mock AIME13.8%Not measuredOnly Phi 4 measured
MATH level 564.9%Not measuredOnly Phi 4 measured
LMArena Text: math1246Not measuredOnly Phi 4 measured
LMArena Text: mathematical work1254Not measuredOnly Phi 4 measured
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index10
Knowledge benchmarks for Phi 4 and Qwen3 Coder 30B A3B Instruct
BenchmarkPhi 4Qwen3 Coder 30B A3B InstructLeader
MMLU Pro (Artificial Analysis run)71.4%70.6%Phi 4
MMLU84.8%Not measuredOnly Phi 4 measured
LMArena Text: science1206Not measuredOnly Phi 4 measured
LMArena Text: medicine and healthcare1202Not measuredOnly Phi 4 measured
LMArena Text: legal and government1241Not measuredOnly Phi 4 measured
LMArena Text: business and finance1199Not measuredOnly Phi 4 measured
Neither model has a result on the other 11 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index3 boards, none shared
Web design benchmarks for Phi 4 and Qwen3 Coder 30B A3B Instruct
BenchmarkPhi 4Qwen3 Coder 30B A3B InstructLeader
Design Arena: websitesNot measured1087Only Qwen3 Coder 30B A3B Instruct measured
Design Arena: UI componentsNot measured1046Only Qwen3 Coder 30B A3B Instruct measured
Design Arena: data vizNot measured1085Only Qwen3 Coder 30B A3B Instruct measured
Neither model has a result on the other 6 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index02
General benchmarks for Phi 4 and Qwen3 Coder 30B A3B Instruct
BenchmarkPhi 4Qwen3 Coder 30B A3B InstructLeader
IFBench23.5%32.7%Qwen3 Coder 30B A3B Instruct
Long context reasoning (AA-LCR)0.0%32.7%Qwen3 Coder 30B A3B Instruct
Creative writing (Lech Mazur)62.6%Not measuredOnly Phi 4 measured
LMArena Text1217Not measuredOnly Phi 4 measured
LMArena Text: instruction following1201Not measuredOnly Phi 4 measured
LMArena Text: creative writing1181Not measuredOnly Phi 4 measured
LMArena Text: English1231Not measuredOnly Phi 4 measured
LMArena Text: non-English1197Not measuredOnly Phi 4 measured
LMArena Text: Chinese1212Not measuredOnly Phi 4 measured
LMArena Text: German1222Not measuredOnly Phi 4 measured
LMArena Text: Japanese1158Not measuredOnly Phi 4 measured
LMArena Text: Korean1151Not measuredOnly Phi 4 measured
LMArena Text: French1224Not measuredOnly Phi 4 measured
LMArena Text: Spanish1234Not measuredOnly Phi 4 measured
LMArena Text: Russian1209Not measuredOnly Phi 4 measured
LMArena Text: multi-turn1206Not measuredOnly Phi 4 measured
LMArena Text: longer queries1217Not measuredOnly Phi 4 measured
LMArena Text: writing and language1198Not measuredOnly Phi 4 measured
LMArena Text: entertainment and media1162Not measuredOnly Phi 4 measured
Neither model has a result on the other 27 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Phi 4 and Qwen3 Coder 30B A3B Instruct
BenchmarkPhi 4Qwen3 Coder 30B A3B InstructLeader
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$0.0001Fits in one request
Qwen3 Coder 30B A3B Instruct$0.0003Fits in one request

Phi 4 costs less

Repository review

50K input + 3K output tokens

Phi 4$0.0039Exceeds the context window
Qwen3 Coder 30B A3B Instruct$0.0068Fits in one request

Phi 4 costs less

Agent loop

200K input + 10K output tokens

Phi 4$0.015Exceeds the context window
Qwen3 Coder 30B A3B Instruct$0.026Fits in one request

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.

Specifications of Phi 4 and Qwen3 Coder 30B A3B Instruct
SpecificationMicrosoft Phi 4Qwen3 Coder 30B A3B Instruct
MakerMicrosoftQwen
WeightsOpen weightsOpen weights
ReleasedJanuary 10, 2025July 31, 2025
Context window16K262K
Input $/Mtok$0.07$0.11
Output $/Mtok$0.14$0.44
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Phi 4 better than Qwen3 Coder 30B A3B Instruct 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 3.1x less, and where what matters is LiveCodeBench (Artificial Analysis run) or Terminal-Bench Hard (Artificial Analysis run), where it leads.

Which is cheaper, Phi 4 or Qwen3 Coder 30B A3B Instruct?

Phi 4 costs $0.07 per million input tokens and $0.14 per million output tokens; Qwen3 Coder 30B A3B Instruct costs $0.11 and $0.44. Cost per solved task is known for neither of them.

Which has the bigger context window, Phi 4 or Qwen3 Coder 30B A3B Instruct?

Qwen3 Coder 30B A3B Instruct, with 262K tokens against 16K.

How many benchmarks is the Phi 4 vs Qwen3 Coder 30B A3B Instruct comparison based on?

11 benchmarks have a result for both models as of October 21, 2026. Phi 4's coding index rests on 0 independent benchmarks and Qwen3 Coder 30B A3B Instruct's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next