← All models
Z.ai logo

GLM 4.6

Chat

z-ai:glm-4.6

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

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

Providers

Provider Model Context Output Input $/M Output $/M
DeepInfra zai-org/GLM-4.6 203K 203K $0.43 $1.74
Novita zai-org/glm-4.6 205K 131K $0.55 $2.20
Together zai-org/GLM-4.6 203K 200K $0.60 $2.20
Z.ai glm-4.6 200K 128K $0.60 $2.20
Context/output in tokens. Prices in USD per 1M tokens.