← All models
Moonshot AI logo

Kimi K2

Chat

moonshot-ai:kimi-k2

Added November 6, 2025

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 131K $0.40 $2.00
Nebius moonshotai/Kimi-K2-Instruct 131K 8K $0.50 $2.40
Novita moonshotai/kimi-k2-0905 262K 262K $0.60 $2.50
Context/output in tokens. Prices in USD per 1M tokens.