Compare/GPT-5.4 mini (xhigh) vs GLM-5.2 (max)

GPT-5.4 mini (xhigh)vsGLM-5.2 (max)

Side-by-side comparison of pricing, 12 benchmarks, and generation speed.

OpenAI

GPT-5.4 mini (xhigh)

Input
$0.75/M
Output
$4.5/M
Speed
161 tok/s
TTFT
10.94s
Z AI

GLM-5.2 (max)

Input
$1.4/M
Output
$4.4/M
Speed
192 tok/s
TTFT
0.90s

Winner by Category

Cheaper
GPT-5.4 mini (xhigh)
Faster (tok/s)
GLM-5.2 (max)
Lower Latency
GLM-5.2 (max)
Benchmarks (1-5)
GLM-5.2 (max)

Pricing Comparison

MetricGPT-5.4 mini (xhigh)GLM-5.2 (max)
Input ($/M tokens)$0.75$1.4
Output ($/M tokens)$4.5$4.4
Cost for 1M input + 100K output tokens:
GPT-5.4 mini (xhigh)$1.20
GLM-5.2 (max)$1.84

Speed Comparison

Output Speed (tokens/s) — higher is better
GPT-5.4 mini (xhigh)
161 tok/s
GLM-5.2 (max)
192 tok/s
Time to First Token (seconds) — lower is better
GPT-5.4 mini (xhigh)
10.94s
GLM-5.2 (max)
0.90s

Benchmark Comparison

Data from Artificial Analysis API — 12 benchmarks

Intelligence Index
40.051.1
Coding Index
56.168.8
Math Index
GPQA Diamond
87.5%89.5%
MMLU-Pro
LiveCodeBench
AIME 2025
MATH-500
Humanity's Last Exam
26.6%40.1%
SciCode
49.9%50.5%
IFBench
73.3%73.3%
TerminalBench
52.3%50.8%
GPT-5.4 mini (xhigh)1 wins
5 winsGLM-5.2 (max)

Frequently Asked Questions

Which is cheaper, GPT-5.4 mini (xhigh) or GLM-5.2 (max)?

GPT-5.4 mini (xhigh) is cheaper overall. Its blended price (3:1 input/output ratio) is $1.69/M tokens vs $2.15/M for GLM-5.2 (max).

Which model performs better on benchmarks?

GLM-5.2 (max) wins 5 out of 12 benchmarks compared to 1 for GPT-5.4 mini (xhigh). See the detailed benchmark chart above for per-category results.

Which is faster for real-time applications?

GLM-5.2 (max) generates tokens faster at 192 tok/s vs 161 tok/s. However, GLM-5.2 (max) has lower time-to-first-token (0.90s vs 10.94s).

When should I use GPT-5.4 mini (xhigh) vs GLM-5.2 (max)?

Choose based on your priorities: GPT-5.4 mini (xhigh) for lower cost, GLM-5.2 (max) for stronger benchmark performance, and GLM-5.2 (max) for faster generation. For latency-sensitive apps, check the TTFT comparison above.