Model comparison

GLM-5 vs Phi-4 Mini

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

Last verified . 1 shared benchmarks.

GLM-5 Z.ai (Zhipu)

46.1

Rank #66 Confirmed

Phi-4 Mini Microsoft

30.9

Rank #283 Reported

Summary

  • They share 1 benchmark with published results for both. GLM-5 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 leads 52.3 to 25.3.
  • The biggest single-benchmark swing is Vectara Hallucination Rate: 10.1% for GLM-5 and 23.5% for Phi-4 Mini.
  • Phi-4 Mini is cheaper at $0.075 / $0.30 per million input/output tokens, against $1 / $3.20 for GLM-5.
  • GLM-5 accepts more context: 205K tokens versus 128K.

Side by side

GLM-5 and Phi-4 Mini specifications
GLM-5Phi-4 Mini
ProviderZ.ai (Zhipu)Microsoft
Noometry Index46.130.9
Released2026-02-112024-12-11
WeightsOpenOpen
Context window205K128K
Max output131K4K
Input $ / M tokens$1$0.075
Output $ / M tokens$3.20$0.30
Results tracked453

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

Category by category

Coding GLM-5 leads

GLM-5: 49.0 (#52), Phi-4 Mini: 28.1 (#317)

Coding benchmarks
BenchmarkGLM-5Phi-4 Mini
SWE-bench Verified72.1%—
SWE-bench Verified (bash only)72.8%—
LMArena WebDev1434—
SWE-bench Multilingual69.7%—
SciCode—10.8%
WeirdML48.2%—
LMArena Coding1461—
ALE-Bench765.62—

Agentic & Tool Use Not comparable

GLM-5: 31.1 (#71), Phi-4 Mini: —

Agentic & Tool Use benchmarks
BenchmarkGLM-5Phi-4 Mini
Terminal-Bench52.4%—
τ²-bench Airline82.5%—
τ²-bench Banking9.8%—
τ²-bench Retail73.7%—
τ²-bench Telecom86.8%—
Vending-Bench 24,432—

Reasoning GLM-5 leads

GLM-5: 27.6 (#116), Phi-4 Mini: 22.4 (#195)

Reasoning benchmarks
BenchmarkGLM-5Phi-4 Mini
ARC-AGI-24.9%—
SimpleBench53.2%—
Kagi LLM Benchmark75%—
NYT Connections (extended)74.8%—
ARC-AGI-144.7%—
CritPt—0%
Chess Puzzles10%—
LMArena Hard Prompts1452—
Epoch Capabilities Index145.83—
ForecastBench61—

Math Not comparable

GLM-5: 46.4 (#71), Phi-4 Mini: —

Knowledge GLM-5 leads

GLM-5: 52.3 (#64), Phi-4 Mini: 25.3 (#262)

Knowledge benchmarks
BenchmarkGLM-5Phi-4 Mini
Vectara Hallucination Rate10.1%23.5%
GPQA Diamond87.8%—
LMArena Expert1454—

Multilingual Not comparable

GLM-5: 53.7 (#58), Phi-4 Mini: —

Multilingual benchmarks
BenchmarkGLM-5Phi-4 Mini
LMArena Non-English1430—
LMArena Chinese1511—
LMArena French1455—
LMArena German1445—
LMArena Japanese1416—
LMArena Korean1423—
LMArena Russian1436—
LMArena Spanish1454—

Instruction Following Not comparable

GLM-5: 75.2 (#67), Phi-4 Mini: —

Instruction Following benchmarks
BenchmarkGLM-5Phi-4 Mini
LMArena Instruction Following1428—

Long Context Not comparable

GLM-5: 44.7 (#60), Phi-4 Mini: —

Long Context benchmarks
BenchmarkGLM-5Phi-4 Mini
CL-bench18.7%—
LMArena Longer Query1446—

Writing & Preference Not comparable

GLM-5: 66.0 (#38), Phi-4 Mini: —

Writing & Preference benchmarks
BenchmarkGLM-5Phi-4 Mini
LMArena Text1446—
LMArena Creative Writing1439—
EQ-Bench Creative Writing1601—
LMArena Multi-Turn1456—

Frequently asked questions

Is GLM-5 better than Phi-4 Mini?

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

Which is cheaper, GLM-5 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 lists at $1 and $3.20.

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

GLM-5 scores higher on coding benchmarks: 49.0 versus 28.1 in the Noometry coding category.

Which has the bigger context window?

GLM-5 does, with 205K tokens against 128K.

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

1 benchmark has published results for both models. GLM-5 has 45 scored results on Noometry and Phi-4 Mini has 3.

Related comparisons

Go deeper