MODELS / Z.AI

GLM 5.2

GLM 5.2 is Z.AI's flagship open-weight model with a 1M token context window, delivering strong performance across reasoning, coding, agentic workflows, and long-context tasks.

TEXTREASONINGZERO DATA RETENTIONREASONINGTOOL-USE
1.0M
CONTEXT WINDOW
128K
MAX OUTPUT TOKENS
$1.40 / 1M tokens
INPUT PRICE
$4.40 / 1M tokens
OUTPUT PRICE
QUICKSTART

Call it in one request.

OpenAI-compatible — change the base URL, and the setup is complete.

SHELL
curl https://enterprise.blackbox.ai/v1/chat/completions \
  -H "Authorization: Bearer $BLACKBOX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "blackboxai/z-ai/glm-5.2",
    "messages": [{ "role": "user", "content": "Hello!" }],
    "stream": true
  }'
INPUT: textOUTPUT: textRELEASED: 2026-06-16REGIONS: US, APAC