GLM · Best AI for
Best GLM model for writing code
Only Z.ai (Zhipu) models, scored against every current AI on the same tests, so you can see which one to pick and how it stacks up.
Answer: GLM-5.3 (54/100 · $2.15 per 1M tokens)

GLM-5.3. It scores 54/100 for writing code, #16 among all 35 current models (the overall leader, GPT-6 Astra, scores 91).
All 3 GLM models for writing code
Score = share of all of today's AI models it beats on this job's tests (100 = best of all). Bar in coral = the overall #1, for reference.
Score, price and memory side by side
Cost per job = one long request (≈ 20K tokens read, 2K written), using list API prices.
| Model | Score | $ / 1M tokens | Cost per job | Memory | Released |
|---|---|---|---|---|---|
| GLM-5.3 | 54 | $2.15 | $0.037 | 1M | Aug 2026 |
| GLM-5.3-Flash | 32 | $0.24 | $0.004 | 1M | Aug 2026 |
| GLM-5.2 | 28 | $2.15 | $0.037 | 1M | Jun 2026 |
Quick answers
Which GLM model is best for writing code?
GLM-5.3. It scores 54/100 for writing code, #16 among all 35 current models (the overall leader, GPT-6 Astra, scores 91).
About GLM-5.3 →What's the runner-up?
GLM-5.3-Flash, scoring 32 at $0.24 per million tokens.
See the details →How does it compare with the overall best for writing code?
GPT-6 Astra scores 91 vs 54, but costs about 9.3× as much per token.
Best AI for writing code →How are these ranked?
Each model's score is the share of current AI models it beats on the writing code tests, weighted towards newer and harder tests. Only Z.ai (Zhipu) models, scored against every current AI on the same tests, so you can see which one to pick and how it stacks up.
How scores work →More ways to pick for writing code
GLM for other jobs
24 jobs · scores update automatically from public test results · data as of November 21, 2026