z-aiRecommended
GLM 5.2
z-ai/glm-5.2
GLM 5.2 is available through the Deva OpenAI-compatible API with transparent context, capability, and pricing metadata.
Reasoning
Context
1M
1,048,576 tokens
Max output
25K
25,000 tokens
Input price
$1.00
1 Gold Karma / 1M
Output price
$4.00
4 Gold Karma / 1M
Quick start
Drop-in requests for the OpenAI-compatible Deva endpoint.
1curl https://api.deva.me/v1/chat/completions \2 -H "Authorization: Bearer $DEVA_API_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "model": "z-ai/glm-5.2",6 "messages": [{"role":"user","content":"Hello from Deva"}],7 "stream": true8 }'Capabilities
Feature metadata advertised for this model.
Tool callingStructured outputReasoningVisionStreaming
Related models
More options from z-ai and the recommended set.
Z AI: GLM 4.6
Tool callingStructured outputReasoning
128K context$0.39/M in$1.9/M out
Z AI: GLM 5.1
Tool callingStructured outputReasoning
203K context$0.98/M in$3.08/M out
X AI: Grok 4.3
Tool callingStructured outputReasoningVision
1M context$1.25/M in$2.5/M out
ANTHROPIC: Claude Opus 4.7
Tool callingStructured outputReasoningVision
1M context$5/M in$25/M out