token.app โ€บ Compare โ€บ GPT-5 Mini vs GLM 5.2

GPT-5 Mini vs GLM 5.2

GLM 5.2 leads on 5 of 6 shared benchmarks. GLM 5.2 is 1.8ร— 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 MiniGLM 5.2
ProviderOpenAIZhipu AI
Input $/1M$0.250$0.252
Output $/1M$2.00$0.792
Blended $/1M$0.688$0.387
Context window400K1.0M
Max output128K128K
ReleasedAug 2025Jun 2026
LicenceProprietaryOpen weights
GPQA Diamond 75.0% 91.9%
SWE-bench Verified 64.7% 78.7%
FrontierMath T1โ€“3 46.7% 59.2%
FrontierMath T4 12.2% 29.3%
SimpleQA Verified 21.0% 38.1%
OTIS Mock AIME 86.7% 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 Mini ifโ€ฆ
  • Higher OTIS Mock AIME (86.7% vs 86.4%)
Choose GLM 5.2 ifโ€ฆ
  • Costs less per token โ€” $0.387 vs $0.688 blended
  • Higher GPQA Diamond (91.9% vs 75.0%)
  • Higher SWE-bench Verified (78.7% vs 64.7%)
  • Higher FrontierMath T1โ€“3 (59.2% vs 46.7%)
  • Higher FrontierMath T4 (29.3% vs 12.2%)
  • Larger context window (1.0M)
  • Open weights โ€” self-hostable
  • Newer model (released Jun 2026)
FAQ
Which is better, GPT-5 Mini or GLM 5.2?
Across the 6 benchmarks both models have independently-run scores for, GPT-5 Mini leads on 1 and GLM 5.2 leads on 5. Benchmarks are one input โ€” price and context window are on this page too.
Is GPT-5 Mini cheaper than GLM 5.2?
GLM 5.2 is cheaper: $0.387 versus $0.688 per million tokens blended at 3:1 input:output. Input alone: $0.250 vs $0.252. Output alone: $2.00 vs $0.792.
What context windows do GPT-5 Mini and GLM 5.2 have?
GPT-5 Mini: 400,000 tokens. GLM 5.2: 1,048,576 tokens.
Who makes GPT-5 Mini and GLM 5.2?
GPT-5 Mini is made by OpenAI. GLM 5.2 is made by Zhipu AI.
Related comparisons