GLM 5.2 E2EE
GLM 5.2 running in a Trusted Execution Environment (TEE). A Z.AI model for long-horizon tasks with enhanced reasoning and project-level engineering context, with hardware attestation evidence available for independent verification.
- Prompts are decrypted only inside an attested TEE on the GPU.
- Calls need the E2EE handshake. Without it, requests reach Venice as plaintext and run TEE-only. How to call an E2EE model
Capabilities
What the model takes in, returns and supports through the API.
stream: truetoolsReasoningreasoning_effort none · low · medium · highenable_web_searchNot supportedstructured outputs, image input, video input, audio input, X search and log probabilities
Performance
Measured on Venice API traffic over the last 24 hours.
Pricing
Billed per token in USD. Reasoning tokens bill as output.
Estimate a workload
Blended price against similar models
Specs
- Model ID
e2ee-glm-5-2-p- Endpoint
POST /api/v1/chat/completions- Context window
- 524,288 tokens
- Max output
- 32,768 tokens
- Reasoning
none · low · medium · high· default low- Precision
- Not disclosed
- Privacy
- E2EE
- Weights
- zai-org/GLM-5.2
- Added
- Jun 16, 2026
Compare
| Model | Input | Output |
|---|---|---|
| GLM 5.2 E2EE | $1.75 | $5.75 |
| DeepSeek V4 Pro 0813 | $1.65 | $4.95 |
| Grok 4.5 | $2.27 | $6.80 |
| Muse Spark Open | $1.56 | $5.31 |
| Gemini 3.5 Flash | $1.55 | $9.45 |
Other versions
- GLM 5.2 E2EEJun 2026
- GLM 5.3 E2EESep 2026
Quickstart
OpenAI-compatible: point any OpenAI SDK at the Venice base URL with a Venice API key.
curl https://api.venice.ai/api/v1/chat/completions \
-H "Authorization: Bearer $VENICE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "e2ee-glm-5-2-p",
"messages": [{ "role": "user", "content": "Explain TEE attestation in two sentences." }],
"reasoning_effort": "low"
}'https://api.venice.ai/api/v1These samples send the prompt as plaintext, so the request runs TEE-only. For end-to-end encryption, send encrypted messages with the E2EE headers, as the TEE and E2EE guide shows.
Parameters
| Parameter | Values |
|---|---|
model | e2ee-glm-5-2-p |
messages | text |
max_completion_tokens | Up to 32,768 |
reasoning_effort | none | low | medium | high |
tools | Function definitions |
stream | true | false |
venice_parameters.enable_web_search | auto | on | off |