Model comparison

GLM-4.7 vs Phi-4

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

Last verified . 22 shared benchmarks.

GLM-4.7 Z.ai (Zhipu)

42.0

Rank #124 Confirmed

Phi-4 Microsoft

31.2

Rank #279 Confirmed

Summary

  • They share 22 benchmarks with published results for both. GLM-4.7 scores higher in 9 categories and Phi-4 in 0 categories; 9 gaps are clear of the uncertainty.
  • The widest gap is in writing & preference, where GLM-4.7 leads 60.9 to 40.5.
  • The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 83.3% for GLM-4.7 and 13.8% for Phi-4.
  • Phi-4 is cheaper at $0.07 / $0.14 per million input/output tokens, against $0.60 / $2.20 for GLM-4.7.
  • GLM-4.7 accepts more context: 205K tokens versus 128K.

Side by side

GLM-4.7 and Phi-4 specifications
GLM-4.7Phi-4
ProviderZ.ai (Zhipu)Microsoft
Noometry Index42.031.2
Released2025-12-222024-12-11
WeightsOpenOpen
Context window205K128K
Max output131K4K
Input $ / M tokens$0.60$0.07
Output $ / M tokens$2.20$0.14
Results tracked3637

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

Category by category

Coding GLM-4.7 leads

GLM-4.7: 44.0 (#79), Phi-4: 34.4 (#239)

Coding benchmarks
BenchmarkGLM-4.7Phi-4
LMArena Coding14541231
LMArena WebDev1435—
SciCode45.1%—
BigCodeBench Instruct—45.5%
LiveBench Coding—30.7%
BigCodeBench Complete—55.4%
ALE-Bench399.48—

Agentic & Tool Use GLM-4.7 leads

GLM-4.7: 26.5 (#103), Phi-4: 22.8 (#128)

Agentic & Tool Use benchmarks
BenchmarkGLM-4.7Phi-4
Terminal-Bench33.4%—
Berkeley Function Calling Leaderboard—28.8%
BALROG—11.6%
Vending-Bench 22,377—

Reasoning GLM-4.7 leads

GLM-4.7: 24.3 (#164), Phi-4: 17.7 (#291)

Reasoning benchmarks
BenchmarkGLM-4.7Phi-4
Chess Puzzles6%1%
LMArena Hard Prompts14431220
Epoch Capabilities Index143.51130.42
SimpleBench47.7%—
CritPt1.7%—
LiveBench Reasoning—47.8%
LiveBench Data Analysis—45.2%
LiveBench—41.6%

Math GLM-4.7 leads

GLM-4.7: 38.6 (#135), Phi-4: 20.8 (#285)

Math benchmarks
BenchmarkGLM-4.7Phi-4
OTIS Mock AIME 2024-202583.3%13.8%
LMArena Math14231246
ProofBench6%—
LiveBench Math—42%
MATH Level 5—64.9%
FrontierMath (Feb 2025 set)2.4%—
FrontierMath Tier 4 (v1)0%—

Knowledge GLM-4.7 leads

GLM-4.7: 47.0 (#80), Phi-4: 32.6 (#209)

Knowledge benchmarks
BenchmarkGLM-4.7Phi-4
GPQA Diamond83.3%56.1%
Vectara Hallucination Rate11.7%3.7%
LMArena Expert14241203
SimpleQA Verified32.2%—
Confabulations—29.4%
MMLU—84.8%

Multilingual GLM-4.7 leads

GLM-4.7: 52.8 (#79), Phi-4: 37.2 (#237)

Multilingual benchmarks
BenchmarkGLM-4.7Phi-4
LMArena Non-English14171197
LMArena Chinese14951212
LMArena French14321224
LMArena German14241222
LMArena Japanese14391158
LMArena Korean13991151
LMArena Russian14231209
LMArena Spanish14341234

Instruction Following GLM-4.7 leads

GLM-4.7: 74.4 (#95), Phi-4: 60.4 (#251)

Instruction Following benchmarks
BenchmarkGLM-4.7Phi-4
LMArena Instruction Following14111201
LiveBench Instruction Following—58.4%

Long Context GLM-4.7 leads

GLM-4.7: 42.8 (#116), Phi-4: 36.9 (#226)

Long Context benchmarks
BenchmarkGLM-4.7Phi-4
LMArena Longer Query14321217
CL-bench15.9%—
CL-bench Life10.9%—

Writing & Preference GLM-4.7 leads

GLM-4.7: 60.9 (#93), Phi-4: 40.5 (#244)

Writing & Preference benchmarks
BenchmarkGLM-4.7Phi-4
LMArena Text14351217
LMArena Creative Writing14011182
LMArena Multi-Turn14461206
Short-Story Creative Writing—62.6%
EQ-Bench Creative Writing1413—
LiveBench Language—25.6%

Frequently asked questions

Is GLM-4.7 better than Phi-4?

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

Which is cheaper, GLM-4.7 or Phi-4?

Phi-4 is cheaper. It lists at $0.07 per million input tokens and $0.14 per million output tokens; GLM-4.7 lists at $0.60 and $2.20.

Is GLM-4.7 or Phi-4 better for coding?

GLM-4.7 scores higher on coding benchmarks: 44.0 versus 34.4 in the Noometry coding category.

Which has the bigger context window?

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

How many benchmarks do GLM-4.7 and Phi-4 share?

22 benchmarks have published results for both models. GLM-4.7 has 36 scored results on Noometry and Phi-4 has 37.

Related comparisons

Go deeper