live
weekly refresh
basedagi.org
▸ compare

Z.ai: GLM 5 vs OpenAI: GPT-5.2

Side-by-side benchmark comparison based on independent public data. Scores, pricing, context, and task breakdown.

▸ verdict
Z.ai: GLM 5
86.2
higher score
vs
OpenAI: GPT-5.2
81.3
Z.ai: GLM 5 leads with a higher composite benchmark score. It's the stronger choice for general-purpose tasks based on public benchmark data.
▸ score breakdown
TaskZ.ai: GLM 5OpenAI: GPT-5.2Δ
Overall86.281.3+4.9
Coding64.769.9-5.2
Reasoning67.8
Math
Writing79.9
JSON54.2
▸ specs & pricing
AttributeZ.ai: GLM 5OpenAI: GPT-5.2
ProviderZ AiOpenai
Context window203K400K
Input $/M tokens$0.60/M$1.75/M
Output $/M tokens$1.92/M$14.00/M
Weightsproprietaryproprietary
▸ frequently asked

Is Z.ai: GLM 5 better than OpenAI: GPT-5.2?

Z.ai: GLM 5 scores higher overall (86.2 vs 81.3) in the benchmark composite. The best choice depends on the specific use case and budget.

Which is cheaper: Z.ai: GLM 5 or OpenAI: GPT-5.2?

Z.ai: GLM 5 is cheaper at $0.6/M input tokens vs $1.75/M for OpenAI: GPT-5.2.

Which model is better for coding?

OpenAI: GPT-5.2 leads on coding with a score of 69.9 vs 64.7 for Z.ai: GLM 5. This is based on SWE-Bench, Aider Polyglot, and LiveCodeBench data.