Enter opens the highlighted result. Esc closes.

Phi 4 vs Qwen3.7 Plus

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.

Phi 4Microsoft
Coding
No data
Overall
5.9
Output $/M
$0.14
0
Qwen3.7 PlusQwen
Coding
33.2
Overall
25.2
Output $/M
$1.28
37
vs boards won of 37 shared

Decision reading

Only Qwen3.7 Plus has a coding score, 33.2 on the Vibe Coding Index; Phi 4 has none, so the two cannot be ranked on coding.

Phi 4 has the edge where output tokens cost 9.1x less.

Shared results
37
Phi 4 only
8
Qwen3.7 Plus only
38
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.7 Plus 33.2 from 2 benchmarks.
Widest category
Agentic work, 93.0 points apart on average over 1 shared benchmark.
Widest single gap
τ²-Bench Telecom: Phi 4 0.0% against Qwen3.7 Plus 93.0%, 93.0 points apart on a 0 to 100 scale.
Output price
Phi 4 $0.14 against Qwen3.7 Plus $1.28 per million output tokens, 9.1x apart.
Context window
Phi 4 takes 16K tokens, Qwen3.7 Plus 1M.

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.7 PlusTies
Coding03
Intelligence02
Agentic work01
Reasoning06
Math03
Knowledge04
General018
All shared boards037
CodingLike-for-likeSix of these boards feed the Vibe Coding Index03
Coding benchmarks for Phi 4 and Qwen3.7 Plus
BenchmarkPhi 4Qwen3.7 PlusLeader
AA Coding IndexNot measured55.9Only Qwen3.7 Plus measured
Vibe Code Bench (Vals AI)Not measured46.4%Only Qwen3.7 Plus measured
Code migration (Vals AI)Not measured12.9%Only Qwen3.7 Plus measured
Terminal-Bench 2.1 (Vals AI)Not measured52.8%Only Qwen3.7 Plus measured
SkillsBench (Vals AI)Not measured54.3%Only Qwen3.7 Plus measured
LiveCodeBench (Artificial Analysis run)23.1%Not measuredOnly Phi 4 measured
SciCodeNot measured46.1%Only Qwen3.7 Plus measured
Terminal-Bench Hard (Artificial Analysis run)3.8%47.0%Qwen3.7 Plus
FrontierCodeNot measured10.2%Only Qwen3.7 Plus measured
LMArena Text: coding12311473Qwen3.7 Plus
LMArena Text: software and IT12281473Qwen3.7 Plus
Neither model has a result on the other 27 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Phi 4 and Qwen3.7 Plus
BenchmarkPhi 4Qwen3.7 PlusLeader
AA Intelligence Index5.925.2Qwen3.7 Plus
Epoch Capabilities Index130.5147.0Qwen3.7 Plus
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for Phi 4 and Qwen3.7 Plus
BenchmarkPhi 4Qwen3.7 PlusLeader
AA Agentic IndexNot measured17.5Only Qwen3.7 Plus measured
Finance Agent (Vals AI)Not measured38.2%Only Qwen3.7 Plus measured
Tax Agent Bench (Vals AI)Not measured10.5%Only Qwen3.7 Plus measured
Legal Research Bench (Vals AI)Not measured16.4%Only Qwen3.7 Plus measured
Excel Modeling Benchmark (Vals AI)Not measured49.3%Only Qwen3.7 Plus measured
τ²-Bench Telecom0.0%93.0%Qwen3.7 Plus
OSWorld 2.0Not measured2.8%Only Qwen3.7 Plus measured
BALROG11.6%Not measuredOnly Phi 4 measured
Neither model has a result on the other 31 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index06
Reasoning benchmarks for Phi 4 and Qwen3.7 Plus
BenchmarkPhi 4Qwen3.7 PlusLeader
GPQA Diamond (Artificial Analysis run)57.5%90.0%Qwen3.7 Plus
Humanity's Last Exam (Artificial Analysis run)3.8%35.6%Qwen3.7 Plus
GPQA Diamond (Epoch AI run)56.1%87.9%Qwen3.7 Plus
Mystery game puzzlesNot measured17.0%Only Qwen3.7 Plus measured
LMArena Text: hard prompts12201460Qwen3.7 Plus
LMArena Text: expert12031466Qwen3.7 Plus
LMArena Text: hard prompts in English12301460Qwen3.7 Plus
LMArena Vision: diagramsNot measured1292Only Qwen3.7 Plus measured
LMArena Vision: homeworkNot measured1295Only Qwen3.7 Plus measured
Neither model has a result on the other 12 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index03
Math benchmarks for Phi 4 and Qwen3.7 Plus
BenchmarkPhi 4Qwen3.7 PlusLeader
AA Math Index18.0Not measuredOnly Phi 4 measured
AIME 2025 (Artificial Analysis run)18.0%Not measuredOnly Phi 4 measured
OTIS Mock AIME13.8%93.3%Qwen3.7 Plus
FrontierMath, tiers 1 to 3Not measured34.4%Only Qwen3.7 Plus measured
MATH level 564.9%Not measuredOnly Phi 4 measured
LMArena Text: math12461467Qwen3.7 Plus
LMArena Text: mathematical work12541470Qwen3.7 Plus
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index04
Knowledge benchmarks for Phi 4 and Qwen3.7 Plus
BenchmarkPhi 4Qwen3.7 PlusLeader
MortgageTax (Vals AI)Not measured66.2%Only Qwen3.7 Plus measured
MMLU Pro (Artificial Analysis run)71.4%Not measuredOnly Phi 4 measured
MMLU84.8%Not measuredOnly Phi 4 measured
LMArena Text: science12061464Qwen3.7 Plus
LMArena Text: medicine and healthcare12021464Qwen3.7 Plus
LMArena Text: legal and government12411451Qwen3.7 Plus
LMArena Text: business and finance11991435Qwen3.7 Plus
Neither model has a result on the other 10 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Web design benchmarks for Phi 4 and Qwen3.7 Plus
BenchmarkPhi 4Qwen3.7 PlusLeader
Design Arena: websitesNot measured1269Only Qwen3.7 Plus measured
Design Arena: UI componentsNot measured1261Only Qwen3.7 Plus measured
Design Arena: game devNot measured1262Only Qwen3.7 Plus measured
Design Arena: data vizNot measured1275Only Qwen3.7 Plus measured
Design Arena: 3DNot measured1239Only Qwen3.7 Plus measured
Design Arena: all code categoriesNot measured1269Only Qwen3.7 Plus measured
Design Arena: SVGNot measured1208Only Qwen3.7 Plus measured
Design Arena: ASCII artNot measured1144Only Qwen3.7 Plus measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index018
General benchmarks for Phi 4 and Qwen3.7 Plus
BenchmarkPhi 4Qwen3.7 PlusLeader
SAGE (Vals AI)Not measured39.3%Only Qwen3.7 Plus measured
Vals Multimodal IndexNot measured53.9%Only Qwen3.7 Plus measured
IFBench23.5%78.0%Qwen3.7 Plus
Long context reasoning (AA-LCR)0.0%73.0%Qwen3.7 Plus
DTBenchNot measured84.0%Only Qwen3.7 Plus measured
LMCANot measured37.6%Only Qwen3.7 Plus measured
Creative writing (Lech Mazur)62.6%Not measuredOnly Phi 4 measured
LMArena Text12171454Qwen3.7 Plus
LMArena Text: instruction following12011439Qwen3.7 Plus
LMArena Text: creative writing11811438Qwen3.7 Plus
LMArena VisionNot measured1278Only Qwen3.7 Plus measured
LMArena Text: English12311458Qwen3.7 Plus
LMArena Text: non-English11971445Qwen3.7 Plus
LMArena Text: Chinese12121509Qwen3.7 Plus
LMArena Text: German12221471Qwen3.7 Plus
LMArena Text: Japanese11581412Qwen3.7 Plus
LMArena Text: Korean11511413Qwen3.7 Plus
LMArena Text: French12241472Qwen3.7 Plus
LMArena Text: Spanish12341457Qwen3.7 Plus
LMArena Text: Russian12091457Qwen3.7 Plus
LMArena Text: PolishNot measured1449Only Qwen3.7 Plus measured
LMArena Text: multi-turn12061459Qwen3.7 Plus
LMArena Text: longer queries12171454Qwen3.7 Plus
LMArena Text: writing and language11981437Qwen3.7 Plus
LMArena Text: entertainment and media11621422Qwen3.7 Plus
LMArena Vision: EnglishNot measured1280Only Qwen3.7 Plus measured
LMArena Vision: ChineseNot measured1332Only Qwen3.7 Plus measured
LMArena Vision: reading textNot measured1288Only Qwen3.7 Plus measured
LMArena Vision: humorNot measured1261Only Qwen3.7 Plus measured
LMArena Vision: creative writingNot measured1258Only Qwen3.7 Plus measured
LMArena DocumentNot measured1444Only Qwen3.7 Plus measured
Neither model has a result on the other 15 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.7 Plus
BenchmarkPhi 4Qwen3.7 PlusLeader
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.7 Plus$0.0010Fits in one request

