DzRouter

GLM-5.1

ReasoningTool use

Z-AI's next-generation flagship model for agentic engineering. Stronger coding capabilities and state-of-the-art performance on SWE-Bench Pro.

Model id — paste this in your code
z-ai/glm-5.1

Pricing · per 1M tokens

Show prices in
Input248 DA$0.99
Output990 DA$3.96
Cached input49.5 DA$0.198
Context window205KMax output: 131K

Capabilities

  • Reasoning — Thinks step by step before answering
  • Tool use — Can call your functions / tools

Estimate your cost

Estimated cost

Use this model

Create an account, top up in dinars and call it with your key:

from openai import OpenAI

client = OpenAI(
    base_url="https://dzrouter.com/v1",
    api_key="sk-dz-…",
)

reply = client.chat.completions.create(
    model="z-ai/glm-5.1",
    messages=[{"role": "user", "content": "Salam!"}],
)
print(reply.choices[0].message.content)
Create a free account

Start building with AI today

Create your account, top up from 500 DA and send your first request in minutes.

Create a free account