GLM-5 vs Phi 4
Cost and capability comparison. For a sample workload of 1,000 input and 500 output tokens across 100,000 requests/month, Phi 4 is cheaper by about $246.00/month.
| GLM-5 | Phi 4 | |
|---|---|---|
| Provider | zhipu | microsoft |
| Input / 1M | $1.00 | $0.0700 |
| Output / 1M | $3.20 | $0.1400 |
| Per request (sample) | $0.00260 | $0.000140 |
| Monthly (sample) | $260.00 | $14.00 |
| Context window | 204,800 | 16,384 |
| Vision | No | No |
| Reasoning | Yes | No |
| Arena · Overall | 1438 | 1217 |
| Arena · Coding | 1435 | — |
Intelligence scores are community Arena ratings from LMArena / arena.ai, used under CC BY 4.0. Snapshot last refreshed 28 July 2026. Scores are a relative signal, not an absolute measure of capability. A Measured score was voted on directly; an Estimated score is inherited from an identical base model (a regional/creator-prefixed hosting duplicate). See our methodology.
Compare on your own workload
GLM-5 and Phi 4 are pre-loaded. Adjust the tokens and monthly volume to see which is cheaper for your usage.
Used unless you set active users below.
Results update automatically as you type.
| Phi 4 | Microsoft | $0.000140 | $14.00 | $168.00 | 16,384 |
| GLM-5 | Z.ai (Zhipu AI) | $0.00260 | $260.00 | $3,120.00 | 204,800 |
FAQ
Which is cheaper, GLM-5 or Phi 4?
For a workload of 1,000 input and 500 output tokens over 100,000 requests/month, Phi 4 is cheaper, costing about $14.00/month versus $260.00/month.
What is the context window of GLM-5 and Phi 4?
GLM-5 supports 204,800 tokens, while Phi 4 supports 16,384 tokens.
Estimates for planning only. Verify current pricing with each provider.