GLM 5.1

GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on a single task for more than 8 hours, autonomously planning, executing, and improving itself throughout the process, ultimately delivering complete, engineering-grade results.

ChatZhipu205k tokens$1.053 / $3.3094 · 1M

z-ai/glm-5.1

Contexto
205k tokens
Máx. completion
128,000
Tools
JSON
Lanzamiento
2026-04-07

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.1",
    "messages": [{"role": "user", "content": "Hola"}]
  }'
Consigue tu API key

Preguntas frecuentes

¿Qué es GLM 5.1?
GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on a single task for more than 8 hours, autonomously planning, executing, and improving itself throughout the process, ultimately delivering complete, engineering-grade results. GLM 5.1 corre en el API de Geek Hub (compatible con OpenAI). Id: z-ai/glm-5.1.
¿GLM 5.1 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.1?
GLM 5.1 tiene una ventana de 205k tokens. Soporta hasta 128,000 tokens de completion.
¿GLM 5.1 soporta tool calling y structured outputs?
GLM 5.1 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.1?
GLM 5.1 se lanzó el 7 de abril de 2026.

Más modelos de Zhipu