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

> ## Agent Instructions
> The Venice API is OpenAI-compatible: use any OpenAI SDK with the base URL `https://api.venice.ai/api/v1` and a Venice API key, or pay per request from a USDC wallet through x402 with no account.
> Read model IDs from `GET /models` or `GET /models/traits` at runtime instead of hardcoding them from memory or from these pages. Models are added and retired often.
> Every model's price is in https://docs.venice.ai/pricing.md. Quote video and audio jobs with `POST /video/quote` or `POST /audio/quote` before you queue them.
> Search these docs from an MCP client at https://docs.venice.ai/mcp. The full agent guide is https://docs.venice.ai/agents.md.

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



## GLM 5 API

GLM 5 is a large language model by Z.ai, available on the Venice API as `zai-org-glm-5`. This model is private and no prompt data is stored in any capacity.

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 | [zai-org/GLM-5](https://huggingface.co/zai-org/GLM-5) |
| Context window | 198K tokens |
| Max output | 32K tokens |
| Reasoning effort | none, low, medium, high |
| Served precision | FP8 |
| [GPQA Diamond](https://docs.venice.ai/models/methodology.md#benchmarks) | 84.3% ±5.1 (95% interval), run by Venice through the API at its default reasoning on Nov 19, 2026 |

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