← All models
Z.ai logo

GLM 4 32B

Chat

z-ai:glm-4-32b

Added July 24, 2025

Usage

import OpenAI from "openai";

const client = new OpenAI({
    baseURL: "https://api.tributary.cc/openai/v1",
    apiKey: "<TRIBUTARY_API_KEY>",
});

const completion = await client.chat.completions.create({
    model: "z-ai:glm-4-32b",
    messages: [
        { role: "user", content: "Hello!" }
    ],
});

console.log(completion.choices[0].message.content);

Providers

Provider Model Context Output Input $/M Output $/M
Z.ai glm-4-32b-0414-128k 128K 33K $0.10 $0.10
Context/output in tokens. Prices in USD per 1M tokens.