Phi 4 costs less

Repository review

50K input + 3K output tokens

Phi 4$0.0039Exceeds the context window
Qwen3.7 Plus$0.020Fits in one request

Phi 4 costs less

Agent loop

200K input + 10K output tokens

Phi 4$0.015Exceeds the context window
Qwen3.7 Plus$0.077Fits 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.7 Plus
SpecificationMicrosoft Phi 4Qwen3.7 Plus
MakerMicrosoftQwen
WeightsOpen weightsNo public weights listed
ReleasedJanuary 10, 2025June 3, 2026
Context window16K1M
Input $/Mtok$0.07$0.32
Output $/Mtok$0.14$1.28
Coding indexNot benchmarked33.2
Independent measurements behind it02
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Phi 4 better than Qwen3.7 Plus for coding?

Only Qwen3.7 Plus has a coding score, 33.2 on the Vibe Coding Index; Phi 4 has none, so the two cannot be ranked on coding. Phi 4 has the edge where output tokens cost 9.1x less.

Which is cheaper, Phi 4 or Qwen3.7 Plus?

Phi 4 costs $0.07 per million input tokens and $0.14 per million output tokens; Qwen3.7 Plus costs $0.32 and $1.28. Cost per solved task is known for neither of them.

Which has the bigger context window, Phi 4 or Qwen3.7 Plus?

Qwen3.7 Plus, with 1M tokens against 16K.

How many benchmarks is the Phi 4 vs Qwen3.7 Plus 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.7 Plus's on 2. Where only one model has a result, the page says so instead of naming a winner.

Compare next