Z.ai: GLM-4.7
zai/glm-4.7Available via Safeguard
Modality
Text
Context
Not published
Input
$0.60 / 1M tokens
Output
$2.20 / 1M tokens
Overview
Z.ai GLM chat model.
- Provider
Z.ai
- Modality
- Text
- Input
- text
- Output
- text
- Weights
- Closed
Data policy
- Prompts go to
- Not stated
- Retention
- Not stated by the provider
- Zero data retention
- Not stated by the provider
- Region
- Not stated
Summarised from the provider's published terms. The provider's own policy is what applies.
Pricing
| Provider | Input / 1M tokens | Output / 1M tokens | Context |
|---|---|---|---|
| Z.ai | $0.60 | $2.20 | Not published |
- Source
- Z.ai pricing , last verified November 30, 2026
No markup on model usage: you pay the provider's list price.
API
OpenAI-compatible. Your API key and access to this model are set up for your workspace when you choose Use with Safeguard.
from openai import OpenAI
client = OpenAI(
base_url="https://api.safeguard.sh/gpt/v1",
api_key="SAFEGUARD_API_KEY",
)
response = client.chat.completions.create(
model="zai/glm-4.7",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Base URL https://api.safeguard.sh/gpt/v1, model zai/glm-4.7.
Self-healing security runs on Safeguard.
Your first fix PR is minutes away.
No sales call required, even your agent can complete the purchase over MCP.