Overview
GLM-5.2 is a flagship model designed for the era of long-context tasks. It supports a truly usable 1-million-token context window—capable of handling project-level engineering contexts in real-world testing—and delivers greater stability in executing long-range tasks and higher reliability in adhering to engineering standards, thereby further increasing success rates in development scenarios. It enables the completion of the entire development lifecycle—from requirements to multi-platform deployable artifacts—in a single task.Capabilities
texttool-callingfunction-callingstructured-outputsjson-modestreamingreasoningcode-generationlong-contextmultilingual
Pricing
Prices are customer prices per 1M tokens for a Hostlinku API key, with 1 = $1. Actual cost per request follows the API key’s Service Mode and may change; check Console or
GET /v1/models for current values.
Supported endpoints
Endpoint and model availability follow the catalog and the API key’s Service Mode. If a model is unavailable for that mode, the request may be rejected with
400 MODEL_NOT_IN_SERVICE_MODE.

