Compare / Phi 4 vs GLM 4.5

Phi 4 vs GLM 4.5

Which is cheaper, which is more capable, and which does better at each kind of work, from 16 results on 3 sources that measured both models.

Phi 4
Microsoft · profile
GLM 4.5
Z.ai · profile
Results compared
16
Shared sources
3

Phi 4 or GLM 4.5? The short answer

  • Phi 4 is cheaper: $0.088 against $1.00 per million tokens, 11 times less.
  • GLM 4.5 scores higher on the Artificial Analysis Intelligence Index: 12.8 against 5.9.
  • On our business benchmarks, GLM 4.5 ranks higher for reasoning and knowledge and writing.

At a glance

Phi 4GLM 4.5
Price per million tokens$0.070 in · $0.14 out$0.60 in · $2.20 out
Blended (3 in : 1 out)$0.088$1.00
Cheapest host, blended––
Intelligence Index5.912.8
Spring Prompt overall––
Output speed, tokens a second42–
Context window16,384 tokens131,072 tokens
WeightsOpenOpen
Developer based inthe USChina

Prices are the developer's list price where we have read it, otherwise the typical host on OpenRouter; see every model's price. Intelligence and speed from Artificial Analysis.

Which is better for what

Each model's rank among models available today, for each kind of work, from our own benchmarks and licensed sources. The better rank is in green.

Use casePhi 4GLM 4.5
Agents and tool useMulti-step tasks with tools: support desks, coding agents, function calls 122 of 161 not measured
Reasoning and knowledgeHard questions across science, maths and general knowledge 178 of 195 116 of 195
WritingWhat people prefer in blind comparisons, and judged writing quality 175 of 187 77 of 187
Sticking to the factsSummarising without inventing things, and factual answers 3 of 153 not measured

Every shared result

BenchmarkMetricPhi 4GLM 4.5
Arena (formerly LMArena)reportedBusiness, management and financeArena rating 1,2561,412
Arena (formerly LMArena)reportedCreative writingArena rating 1,2101,372
Arena (formerly LMArena)reportedExpert promptsArena rating 1,2681,444
Arena (formerly LMArena)reportedInstruction followingArena rating 1,2451,405
Arena (formerly LMArena)reportedOverallArena rating 1,2561,411
Arena (formerly LMArena)reportedWriting, literature and languageArena rating 1,2291,382
Artificial AnalysisreportedArtificial Analysis Intelligence Indexindex score 5.9012.8
Artificial AnalysisreportedGPQA Diamond% of questions 57.5%78.2%
Artificial AnalysisreportedHumanity's Last Exam% of questions 3.8%13.0%
Artificial AnalysisreportedIFBench% of instructions 23.5%44.1%
Artificial AnalysisreportedLong-context reasoning (AA-LCR)% of questions 0.0%52.7%
Artificial AnalysisreportedTerminal-Bench Hard% of tasks 3.8%22.0%
Artificial AnalysisreportedΤ²-bench telecom% of tasks 0.0%43.0%
UGI LeaderboardreportedRequested-length error% off the requested word count 19.0%13.0%
UGI LeaderboardreportedStyle adherencescore from 0 to 1 0.340.36
UGI LeaderboardreportedWriting scorescore out of 100 25.757.3

Bold green marks the better value on that metric. Where a source reports ranges that overlap, the difference may not be meaningful; see the benchmark page for ranges.

Quick answers

Is Phi 4 better than GLM 4.5?

It depends on the task. Among models available today, on our benchmarks and licensed sources, GLM 4.5 ranks higher for reasoning and knowledge and writing.

Which is cheaper, Phi 4 or GLM 4.5?

Phi 4 costs $0.088 per million tokens (three input to one output), against $1.00 for GLM 4.5.

Run Phi 4 and GLM 4.5 on your own prompt

Benchmarks aren't your data. Try both side by side in the playground, with the cost of every answer.