Drop-in code to call this model. OpenRouter's API is OpenAI-compatible — most SDKs work by just swapping the base URL. The only thing that changes between models is the model slug below.
This model always redirects to the latest GLM model from Z.ai.
GLM Latest has no fixed price of its own. Each request is billed at the price of the model that serves it, so your cost depends on which model the request is routed to.
GLM Latest can route to models with context windows of up to 1,048,576 tokens. The context length available to a request is that of the model that serves it.
GLM 5.3 Prime, GLM 5.3 FlashX, GLM 5.3 Flash and 12 more are other text models from Z.ai.
GLM Latest was released on August 19, 2026.