GLM 5.2
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.
z-ai/glm-5.2
- Contexto
- 1M tokens
- Máx. completion
- 131,072
- Tools
- Sí
- JSON
- Sí
- 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",
"messages": [{"role": "user", "content": "Hola"}]
}'Consigue tu API keyPreguntas frecuentes
- ¿Qué es GLM 5.2?
- 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 corre en el API de Geek Hub (compatible con OpenAI). Id: z-ai/glm-5.2.
- ¿GLM 5.2 es gratis?
- No. El input cuesta $1.053 / 1M tokens y el output $3.3094 / 1M tokens en Geek Hub (markup incluido).
- ¿Cuál es el contexto de GLM 5.2?
- GLM 5.2 tiene una ventana de 1M tokens. Soporta hasta 131,072 tokens de completion.
- ¿GLM 5.2 soporta tool calling y structured outputs?
- GLM 5.2 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?
- GLM 5.2 se lanzó el 16 de junio de 2026.
Más modelos de Zhipu
- GLM 4.5GLM-4.5 is our latest flagship foundation model, purpose-built for agent-based applications. It leverages a Mixture-of-Experts (MoE) architecture and supports a context length of u
- GLM 4.5 AirGLM-4.5-Air is the lightweight variant of our latest flagship model family, also purpose-built for agent-centric applications. Like GLM-4.5, it adopts the Mixture-of-Experts (MoE)
- GLM 4.5VGLM-4.5V is a vision-language foundation model for multimodal agent applications. Built on a Mixture-of-Experts (MoE) architecture with 106B parameters and 12B activated parameters
- GLM 4.6Compared with GLM-4.5, this generation brings several key improvements: Longer context window: The context window has been expanded from 128K to 200K tokens, enabling the model to
- GLM 4.6VGLM-4.6V is a large multimodal model designed for high-fidelity visual understanding and long-context reasoning across images, documents, and mixed media. It supports up to 128K to
- GLM 4.7GLM-4.7 is Z.ai’s latest flagship model, featuring upgrades in two key areas: enhanced programming capabilities and more stable multi-step reasoning/execution. It demonstrates sign