Model API
GLM-5.2 API
GLM-5.2 routed by the Aiduct API gateway.
Model ID
glm-5.2
Provider
zenmux
Capability
chat
Status
Available
Pricing and limits
tokens in
$0.42 / 1M input tokens
tokens out
$1.32 / 1M output tokens
Use this model
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.AIDUCT_API_KEY,
baseURL: "https://api.aiduct.ai/v1",
});
const response = await client.chat.completions.create({
model: "glm-5.2",
messages: [{ role: "user", content: "Say hello in one sentence." }],
});Supported parameters
messagestemperaturetop_pmax_tokensstreamstoptoolstool_choiceresponse_formatuser
This model page is backed by the live Aiduct model catalog. Long-form generated notes are not available for this slug yet, but the model ID, provider, pricing rows, and supported parameters above are still crawlable.