← 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: "baidu:ernie-4.5-21b-a3b-thinking",
messages: [
{ role: "user", content: "Hello!" }
],
});
console.log(completion.choices[0].message.content); Providers
| Provider | Model | Context | Output | Input $/M | Output $/M |
|---|---|---|---|---|---|
| Novita | baidu/ernie-4.5-21B-a3b-thinking | 131K 131,072 tokens | 66K 65,536 tokens | $0.07 | $0.28 |
Context/output in tokens. Prices in USD per 1M tokens.