GLM 5.2 (batch)

GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering, and complex multi-step automation. Reasoning efforts `high` and `xhigh` are supported; `xhigh` maps to max reasoning. It is particularly strong at coding and tool use across long-running tasks, able to maintain engineering context and follow standards consistently through a full development workflow, from requirements to multi-platform deployment, in a single task.

ChatZhipu1M tokens$1.5261 / $4.7963 · 1M

z-ai/glm-5.2:batch

Contexto
1M tokens
Máx. completion
Tools
JSON
Lanzamiento
2026-06-16

Llámalo desde Geek Hub

El mismo SDK de OpenAI. Cambia el base URL y el id del modelo.

curl https://api.geekhub.mx/v1/chat/completions \
  -H "Authorization: Bearer $GEEKHUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "z-ai/glm-5.2:batch",
    "messages": [{"role": "user", "content": "Hola"}]
  }'
Consigue tu API key

Preguntas frecuentes

¿Qué es GLM 5.2 (batch)?
GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering, and complex multi-step automation. Reasoning efforts `high` and `xhigh` are supported; `xhigh` maps to max reasoning. It is particularly strong at coding and tool use across long-running tasks, able to maintain engineering context and follow standards consistently through a full development workflow, from requirements to multi-platform deployment, in a single task. GLM 5.2 (batch) corre en el API de Geek Hub (compatible con OpenAI). Id: z-ai/glm-5.2:batch.
¿GLM 5.2 (batch) es gratis?
No. El input cuesta $1.5261 / 1M tokens y el output $4.7963 / 1M tokens en Geek Hub (markup incluido).
¿Cuál es el contexto de GLM 5.2 (batch)?
GLM 5.2 (batch) tiene una ventana de 1M tokens.
¿GLM 5.2 (batch) soporta tool calling y structured outputs?
GLM 5.2 (batch) acepta tools y tool_choice para function calling. También soporta structured outputs con un JSON schema en response_format.
¿Cuándo se lanzó GLM 5.2 (batch)?
GLM 5.2 (batch) se lanzó el 16 de junio de 2026.

Más modelos de Zhipu