← All models
Z.ai logo

GLM 4.7 Flash

Chat

z-ai:glm-4.7-flash

Added January 19, 2026

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.7-flash",
    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.7-flash 200K 128K Free Free
DeepInfra zai-org/GLM-4.7-Flash 203K 203K $0.06 $0.40
Novita zai-org/glm-4.7-flash 200K 128K $0.07 $0.40
Z.ai glm-4.7-flashx 200K 128K $0.07 $0.40
Context/output in tokens. Prices in USD per 1M tokens.