# GLM-5.1 vs Phi-4 Mini

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

- Canonical page: https://noometry.com/compare/glm-5-1-vs-phi-4-mini
- Last updated: 2026-10-11
- Shared benchmarks: 2

## Summary

- They share 2 benchmarks with published results for both. GLM-5.1 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.1 leads 54.9 to 25.3.
- The biggest single-benchmark swing is SciCode: 43.8% for GLM-5.1 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.1.
- GLM-5.1 accepts more context: 200K tokens versus 128K.

## Snapshot

| | GLM-5.1 | Phi-4 Mini |
|---|---|---|
| Provider | Z.ai (Zhipu) | Microsoft |
| Noometry Index | 47.8 | 30.9 |
| Rank | 59 | 283 |
| Context | 200K | 128K |
| Input $/M | $1.40 | $0.075 |
| Output $/M | $4.40 | $0.30 |
| Weights | Open | Open |

## Coding

- GLM-5.1: 48.7 (#55)
- Phi-4 Mini: 28.1 (#317)

| Benchmark | GLM-5.1 | Phi-4 Mini |
|---|---|---|
| SciCode | 43.8% | 10.8% |
| SWE-bench Verified | 74.2% | — |
| LMArena WebDev | 1508 | — |
| WeirdML | 57.1% | — |
| LMArena Coding | 1485 | — |
| ALE-Bench | 887.1 | — |

## Agentic & Tool Use

- GLM-5.1: 24.9 (#113)
- Phi-4 Mini: —

| Benchmark | GLM-5.1 | Phi-4 Mini |
|---|---|---|
| APEX-Agents | 40.9% | — |
| ExploitBench | 18.1% | — |
| GBAEval | 0% | — |
| Vending-Bench 2 | 5,634 | — |

## Reasoning

- GLM-5.1: 39.1 (#60)
- Phi-4 Mini: 22.4 (#195)

| Benchmark | GLM-5.1 | Phi-4 Mini |
|---|---|---|
| CritPt | 4.6% | 0% |
| SimpleBench | 55.1% | — |
| NYT Connections (extended) | 77.7% | — |
| Chess Puzzles | 19% | — |
| Thematic Generalization | 69.8% | — |
| LMArena Hard Prompts | 1472 | — |
| Epoch Capabilities Index | 149.84 | — |

## Math

- GLM-5.1: 49.7 (#60)
- Phi-4 Mini: —

| Benchmark | GLM-5.1 | Phi-4 Mini |
|---|---|---|
| FrontierMath (Tiers 1-3) | 36.8% | — |
| MathArena Final-Answer Competitions | 67.1% | — |
| OTIS Mock AIME 2024-2025 | 93.3% | — |
| ProofBench | 22.2% | — |
| LMArena Math | 1473 | — |
| FrontierMath (Feb 2025 set) | 33.4% | — |
| FrontierMath Tier 4 (v1) | 12.5% | — |

## Knowledge

- GLM-5.1: 54.9 (#50)
- Phi-4 Mini: 25.3 (#262)

| Benchmark | GLM-5.1 | Phi-4 Mini |
|---|---|---|
| GPQA Diamond | 89.9% | — |
| SimpleQA Verified | 34% | — |
| Vectara Hallucination Rate | — | 23.5% |
| LMArena Expert | 1476 | — |

## Multilingual

- GLM-5.1: 55.0 (#36)
- Phi-4 Mini: —

| Benchmark | GLM-5.1 | Phi-4 Mini |
|---|---|---|
| LMArena Non-English | 1447 | — |
| LMArena Chinese | 1515 | — |
| LMArena French | 1474 | — |
| LMArena German | 1465 | — |
| LMArena Japanese | 1434 | — |
| LMArena Korean | 1418 | — |
| LMArena Russian | 1454 | — |
| LMArena Spanish | 1469 | — |

## Instruction Following

- GLM-5.1: 76.3 (#42)
- Phi-4 Mini: —

| Benchmark | GLM-5.1 | Phi-4 Mini |
|---|---|---|
| LMArena Instruction Following | 1451 | — |

## Long Context

- GLM-5.1: 44.9 (#53)
- Phi-4 Mini: —

| Benchmark | GLM-5.1 | Phi-4 Mini |
|---|---|---|
| LMArena Longer Query | 1466 | — |

## Writing & Preference

- GLM-5.1: 66.9 (#31)
- Phi-4 Mini: —

| Benchmark | GLM-5.1 | Phi-4 Mini |
|---|---|---|
| LMArena Text | 1461 | — |
| LMArena Creative Writing | 1453 | — |
| EQ-Bench Creative Writing | 1592 | — |
| LMArena Multi-Turn | 1472 | — |

## FAQ

### Is GLM-5.1 better than Phi-4 Mini?

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

### Which is cheaper, GLM-5.1 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.1 lists at $1.40 and $4.40.

### Is GLM-5.1 or Phi-4 Mini better for coding?

GLM-5.1 scores higher on coding benchmarks: 48.7 versus 28.1 in the Noometry coding category.

### Which has the bigger context window?

GLM-5.1 does, with 200K tokens against 128K.

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

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