← All models
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 202,752 tokens | 203K 202,752 tokens | $0.43 | $1.74 |
| Novita | zai-org/glm-4.6 | 205K 204,800 tokens | 131K 131,072 tokens | $0.55 | $2.20 |
| Together | zai-org/GLM-4.6 | 203K 202,752 tokens | 200K 200,000 tokens | $0.60 | $2.20 |
| Z.ai | glm-4.6 | 200K 200,000 tokens | 128K 128,000 tokens | $0.60 | $2.20 |
Context/output in tokens. Prices in USD per 1M tokens.