GLM 5.2

z-ai/glm-5.2-20260616

Z.ai: GLM 5.2 is a text‑only model from z‑ai that supports reasoning and tool usage. It provides an open‑weight architecture with a context window of up to 1,048,576 tokens. Pricing is $0.8246 per million input tokens and $2.5916 per million output tokens.

  • tool use
  • structured outputs
  • reasoning
  • open-weight

At a glance

providerz-ai
releasedJun 16, 2026
context1.0M
input / M$0.82

Specifications

What the API gives you

Context window
1.0M tokens
Max output
131K tokens
Input price
$0.82 / 1M tokens
Output price
$2.59 / 1M tokens
Cache read
$0.15 / 1M tokens
Modalities
text → text
Knowledge cutoff
Released
Jun 16, 2026

Recommendation coverage

Where this model appears

  1. #2Best LLM for RAG & Long Context
  2. #2Best Open-Weight LLM for Self-Hosting
  3. #2Best Local LLM for Coding
  4. #5Best LLM for Chat & Roleplay

Benchmarks

No independent benchmark results are linked to this model yet. We keep it visible while withholding quality claims until usable results arrive.

Open-weight model on Hugging Face.

Catalog data via OpenRouter and models.dev. Last checked within the past 6 hours.