GLM 5.2
GLM-5.2, the successor to GLM-5.1, is a large language model developed by Z.ai, featuring significantly enhanced reasoning capabilities, improved instruction following, and support for multiple languages. Supports a longer context window than GLM-5.1 for processing extensive text and detailed analysis with fast inference speed.
Input / output
$1.40 / $4.40
per 1M tokens
Context
1M
128K max output
Reasoning
none, high, max
default max
Cached input
$0.26
81% off input
Modalities
Text
out: text
Pricing
USD per 1M tokensInput
$1.40
Cached input
$0.26
Output incl. reasoning
$4.40
| Similar models | Input | Output |
|---|---|---|
| GLM 5.2 | $1.40 | $4.40 |
| DeepSeek V4 Pro | $1.65 | $3.30 |
| Gemini 3.6 Flash | $0.9375 | $4.69 |
| Gemini 3.7 Flash | $0.9375 | $4.69 |
| DeepSeek V4 Pro 0813 | $1.65 | $4.95 |
Prompt caching is automatic; see Prompt caching.
Specs
- Model ID
zai-org-glm-5-2- Endpoint
POST /api/v1/chat/completions- Context window
- 1,000,000 tokens
- Max output
- 131,072 tokens
- Reasoning effort
reasoning_effort: none | high | max· default max · guide- Served precision
- FP8
- Added
- Jun 16, 2026
- Weights
- Open
Capabilities
Modalities
- Text
- Input and output
- Image
- Not supported
- Audio
- Not supported
- Video
- Not supported
Features
- Streaming (SSE)
- Supported
- Function calling
- Supported
- Structured output (json_schema)
- Supported
- Reasoning effort
- none, high, max
- Prompt caching
- Supported
- Web search
- venice_parameters
- X search
- Not supported
- Log probabilities
- Not supported
- Fine-tuning
- Not supported
- Image generation
- Not supported
POST
/api/v1/chat/completionsRecommendedcurl 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-2",
"messages": [{ "role": "user", "content": "Explain TEE attestation in two sentences." }],
"reasoning_effort": "max"
}'Privacy
Tier 1
Anonymized
Included
Tier 2 · this model
Private
Zero data retention, enforced by contract. Prompts and outputs aren’t stored.
Tier 3
TEE
Tier 4
End-to-end encrypted
Variants
| Variant | Model ID | Input / output |
|---|---|---|
zai-org-glm-5-2 | $1.40 / $4.40 | |
e2ee-glm-5-2-p | $1.75 / $5.75 |