Enter opens the highlighted result. Esc closes.

GLM 4.5V vs Phi 4

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

GLM 4.5VZ.ai
Coding
No data
Overall
7.6
Output $/M
$1.80
33
Phi 4Microsoft
Coding
No data
Overall
5.9
Output $/M
$0.14
0
vs boards won of 34 shared, 1 tied

Decision reading

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

GLM 4.5V has the edge where the context window is larger, 66K against 16K tokens.

Shared results
34
GLM 4.5V only
6
Phi 4 only
11
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
GLM 4.5V not benchmarked, Phi 4 not benchmarked.
Widest category
Math, 35.4 points apart on average over 4 shared benchmarks.
Widest single gap
AA Math Index: GLM 4.5V 73.0 against Phi 4 18.0, 55.0 points apart on a 0 to 100 scale.
Output price
GLM 4.5V $1.80 against Phi 4 $0.14 per million output tokens, 12.9x apart.
Context window
GLM 4.5V takes 66K tokens, Phi 4 16K.

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
CategoryGLM 4.5VBarsPhi 4Ties
Coding40
Intelligence10
Agentic work10
Reasoning50
Math40
Knowledge50
General1301 tie
All shared boards3301 tie
CodingLike-for-likeSix of these boards feed the Vibe Coding Index40
Coding benchmarks for GLM 4.5V and Phi 4
BenchmarkGLM 4.5VPhi 4Leader
LiveCodeBench (Artificial Analysis run)60.4%23.1%GLM 4.5V
Terminal-Bench Hard (Artificial Analysis run)6.8%3.8%GLM 4.5V
LMArena Text: coding13471231GLM 4.5V
LMArena Text: software and IT13531228GLM 4.5V
Neither model has a result on the other 34 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for GLM 4.5V and Phi 4
BenchmarkGLM 4.5VPhi 4Leader
AA Intelligence Index7.65.9GLM 4.5V
Epoch Capabilities IndexNot measured130.5Only Phi 4 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for GLM 4.5V and Phi 4
BenchmarkGLM 4.5VPhi 4Leader
τ²-Bench Telecom22.5%0.0%GLM 4.5V
BALROGNot measured11.6%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 index50
Reasoning benchmarks for GLM 4.5V and Phi 4
BenchmarkGLM 4.5VPhi 4Leader
GPQA Diamond (Artificial Analysis run)68.4%57.5%GLM 4.5V
Humanity's Last Exam (Artificial Analysis run)6.3%3.8%GLM 4.5V
GPQA Diamond (Epoch AI run)Not measured56.1%Only Phi 4 measured
LMArena Text: hard prompts13351220GLM 4.5V
LMArena Text: expert13531203GLM 4.5V
LMArena Text: hard prompts in English13571230GLM 4.5V
LMArena Vision: diagrams1151Not measuredOnly GLM 4.5V measured
LMArena Vision: homework1163Not measuredOnly GLM 4.5V measured
Neither model has a result on the other 13 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index40
Math benchmarks for GLM 4.5V and Phi 4
BenchmarkGLM 4.5VPhi 4Leader
AA Math Index73.018.0GLM 4.5V
AIME 2025 (Artificial Analysis run)73.0%18.0%GLM 4.5V
OTIS Mock AIMENot measured13.8%Only Phi 4 measured
MATH level 5Not measured64.9%Only Phi 4 measured
LMArena Text: math13541246GLM 4.5V
LMArena Text: mathematical work13361254GLM 4.5V
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index50
Knowledge benchmarks for GLM 4.5V and Phi 4
BenchmarkGLM 4.5VPhi 4Leader
MMLU Pro (Artificial Analysis run)78.8%71.4%GLM 4.5V
MMLUNot measured84.8%Only Phi 4 measured
LMArena Text: science13301206GLM 4.5V
LMArena Text: medicine and healthcare13491202GLM 4.5V
LMArena Text: legal and government13381241GLM 4.5V
LMArena Text: business and finance13091199GLM 4.5V
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
Web design benchmarks for GLM 4.5V and Phi 4
BenchmarkGLM 4.5VPhi 4Leader
Neither model has a result on 9 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index130
General benchmarks for GLM 4.5V and Phi 4
BenchmarkGLM 4.5VPhi 4Leader
IFBench34.2%23.5%GLM 4.5V
Long context reasoning (AA-LCR)0.0%0.0%Tie
Creative writing (Lech Mazur)Not measured62.6%Only Phi 4 measured
LMArena Text13331217GLM 4.5V
LMArena Text: instruction following13111201GLM 4.5V
LMArena Text: creative writing12941181GLM 4.5V
LMArena Vision1154Not measuredOnly GLM 4.5V measured
LMArena Text: English13621231GLM 4.5V
LMArena Text: non-English13031197GLM 4.5V
LMArena Text: Chinese13371212GLM 4.5V
LMArena Text: GermanNot measured1222Only Phi 4 measured
LMArena Text: JapaneseNot measured1158Only Phi 4 measured
LMArena Text: KoreanNot measured1151Only Phi 4 measured
LMArena Text: FrenchNot measured1224Only Phi 4 measured
LMArena Text: Spanish13361234GLM 4.5V
LMArena Text: Russian12981209GLM 4.5V
LMArena Text: Polish1302Not measuredOnly GLM 4.5V measured
LMArena Text: multi-turn13331206GLM 4.5V
LMArena Text: longer queries13051217GLM 4.5V
LMArena Text: writing and language13021198GLM 4.5V
LMArena Text: entertainment and media13031162GLM 4.5V
LMArena Vision: English1183Not measuredOnly GLM 4.5V measured
LMArena Vision: reading text1151Not measuredOnly GLM 4.5V measured
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 GLM 4.5V and Phi 4
BenchmarkGLM 4.5VPhi 4Leader
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

GLM 4.5V$0.0015Fits in one request
Phi 4$0.0001Fits in one request

Phi 4 costs less

Repository review

50K input + 3K output tokens

GLM 4.5V$0.035Fits in one request
Phi 4$0.0039Exceeds the context window

Phi 4 costs less

Agent loop

200K input + 10K output tokens

GLM 4.5V$0.138Exceeds the context window
Phi 4$0.015Exceeds 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 GLM 4.5V and Phi 4
SpecificationZ.ai GLM 4.5VMicrosoft Phi 4
MakerZ.aiMicrosoft
WeightsOpen weightsOpen weights
ReleasedAugust 11, 2025January 10, 2025
Context window66K16K
Input $/Mtok$0.60$0.07
Output $/Mtok$1.80$0.14
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 4.5V better than Phi 4 for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. GLM 4.5V has the edge where the context window is larger, 66K against 16K tokens.

Which is cheaper, GLM 4.5V or Phi 4?

GLM 4.5V costs $0.60 per million input tokens and $1.80 per million output tokens; Phi 4 costs $0.07 and $0.14. Cost per solved task is known for neither of them.

Which has the bigger context window, GLM 4.5V or Phi 4?

GLM 4.5V, with 66K tokens against 16K.

How many benchmarks is the GLM 4.5V vs Phi 4 comparison based on?

34 benchmarks have a result for both models as of October 21, 2026. GLM 4.5V's coding index rests on 0 independent benchmarks and Phi 4's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next