← All models
Z.ai logo

GLM 4.5

Chat

z-ai:glm-4.5

Added July 27, 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.5",
    messages: [
        { role: "user", content: "Hello!" }
    ],
});

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

Providers

Provider Model Context Output Input $/M Output $/M
Nebius zai-org/GLM-4.5 131K 4K $0.60 $2.20
Novita zai-org/glm-4.5 131K 98K $0.60 $2.20
Z.ai glm-4.5 128K 96K $0.60 $2.20
Z.ai glm-4.5-x 128K 96K $2.20 $8.90
Context/output in tokens. Prices in USD per 1M tokens.