GLM 5.3 Derisked API: a 5-minute quickstart
Call GLM 5.3 Derisked from your code with any OpenAI SDK: one API key, base URL https://api.vani.ai/v1 and model zhipu/glm-5.3-derisked. Examples inside.
AI-generated illustration
GLM 5.3 Derisked is on the Vani API with the same interface as OpenAI's. If your code or tool can talk to OpenAI, it can talk to GLM 5.3 Derisked. Here's how to make your first call.
1. Get an API key
Create a key on the Vani API Platform. Keep it secret: it works like a password.
2. Point your client at Vani
| Setting | Value |
|---|---|
| Base URL | https://api.vani.ai/v1 |
| Model | zhipu/glm-5.3-derisked |
| Context window | 1M tokens |
3. Make a request
curl
curl https://api.vani.ai/v1/chat/completions \
-H "Authorization: Bearer $VANI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "zhipu/glm-5.3-derisked", "messages": [{"role": "user", "content": "Hello!"}]}'
Python (OpenAI SDK)
from openai import OpenAI
client = OpenAI(base_url="https://api.vani.ai/v1", api_key="YOUR_VANI_API_KEY")
reply = client.chat.completions.create(
model="zhipu/glm-5.3-derisked",
messages=[{"role": "user", "content": "Hello!"}],
)
print(reply.choices[0].message.content)
JavaScript or TypeScript (OpenAI SDK)
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.vani.ai/v1", apiKey: process.env.VANI_API_KEY });
const reply = await client.chat.completions.create({
model: "zhipu/glm-5.3-derisked",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(reply.choices[0].message.content);
Streaming works the usual way: set stream: true. System prompts work too. Vani also has an Anthropic-compatible /v1/messages endpoint, so tools built for that format can use GLM 5.3 Derisked as well.
Pricing
AI-generated illustration
GLM 5.3 Derisked costs $3.00 per 1M input tokens and $5.00 per 1M output tokens on the prepaid API. You pay only for what you use. See all API prices.
Use it in your coding tools
Any tool with an "OpenAI-compatible" or "custom provider" option works: set the base URL to https://api.vani.ai/v1, paste your key and choose zhipu/glm-5.3-derisked. Our guides walk through popular editors step by step.
Good to know
- GLM 5.3 Derisked is for adults (18+). Our Terms of Service apply to everything you send and generate.
- New to derisked models? Read what "derisked" means.