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

# GLM 5 API

> GLM 5 API on Venice: 198K context, $1.00 input and $3.20 output per 1M tokens. Private, with zero data retention. Supports reasoning and function calling.

> [accordion] Plain-text specification
>
> ## GLM 5 API
>
> GLM 5 is a large language model by Z.ai, available on the Venice API as `zai-org-glm-5`. It runs privately, with zero data retention.
>
> GLM-5, the successor to GLM-4.7, is a large language model developed by Z.ai, featuring significantly enhanced reasoning capabilities, improved instruction following, and support for multiple languages. Supports large context windows for processing extensive text and detailed analysis.
>
> ### GLM 5 API pricing
>
> | Model ID | Variant | Privacy | Price |
> | - | - | - | - |
> | `zai-org-glm-5` | Standard | Private | $1.00 / $3.20 per 1M |
>
> ### GLM 5 specifications
>
> | Spec | Value |
> | - | - |
> | Provider | Z.ai |
> | Released | Feb 11, 2026 |
> | Privacy | Private |
> | Status | Stable |
> | Open weights | Yes |
> | Context window | 198K tokens |
> | Max output | 32K tokens |
> | Reasoning effort | none, low, medium, high |
> | Served precision | FP8 |
>
> ### How to use the GLM 5 API
>
> Send requests to `POST https://api.venice.ai/api/v1/chat/completions` with `"model": "zai-org-glm-5"` and your API key.
>
> ```bash theme={"system"}
> curl https://api.venice.ai/api/v1/chat/completions \
>   -H "Authorization: Bearer $VENICE_API_KEY" \
>   -H "Content-Type: application/json" \
>   -d '{
>     "model": "zai-org-glm-5",
>     "messages": [{ "role": "user", "content": "Explain TEE attestation in two sentences." }],
>     "reasoning_effort": "low"
>   }'
> ```
>
> ### Related models
>
> * [GLM 5.3 API](https://docs.venice.ai/models/glm-5-3.md): $1.75 / $5.50 per 1M
> * [GLM 5.2 API](https://docs.venice.ai/models/glm-5-2.md): $1.40 / $4.40 per 1M
> * [GLM 5.1 API](https://docs.venice.ai/models/glm-5-1.md): $1.54 / $4.84 per 1M
> * [GLM 4.7 API](https://docs.venice.ai/models/glm-4-7.md): $0.55 / $2.65 per 1M
> * [GLM 4.6 API](https://docs.venice.ai/models/glm-4-6.md): $0.43 / $1.75 per 1M
> * [Qwen 3.5 397B API](https://docs.venice.ai/models/qwen-3-5-397b.md): $0.75 / $4.50 per 1M
> * [Gemini 3 Flash Preview API](https://docs.venice.ai/models/gemini-3-flash-preview.md): $0.70 / $3.75 per 1M
> * [GPT-5.4 Mini API](https://docs.venice.ai/models/gpt-5-4-mini.md): $0.75 / $4.50 per 1M
> * [Kimi K2.6 API](https://docs.venice.ai/models/kimi-k2-6.md): $0.75 / $3.50 per 1M


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.