z-ai logo
z-ai

Z.ai: GLM 5.2 (batch)

Descripción de la fuente (inglés)

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,...

Resumen

Especificaciones del modelo

Contexto
1.048.576 tokens
Salida máxima
943.718 tokens
Arquitectura
text->text
Tokenizador
Other
Corte de conocimiento
No indicado
Moderado
No
OPENROUTER

Precios completos

Tarifas sincronizadas desde OpenRouter, por millón de tokens.

Entrada
$0.322
por millón de tokens
Salida
$0.989
por millón de tokens
Lectura de caché
$0.109
por millón de tokens
API

Configuración del modelo

Parámetros predeterminados

temperature
1
top_p
0.95

Razonamiento

Razonamiento obligatorio
No
Parámetros predeterminados
high
Capacidades y modalidades
xhigh, high, none
API

Inicio rápido

Configura OPENROUTER_API_KEY localmente. Python requiere requests; JavaScript se ejecuta en Node.js. Mantén la clave en el servidor.

Esta solicitud envía un lote asíncrono con el ID del modelo base. El ID de la tarea confirma el envío, no la finalización.

Documentación de la API

curl --fail-with-body https://openrouter.ai/api/beta/batches \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"endpoint":"/v1/chat/completions","model":"z-ai/glm-5.2","requests":[{"custom_id":"request-1","body":{"messages":[{"role":"user","content":"Hello!"}]}}]}'

# Replace JOB_ID with the returned id to check progress.
curl --fail-with-body "https://openrouter.ai/api/beta/batches/JOB_ID" \
  -H "Authorization: Bearer $OPENROUTER_API_KEY"
Capacidades y modalidades

Entrada → Salida

Entrada
text
Salida
text
Razonamiento

Sí · xhigh · high · none

API

Parámetros API compatibles

frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_ppresence_penaltyreasoningreasoning_effortrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p
Proveedores disponibles

1 Proveedor

Verificado: 17 de noviembre de 2026

Proveedores en vivo en OpenRouter

Disponibilidad, latencia, rendimiento y enrutamiento cambian continuamente. Consulta la fuente para datos actuales.

OpenRouter

Morph

fp8
Contexto
1.0M
Salida máxima
944K
Entrada
$0.322
Salida
$0.989
Lectura de caché
$0.109
Escritura de caché
No indicado
z-ai

4 modelos

Todos los modelos
z-ai logoz-ai

Z.ai: GLM 5.3 FlashX Legal

GLM-5.3-FlashX-Legal (GLM-Legal) is Z.ai's legal-domain variant of GLM-5.3-FlashX, a native multimodal model that accepts text, image, and video input and produces text. It adds legal-domain mid-training and post-training with reinforcement...

Contexto
1.0M
Entrada
text · image · video
Salida
text
Entrada: $0.37Salida: $1.25por millón de tokens
Ver detalles del modelo →
z-ai logoz-ai

Z.ai: GLM 5.3 Prime

GLM-5.3-Prime is the high-speed variant of Z.ai's GLM-5.3, inheriting its full capabilities while delivering 1.5–2× the output throughput through inference acceleration. It supports text input and output with a 1M-token...

Contexto
1M
Entrada
text
Salida
text
Entrada: $1.68Salida: $5.28por millón de tokens
Ver detalles del modelo →
z-ai logoz-ai

Z.ai: GLM 5.3 FlashX

GLM-5.3-FlashX is the high-speed variant of Z.ai's GLM-5.3-Flash, a native multimodal model delivering inference speeds of up to 200 tokens/s. Built on the same hybrid sparse and linear attention architecture...

Contexto
1.0M
Entrada
text · image · video
Salida
text
Entrada: $0.37Salida: $1.25por millón de tokens
Ver detalles del modelo →
z-ai logoz-ai

Z.ai: GLM 5.3 Flash

GLM-5.3-Flash is a native multimodal model from Z.ai. It is suited for efficient coding and long-horizon agent tasks. Its hybrid sparse and linear attention architecture maintains accurate long-context behavior while...

Contexto
1.0M
Entrada
text · image · video
Salida
text
Entrada: $0.15Salida: $0.5por millón de tokens
Ver detalles del modelo →