Enter opens the highlighted result. Esc closes.

Phi 4 vs Qwen3 235B A22B Thinking 2507

Qwen3 235B A22B Thinking 2507 leads Phi 4 on the Artificial Analysis Intelligence Index, 12.7 to 5.9, and Phi 4 costs 25.0x less per output token ($0.14 vs $3.50 per million). Updated October 21, 2026; 30 benchmarks have a result for both.

Phi 4Microsoft
Coding
No data
Overall
24.7
Output $/M
$0.14
0
Qwen3 235B A22B Thinking 2507Qwen
Coding
No data
Overall
52.9
Output $/M
$3.50
30
vs boards won of 30 shared

Phi 4 or Qwen3 235B A22B Thinking 2507: which to pick

Neither model has a coding score yet, so the two cannot be ranked on coding.

Pick Phi 4 for output tokens 25.0x cheaper ($0.14 vs $3.50 per million) and work measured by LMArena Text: coding or LMArena Text: software and IT, where it leads.

Shared results
30
Phi 4 only
16
Qwen3 235B A22B Thinking 2507 only
16
Like-for-like categories
6 of 9

Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.

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 235B A22B Thinking 2507 not benchmarked.
Widest category
Math, 43.6 points apart on average over 3 shared benchmarks.
Widest single gap
OTIS Mock AIME: Phi 4 13.8% against Qwen3 235B A22B Thinking 2507 86.7%, 72.9 points apart on a 0 to 100 scale.
Output price
Phi 4 $0.14 against Qwen3 235B A22B Thinking 2507 $3.50 per million output tokens, 25.0x apart.
Context window
Phi 4 takes 16K tokens, Qwen3 235B A22B Thinking 2507 128K.

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 235B A22B Thinking 2507Ties
Coding02
Intelligence01
Reasoning04
Math03
Knowledge04
General016
All shared boards030
CodingLike-for-likeSix of these boards feed the Vibe Coding Index02
Coding benchmarks for Phi 4 and Qwen3 235B A22B Thinking 2507
BenchmarkPhi 4Qwen3 235B A22B Thinking 2507Leader
AA Coding IndexNot measured22.1Only Qwen3 235B A22B Thinking 2507 measured
LiveCodeBench (Artificial Analysis run)23.1%Not measuredOnly Phi 4 measured
Terminal-Bench Hard (Artificial Analysis run)3.8%Not measuredOnly Phi 4 measured
WeirdMLNot measured41.0%Only Qwen3 235B A22B Thinking 2507 measured
LMArena Text: coding12311424Qwen3 235B A22B Thinking 2507
LMArena Text: software and IT12281431Qwen3 235B A22B Thinking 2507
Neither model has a result on the other 33 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for Phi 4 and Qwen3 235B A22B Thinking 2507
BenchmarkPhi 4Qwen3 235B A22B Thinking 2507Leader
AA Intelligence Index5.912.7Qwen3 235B A22B Thinking 2507
Epoch Capabilities Index130.5Not measuredOnly Phi 4 measured
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index5 boards, none shared
Agentic work benchmarks for Phi 4 and Qwen3 235B A22B Thinking 2507
BenchmarkPhi 4Qwen3 235B A22B Thinking 2507Leader
AA Agentic IndexNot measured1.3Only Qwen3 235B A22B Thinking 2507 measured
τ²-Bench Telecom0.0%Not measuredOnly Phi 4 measured
BALROG11.6%Not measuredOnly Phi 4 measured
Vending-Bench 2Not measured-$11Only Qwen3 235B A22B Thinking 2507 measured
Berkeley Function Calling Leaderboard (BFCL)28.8%Not measuredOnly Phi 4 measured
Neither model has a result on the other 36 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index04
Reasoning benchmarks for Phi 4 and Qwen3 235B A22B Thinking 2507
BenchmarkPhi 4Qwen3 235B A22B Thinking 2507Leader
GPQA Diamond (Artificial Analysis run)57.5%Not measuredOnly Phi 4 measured
Humanity's Last Exam (Artificial Analysis run)3.8%Not measuredOnly Phi 4 measured
GPQA Diamond (Epoch AI run)56.1%80.1%Qwen3 235B A22B Thinking 2507
Mystery game puzzlesNot measured9.0%Only Qwen3 235B A22B Thinking 2507 measured
LMArena Text: hard prompts12201416Qwen3 235B A22B Thinking 2507
LMArena Text: expert12031463Qwen3 235B A22B Thinking 2507
LMArena Text: hard prompts in English12301432Qwen3 235B A22B Thinking 2507
Neither model has a result on the other 15 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index03
Math benchmarks for Phi 4 and Qwen3 235B A22B Thinking 2507
BenchmarkPhi 4Qwen3 235B A22B Thinking 2507Leader
AA Math Index18.0Not measuredOnly Phi 4 measured
AIME 2025 (Artificial Analysis run)18.0%Not measuredOnly Phi 4 measured
OTIS Mock AIME13.8%86.7%Qwen3 235B A22B Thinking 2507
MATH level 564.9%Not measuredOnly Phi 4 measured
LMArena Text: math12461412Qwen3 235B A22B Thinking 2507
LMArena Text: mathematical work12541435Qwen3 235B A22B Thinking 2507
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index04
Knowledge benchmarks for Phi 4 and Qwen3 235B A22B Thinking 2507
BenchmarkPhi 4Qwen3 235B A22B Thinking 2507Leader
MMLU Pro (Artificial Analysis run)71.4%Not measuredOnly Phi 4 measured
SimpleQA VerifiedNot measured40.4%Only Qwen3 235B A22B Thinking 2507 measured
MMLU84.8%Not measuredOnly Phi 4 measured
LMArena Text: science12061433Qwen3 235B A22B Thinking 2507
LMArena Text: medicine and healthcare12021456Qwen3 235B A22B Thinking 2507
LMArena Text: legal and government12411415Qwen3 235B A22B Thinking 2507
LMArena Text: business and finance11991413Qwen3 235B A22B Thinking 2507
Neither model has a result on the other 11 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Web design benchmarks for Phi 4 and Qwen3 235B A22B Thinking 2507
BenchmarkPhi 4Qwen3 235B A22B Thinking 2507Leader
Design Arena: websitesNot measured1053Only Qwen3 235B A22B Thinking 2507 measured
Design Arena: UI componentsNot measured945Only Qwen3 235B A22B Thinking 2507 measured
Design Arena: game devNot measured957Only Qwen3 235B A22B Thinking 2507 measured
Design Arena: data vizNot measured950Only Qwen3 235B A22B Thinking 2507 measured
Design Arena: 3DNot measured998Only Qwen3 235B A22B Thinking 2507 measured
Design Arena: all code categoriesNot measured1033Only Qwen3 235B A22B Thinking 2507 measured
Neither model has a result on the other 3 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index016
General benchmarks for Phi 4 and Qwen3 235B A22B Thinking 2507
BenchmarkPhi 4Qwen3 235B A22B Thinking 2507Leader
IFBench23.5%Not measuredOnly Phi 4 measured
Long context reasoning (AA-LCR)0.0%Not measuredOnly Phi 4 measured
DTBenchNot measured80.3%Only Qwen3 235B A22B Thinking 2507 measured
LMCANot measured29.3%Only Qwen3 235B A22B Thinking 2507 measured
Fiction.LiveBenchNot measured75.0%Only Qwen3 235B A22B Thinking 2507 measured
Creative writing (Lech Mazur)62.6%82.4%Qwen3 235B A22B Thinking 2507
LMArena Text12171415Qwen3 235B A22B Thinking 2507
LMArena Text: instruction following12011386Qwen3 235B A22B Thinking 2507
LMArena Text: creative writing11811384Qwen3 235B A22B Thinking 2507
LMArena Text: English12311429Qwen3 235B A22B Thinking 2507
LMArena Text: non-English11971397Qwen3 235B A22B Thinking 2507
LMArena Text: Chinese12121481Qwen3 235B A22B Thinking 2507
LMArena Text: German12221408Qwen3 235B A22B Thinking 2507
LMArena Text: Japanese11581386Qwen3 235B A22B Thinking 2507
LMArena Text: Korean11511375Qwen3 235B A22B Thinking 2507
LMArena Text: French1224Not measuredOnly Phi 4 measured
LMArena Text: Spanish12341389Qwen3 235B A22B Thinking 2507
LMArena Text: Russian12091401Qwen3 235B A22B Thinking 2507
LMArena Text: PolishNot measured1390Only Qwen3 235B A22B Thinking 2507 measured
LMArena Text: multi-turn12061406Qwen3 235B A22B Thinking 2507
LMArena Text: longer queries12171400Qwen3 235B A22B Thinking 2507
LMArena Text: writing and language11981388Qwen3 235B A22B Thinking 2507
LMArena Text: entertainment and media11621370Qwen3 235B A22B Thinking 2507
Neither model has a result on the other 23 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 235B A22B Thinking 2507
BenchmarkPhi 4Qwen3 235B A22B Thinking 2507Leader
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 235B A22B Thinking 2507$0.0022Fits in one request

