Tools
z-aiRecommended

GLM 5.1

z-ai/glm-5.1

GLM-5.1 delivers a major leap in coding capability, with especially strong gains on long-horizon tasks. Rather than minute-level interactions, it can work independently and continuously on a single task for more than eight hours, autonomously planning, executing, and refining its work to deliver complete, engineering-grade results.

Tool callingStructured outputReasoning
Context
203K
202,752 tokens
Max output
25K
25,000 tokens
Input price
$0.98
980 Gold Karma / 1M
Output price
$3.08
3,080 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.1",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.

Browse all