← 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: "x-ai:grok-4-fast-non-reasoning",
messages: [
{ role: "user", content: "Hello!" }
],
});
console.log(completion.choices[0].message.content); Providers
| Provider | Model | Context | Output | Input $/M | Output $/M |
|---|---|---|---|---|---|
| xAI | grok-4-fast-non-reasoning | 2M 2,000,000 tokens | 30K 30,000 tokens | $0.20 | $0.50 |
Context/output in tokens. Prices in USD per 1M tokens.