Phi 4 costs less

Repository review

50K input + 3K output tokens

Phi 4$0.0039Exceeds the context window
Qwen3 235B A22B Thinking 2507$0.033Fits in one request

Phi 4 costs less

Agent loop

200K input + 10K output tokens

Phi 4$0.015Exceeds the context window
Qwen3 235B A22B Thinking 2507$0.125Exceeds the context window

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 235B A22B Thinking 2507
SpecificationMicrosoft Phi 4Qwen3 235B A22B Thinking 2507
MakerMicrosoftQwen
WeightsOpen weightsOpen weights
ReleasedJanuary 10, 2025July 25, 2025
Context window16K128K
Input $/Mtok$0.07$0.45
Output $/Mtok$0.14$3.50
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Phi 4 better than Qwen3 235B A22B Thinking 2507 for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Pick Phi 4 for output tokens 25.0x cheaper ($0.14 vs $3.50 per million) and work measured by LMArena Text: coding or LMArena Text: software and IT, where it leads.

Which is cheaper, Phi 4 or Qwen3 235B A22B Thinking 2507?

Phi 4 costs $0.07 per million input tokens and $0.14 per million output tokens; Qwen3 235B A22B Thinking 2507 costs $0.45 and $3.50. Cost per solved task is known for neither of them.

Which has the bigger context window, Phi 4 or Qwen3 235B A22B Thinking 2507?

Qwen3 235B A22B Thinking 2507, with 128K tokens against 16K.

How many benchmarks is the Phi 4 vs Qwen3 235B A22B Thinking 2507 comparison based on?

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

Compare next