BuildLearnCommunity ModelsCheapestLong-contextOpen sourceImage modelsTrending How we score API key
๐ŸŽฏ Don't want to pick? Send model: "appmo/auto" and Appmo routes each request to the cheapest model that's good enough โ€” cutting your bill up to 40%. See how โ†’
Models โ€บ z-ai โ€บ Z.ai: GLM 5.2

Z.ai: GLM 5.2 โ€” pricing & benchmarks

By z-ai ยท Updated 2026-10-06 ยท Open weights ยท mitlong-context / RAGstep-by-step reasoningopen weights / self-hostable

Z.ai: GLM 5.2 costs $0.38 per 1M input tokens and $3.49 per 1M output tokens, with a 1M context window. It is best suited for long-context / RAG, step-by-step reasoning, open weights / self-hostable, and is available through one OpenAI-compatible Appmo API key.
$0.38Input / 1M
$3.49Output / 1M
1MContext
694.2KHF downloads (30d)
5.1KHF likes

What Z.ai: GLM 5.2 is used for

Z.ai: GLM 5.2 is best suited for long-context / RAG, step-by-step reasoning, open weights / self-hostable. Access it through one Appmo API key alongside 458 other models โ€” Appmo's optimizer can route to it automatically when it is the best value for a request. Weights: huggingface.co/zai-org/GLM-5.2.

Use it via the Appmo API (OpenAI-compatible)

curl https://appmo.com/v1/chat/completions \
  -H "Authorization: Bearer $APPMO_KEY" \
  -d '{"model":"z-ai/glm-5.2","messages":[{"role":"user","content":"Hello"}]}'

FAQ

How much does Z.ai: GLM 5.2 cost?
Z.ai: GLM 5.2 costs $0.38 per 1M input tokens and $3.49 per 1M output tokens ($1.158 blended), as of 2026-10-06. Prices are expected to fall as competition increases.

What is Z.ai: GLM 5.2 best for?
Z.ai: GLM 5.2 is best suited for long-context / RAG, step-by-step reasoning, open weights / self-hostable.

How do I use Z.ai: GLM 5.2?
Send requests to Appmo's OpenAI-compatible endpoint with model id "z-ai/glm-5.2" and one API key โ€” no separate provider account needed.

Is Z.ai: GLM 5.2 open source?
Yes โ€” its weights are public on Hugging Face (zai-org/GLM-5.2) under the mit license; check the license terms before commercial use.

Can Z.ai: GLM 5.2 create images?
No, Z.ai: GLM 5.2 works with text.