token.app โบ Compare โบ GPT-5.4 Mini vs GLM 5.2
GPT-5.4 Mini vs GLM 5.2
GLM 5.2 leads on 4 of 5 shared benchmarks. GLM 5.2 is 4.4ร cheaper per token on a blended 3:1 basis. GLM 5.2 accepts the larger context window (1.0M).
Head to head
Blended price uses a 3:1 input:output mix
| GPT-5.4 Mini | GLM 5.2 | |
|---|---|---|
| Provider | OpenAI | Zhipu AI |
| Input $/1M | $0.750 | $0.252 |
| Output $/1M | $4.50 | $0.792 |
| Blended $/1M | $1.69 | $0.387 |
| Context window | 400K | 1.0M |
| Max output | 128K | 128K |
| Released | Mar 2026 | Jun 2026 |
| Licence | Proprietary | Open weights |
| GPQA Diamond | 86.9% | 91.9% |
| FrontierMath T1โ3 | 51.2% | 59.2% |
| FrontierMath T4 | 9.8% | 29.3% |
| SimpleQA Verified | 28.6% | 38.1% |
| OTIS Mock AIME | 88.9% | 86.4% |
Benchmark scores independently run and published by Epoch AI, 'AI Benchmarking Hub', used under CC BY 4.0. Only benchmarks with a score for BOTH models are compared.
Choose GPT-5.4 Mini ifโฆ
- Higher OTIS Mock AIME (88.9% vs 86.4%)
Choose GLM 5.2 ifโฆ
- Costs less per token โ $0.387 vs $1.69 blended
- Higher GPQA Diamond (91.9% vs 86.9%)
- Higher FrontierMath T1โ3 (59.2% vs 51.2%)
- Higher FrontierMath T4 (29.3% vs 9.8%)
- Higher SimpleQA Verified (38.1% vs 28.6%)
- Larger context window (1.0M)
- Open weights โ self-hostable
- Newer model (released Jun 2026)
FAQ
Which is better, GPT-5.4 Mini or GLM 5.2?
Across the 5 benchmarks both models have independently-run scores for, GPT-5.4 Mini leads on 1 and GLM 5.2 leads on 4. Benchmarks are one input โ price and context window are on this page too.
Is GPT-5.4 Mini cheaper than GLM 5.2?
GLM 5.2 is cheaper: $0.387 versus $1.69 per million tokens blended at 3:1 input:output. Input alone: $0.750 vs $0.252. Output alone: $4.50 vs $0.792.
What context windows do GPT-5.4 Mini and GLM 5.2 have?
GPT-5.4 Mini: 400,000 tokens. GLM 5.2: 1,048,576 tokens.
Who makes GPT-5.4 Mini and GLM 5.2?
GPT-5.4 Mini is made by OpenAI. GLM 5.2 is made by Zhipu AI.