← 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.7",
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.7 | 203K 202,752 tokens | 203K 202,752 tokens | $0.40 | $1.75 |
| Nebius | zai-org/GLM-4.7-FP8 | 203K 202,752 tokens | 4K 4,096 tokens | $0.40 | $2.00 |
| Together | zai-org/GLM-4.7 | 203K 202,752 tokens | 200K 200,000 tokens | $0.45 | $2.00 |
| Parasail | zai-org/GLM-4.7-FP8 | 203K 202,752 tokens | 203K 202,752 tokens | $0.45 | $2.10 |
| Novita | zai-org/glm-4.7 | 205K 204,800 tokens | 131K 131,072 tokens | $0.60 | $2.20 |
| Z.ai | glm-4.7 | 200K 200,000 tokens | 128K 128,000 tokens | $0.60 | $2.20 |
| Cerebras | zai-glm-4.7 | 131K 131,072 tokens | 40K 40,000 tokens | $2.25 | $2.75 |
Context/output in tokens. Prices in USD per 1M tokens.