← 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-5",
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-5 | 203K 202,752 tokens | 203K 202,752 tokens | $0.80 | $2.56 |
| Nebius | zai-org/GLM-5 | 203K 202,752 tokens | 16K 16,384 tokens | $1.00 | $3.20 |
| Novita | zai-org/glm-5 | 203K 202,800 tokens | 131K 131,072 tokens | $1.00 | $3.20 |
| Parasail | zai-org/GLM-5-FP8 | 203K 202,752 tokens | 203K 202,752 tokens | $1.00 | $3.20 |
| Together | zai-org/GLM-5 | 203K 202,752 tokens | 131K 131,072 tokens | $1.00 | $3.20 |
| Z.ai | glm-5 | 200K 200,000 tokens | 128K 128,000 tokens | $1.00 | $3.20 |
| Cumulus GLM | glm-5 | 203K 202,752 tokens | 128K 128,000 tokens | $1.20 | $3.50 |
Context/output in tokens. Prices in USD per 1M tokens.