GLM 5.2

z-ai/glm-5.2-20260616

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

At a glance

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

Specifications

What the API gives you

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

Recommendation coverage

Where this model appears

  1. #1Best Local LLM for Coding
  2. #2Best Cheap LLM for High Volume
  3. #4Best Value LLM
  4. #8Best LLM for RAG & Long Context

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.