← 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: "moonshot-ai:kimi-k2",
messages: [
{ role: "user", content: "Hello!" }
],
});
console.log(completion.choices[0].message.content); Providers
| Provider | Model | Context | Output | Input $/M | Output $/M |
|---|---|---|---|---|---|
| DeepInfra | moonshotai/Kimi-K2-Instruct-0905 | 131K 131,072 tokens | 131K 131,072 tokens | $0.40 | $2.00 |
| Nebius | moonshotai/Kimi-K2-Instruct | 131K 131,072 tokens | 8K 8,192 tokens | $0.50 | $2.40 |
| Novita | moonshotai/kimi-k2-0905 | 262K 262,144 tokens | 262K 262,144 tokens | $0.60 | $2.50 |
Context/output in tokens. Prices in USD per 1M tokens.