> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cogito.decart.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# GLM-5.2

> Zhipu's frontier open-weight MoE — 1M-token context and strong agentic reasoning.

Zhipu AI's frontier open-weight model. A large MoE with a 1M-token context window and strong coding and agentic reasoning, served on Cogito's optimized stack.

|                |                                                                                        |
| -------------- | -------------------------------------------------------------------------------------- |
| **Model ID**   | `zai-org/GLM-5.2-NVFP4`                                                                |
| **Route slug** | `glm-5.2-nvfp4`                                                                        |
| **Parameters** | 744B (MoE, \~40B active)                                                               |
| **Context**    | 1,048,576 tokens (1M)                                                                  |
| **License**    | MIT                                                                                    |
| **Pricing**    | [cogito.decart.ai/models/glm-5.2-nvfp4](https://cogito.decart.ai/models/glm-5.2-nvfp4) |

## Best for

* Coding agents and multi-step tool use
* Long-context workloads (up to 1M tokens)
* Frontier reasoning at open-weight economics

```python theme={null}
client.chat.completions.create(
    model="zai-org/GLM-5.2-NVFP4",
    messages=[...],
)
```

## License

GLM-5.2 ships under the MIT license — permissive enough for commercial deployments; check the upstream license for redistribution specifics.
