Z.ai: GLM 5.1
z-ai/glm-5.1 — available through the Autonomous Relay Agents API, served by Z.ai.
Z.ai: GLM 5.1 has a 204,800-token context window and costs $0.966 per million input tokens and $3.036 per million output tokens, at the provider's list price on your own key.
- Context length
- 204,800 tokens
- Input
- $0.966 per M
- Output
- $3.036 per M
- Served by
- zai
- Input modalities
- text
This is a BYOK-only model: requests use your own provider key. Prices shown are the provider's list prices.
Call it
Any OpenAI-compatible client works: change the base URL and send this model id.
curl https://autonomousrelay.com/v1/chat/completions \
-H "Authorization: Bearer $AUTONOMOUS_RELAY_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "z-ai/glm-5.1", "messages": [{"role": "user", "content": "Hello"}]}'