Model comparison

GLM-5.2 vs Phi-4 Mini

GLM-5.2 is the stronger model overall, scoring 51.1 to 30.9 on the Noometry Index. Phi-4 Mini costs 16× less per token, which makes it the better buy when GLM-5.2's lead doesn't matter for your workload.

Last verified . 2 shared benchmarks.

GLM-5.2 Z.ai (Zhipu)

51.1

Rank #44 Confirmed

Phi-4 Mini Microsoft

30.9

Rank #283 Reported

Summary

  • They share 2 benchmarks with published results for both. GLM-5.2 scores higher in 3 categories and Phi-4 Mini in 0 categories; 3 gaps are clear of the uncertainty.
  • The widest gap is in knowledge, where GLM-5.2 leads 57.1 to 25.3.
  • The biggest single-benchmark swing is SciCode: 50.5% for GLM-5.2 and 10.8% for Phi-4 Mini.
  • Phi-4 Mini is cheaper at $0.075 / $0.30 per million input/output tokens, against $1.40 / $4.40 for GLM-5.2.
  • GLM-5.2 accepts more context: 1M tokens versus 128K.

Side by side

GLM-5.2 and Phi-4 Mini specifications
GLM-5.2Phi-4 Mini
ProviderZ.ai (Zhipu)Microsoft
Noometry Index51.130.9
Released2026-06-132024-12-11
WeightsOpenOpen
Context window1M128K
Max output131K4K
Input $ / M tokens$1.40$0.075
Output $ / M tokens$4.40$0.30
Results tracked513

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding GLM-5.2 leads

GLM-5.2: 51.3 (#41), Phi-4 Mini: 28.1 (#317)

Coding benchmarks
BenchmarkGLM-5.2Phi-4 Mini
SciCode50.5%10.8%
SWE-bench Verified78.7%—
DeepSWE43.8%—
FrontierCode24.5%—
LMArena WebDev1603—
WeirdML70.1%—
LMArena Coding1485—
ALE-Bench1,047—

Agentic & Tool Use Not comparable

GLM-5.2: 32.4 (#63), Phi-4 Mini: —

Agentic & Tool Use benchmarks
BenchmarkGLM-5.2Phi-4 Mini
APEX-Agents45.2%—
τ²-bench Banking37.1%—
PostTrainBench31.7%—
GBAEval0%—
Vending-Bench 28,314—

Reasoning GLM-5.2 leads

GLM-5.2: 42.3 (#52), Phi-4 Mini: 22.4 (#195)

Reasoning benchmarks
BenchmarkGLM-5.2Phi-4 Mini
CritPt20.9%0%
ARC-AGI-222.8%—
SimpleBench58.8%—
Kagi LLM Benchmark62.6%—
NYT Connections (extended)74.3%—
ARC-AGI-177%—
Chess Puzzles21%—
EBR-Bench9.5%—
LMArena Hard Prompts1480—
Mystery Game Puzzles19%—
DTBench93.6%—
LMCA45.8%—
Surface Evolver Bench55.6%—
Epoch Capabilities Index151.78—

Math Not comparable

GLM-5.2: 55.7 (#43), Phi-4 Mini: —

Math benchmarks
BenchmarkGLM-5.2Phi-4 Mini
FrontierMath (Tiers 1-3)59.2%—
FrontierMath Tier 429.3%—
MathArena Final-Answer Competitions67.6%—
OTIS Mock AIME 2024-202586.4%—
ProofBench35%—
LMArena Math1482—

Knowledge GLM-5.2 leads

GLM-5.2: 57.1 (#40), Phi-4 Mini: 25.3 (#262)

Knowledge benchmarks
BenchmarkGLM-5.2Phi-4 Mini
GPQA Diamond91.9%—
SimpleQA Verified34.2%—
Vectara Hallucination Rate—23.5%
LMArena Expert1486—

Multilingual Not comparable

GLM-5.2: 55.8 (#26), Phi-4 Mini: —

Multilingual benchmarks
BenchmarkGLM-5.2Phi-4 Mini
LMArena Non-English1459—
LMArena Chinese1519—
LMArena French1479—
LMArena German1468—
LMArena Japanese1451—
LMArena Korean1445—
LMArena Russian1466—
LMArena Spanish1477—

Instruction Following Not comparable

GLM-5.2: 76.9 (#34), Phi-4 Mini: —

Instruction Following benchmarks
BenchmarkGLM-5.2Phi-4 Mini
LMArena Instruction Following1465—

Long Context Not comparable

GLM-5.2: 45.3 (#43), Phi-4 Mini: —

Long Context benchmarks
BenchmarkGLM-5.2Phi-4 Mini
LMArena Longer Query1479—

Writing & Preference Not comparable

GLM-5.2: 70.4 (#21), Phi-4 Mini: —

Writing & Preference benchmarks
BenchmarkGLM-5.2Phi-4 Mini
LMArena Text1470—
LMArena Creative Writing1462—
EQ-Bench Creative Writing1757—
EQ-Bench 41222—
LMArena Multi-Turn1469—

Frequently asked questions

Is GLM-5.2 better than Phi-4 Mini?

GLM-5.2 is the stronger model overall, scoring 51.1 to 30.9 on the Noometry Index. Phi-4 Mini costs 16× less per token, which makes it the better buy when GLM-5.2's lead doesn't matter for your workload.

Which is cheaper, GLM-5.2 or Phi-4 Mini?

Phi-4 Mini is cheaper. It lists at $0.075 per million input tokens and $0.30 per million output tokens; GLM-5.2 lists at $1.40 and $4.40.

Is GLM-5.2 or Phi-4 Mini better for coding?

GLM-5.2 scores higher on coding benchmarks: 51.3 versus 28.1 in the Noometry coding category.

Which has the bigger context window?

GLM-5.2 does, with 1M tokens against 128K.

How many benchmarks do GLM-5.2 and Phi-4 Mini share?

2 benchmarks have published results for both models. GLM-5.2 has 51 scored results on Noometry and Phi-4 Mini has 3.

Related comparisons

Go deeper