← 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-5v-turbo",
messages: [
{ role: "user", content: "Hello!" }
],
});
console.log(completion.choices[0].message.content); Providers
| Provider | Model | Context | Output | Input $/M | Output $/M |
|---|---|---|---|---|---|
| Z.ai | glm-5v-turbo | 200K 200,000 tokens | 128K 128,000 tokens | $1.20 | $4.00 |
Context/output in tokens. Prices in USD per 1M tokens.