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.
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 | Phi-4 | |
|---|---|---|
| Provider | Z.ai (Zhipu) | Microsoft |
| Noometry Index | 42.0 | 31.2 |
| Released | 2025-12-22 | 2024-12-11 |
| Weights | Open | Open |
| Context window | 205K | 128K |
| Max output | 131K | 4K |
| Input $ / M tokens | $0.60 | $0.07 |
| Output $ / M tokens | $2.20 | $0.14 |
| Results tracked | 36 | 37 |
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)
| Benchmark | GLM-4.7 | Phi-4 |
|---|---|---|
| LMArena Coding | 1454 | 1231 |
| LMArena WebDev | 1435 | — |
| SciCode | 45.1% | — |
| BigCodeBench Instruct | — | 45.5% |
| LiveBench Coding | — | 30.7% |
| BigCodeBench Complete | — | 55.4% |
| ALE-Bench | 399.48 | — |
Agentic & Tool Use GLM-4.7 leads
GLM-4.7: 26.5 (#103), Phi-4: 22.8 (#128)
| Benchmark | GLM-4.7 | Phi-4 |
|---|---|---|
| Terminal-Bench | 33.4% | — |
| Berkeley Function Calling Leaderboard | — | 28.8% |
| BALROG | — | 11.6% |
| Vending-Bench 2 | 2,377 | — |
Reasoning GLM-4.7 leads
GLM-4.7: 24.3 (#164), Phi-4: 17.7 (#291)
| Benchmark | GLM-4.7 | Phi-4 |
|---|---|---|
| Chess Puzzles | 6% | 1% |
| LMArena Hard Prompts | 1443 | 1220 |
| Epoch Capabilities Index | 143.51 | 130.42 |
| SimpleBench | 47.7% | — |
| CritPt | 1.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)
| Benchmark | GLM-4.7 | Phi-4 |
|---|---|---|
| OTIS Mock AIME 2024-2025 | 83.3% | 13.8% |
| LMArena Math | 1423 | 1246 |
| ProofBench | 6% | — |
| 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)
| Benchmark | GLM-4.7 | Phi-4 |
|---|---|---|
| GPQA Diamond | 83.3% | 56.1% |
| Vectara Hallucination Rate | 11.7% | 3.7% |
| LMArena Expert | 1424 | 1203 |
| SimpleQA Verified | 32.2% | — |
| Confabulations | — | 29.4% |
| MMLU | — | 84.8% |
Multilingual GLM-4.7 leads
GLM-4.7: 52.8 (#79), Phi-4: 37.2 (#237)
| Benchmark | GLM-4.7 | Phi-4 |
|---|---|---|
| LMArena Non-English | 1417 | 1197 |
| LMArena Chinese | 1495 | 1212 |
| LMArena French | 1432 | 1224 |
| LMArena German | 1424 | 1222 |
| LMArena Japanese | 1439 | 1158 |
| LMArena Korean | 1399 | 1151 |
| LMArena Russian | 1423 | 1209 |
| LMArena Spanish | 1434 | 1234 |
Instruction Following GLM-4.7 leads
GLM-4.7: 74.4 (#95), Phi-4: 60.4 (#251)
| Benchmark | GLM-4.7 | Phi-4 |
|---|---|---|
| LMArena Instruction Following | 1411 | 1201 |
| LiveBench Instruction Following | — | 58.4% |
Long Context GLM-4.7 leads
GLM-4.7: 42.8 (#116), Phi-4: 36.9 (#226)
| Benchmark | GLM-4.7 | Phi-4 |
|---|---|---|
| LMArena Longer Query | 1432 | 1217 |
| CL-bench | 15.9% | — |
| CL-bench Life | 10.9% | — |
Writing & Preference GLM-4.7 leads
GLM-4.7: 60.9 (#93), Phi-4: 40.5 (#244)
| Benchmark | GLM-4.7 | Phi-4 |
|---|---|---|
| LMArena Text | 1435 | 1217 |
| LMArena Creative Writing | 1401 | 1182 |
| LMArena Multi-Turn | 1446 | 1206 |
| Short-Story Creative Writing | — | 62.6% |
| EQ-Bench Creative Writing | 1413 | — |
| 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.