GLM-5.2 vs MAI-Code-1-Flash
Cost and capability comparison. For a sample workload of 1,000 input and 500 output tokens across 100,000 requests/month, MAI-Code-1-Flash is cheaper by about $60.00/month.
| GLM-5.2 | MAI-Code-1-Flash | |
|---|---|---|
| Provider | zhipu | microsoft |
| Input / 1M | $1.40 | $0.7500 |
| Output / 1M | $4.40 | $4.50 |
| Per request (sample) | $0.00360 | $0.00300 |
| Monthly (sample) | $360.00 | $300.00 |
| Context window | 1,000,000 | 256,000 |
| Vision | No | No |
| Reasoning | Yes | Yes |
| Arena · Overall | 1463 | — |
| Arena · Coding | 1587 | — |
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.2 and MAI-Code-1-Flash 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.
| MAI-Code-1-Flash | Microsoft | $0.00300 | $300.00 | $3,600.00 | 256,000 |
| GLM-5.2 | Z.ai (Zhipu AI) | $0.00360 | $360.00 | $4,320.00 | 1,000,000 |
FAQ
Which is cheaper, GLM-5.2 or MAI-Code-1-Flash?
For a workload of 1,000 input and 500 output tokens over 100,000 requests/month, MAI-Code-1-Flash is cheaper, costing about $300.00/month versus $360.00/month.
What is the context window of GLM-5.2 and MAI-Code-1-Flash?
GLM-5.2 supports 1,000,000 tokens, while MAI-Code-1-Flash supports 256,000 tokens.
Estimates for planning only. Verify current pricing with each provider.