AI Rate Card

Kimi K2 Instruct · vercel

Kimi K2 is a state-of-the-art mixture-of-experts (MoE) language model with 32 billion activated parameters and 1 trillion total parameters. Trained with the Muon optimizer, Kimi K2 achieves exceptional performance across frontier knowledge, reasoning, and coding tasks while being meticulously optimized for agentic capabilities.

Базовая модельВсе модели этой базовойВсе модели провайдерак провайдеру

Вход, $/1M $0.57

Выход, $/1M $2.30

Контекст 131 072

Макс. выход 131 072

Принимает текст

Последняя проверка 04.11.2026 12:00:14 UTC

Источник страница провайдера

Уведомления о ценах

Войдите, чтобы следить за ценой

API

API, совместимый с OpenAI: подходят официальные SDK OpenAI с этим адресом. YOUR_API_KEY замените на свой ключ от провайдера.

Адрес API
https://ai-gateway.vercel.sh/v1
Эндпоинт
https://ai-gateway.vercel.sh/v1/chat/completions
Модель (id в API)
moonshotai/kimi-k2
curl
curl https://ai-gateway.vercel.sh/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "moonshotai/kimi-k2", "messages": [{"role": "user", "content": "Hello!"}], "max_tokens": 256}'
Python
import requests

r = requests.post(
    "https://ai-gateway.vercel.sh/v1/chat/completions",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={
      "model": "moonshotai/kimi-k2",
      "messages": [
        {
          "role": "user",
          "content": "Hello!"
        }
      ],
      "max_tokens": 256
    },
)
print(r.json())
JavaScript
const r = await fetch("https://ai-gateway.vercel.sh/v1/chat/completions", {
  method: "POST",
  headers: {Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json"},
  body: JSON.stringify({
    "model": "moonshotai/kimi-k2",
    "messages": [
      {
        "role": "user",
        "content": "Hello!"
      }
    ],
    "max_tokens": 256
  }),
});
console.log(await r.json());
Запрос (JSON)
{
  "model": "moonshotai/kimi-k2",
  "messages": [
    {
      "role": "user",
      "content": "Hello!"
    }
  ],
  "max_tokens": 256
}
Ответ (JSON)
{
  "id": "chatcmpl-...",
  "object": "chat.completion",
  "model": "moonshotai/kimi-k2",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Hi! How can I help?"
      },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 9,
    "completion_tokens": 12,
    "total_tokens": 21
  }
}

Адрес взят из списка моделей провайдера - сверьте с его документацией.

Документация API провайдера

Source: AI Rate Card, https://airatecard.com/ru/c/offer%3Avercel%7Cmoonshotai/kimi-k2, prices checked 2026-11-04; seller's page: https://vercel.com/ai-gateway/models/kimi-k2

Технические данные

ID: offer:vercel|moonshotai/kimi-k2