Характеристики
- Контекстное окно
- 256,000
- Входящие данные
- Текст
- Исходящие данные
- Текст
Цены
Оплата по факту за использованные токены, цены за 1M токенов в рублях.
| Входящие токены | 29.63 ₽ |
| Исходящие токены | 118.50 ₽ |
| Чтение кеша | 5.93 ₽ |
Описание модели
KAT-Coder-Pro V2 is the latest high-performance model in KwaiKAT’s KAT-Coder series, designed for complex enterprise-grade software engineering and SaaS integration. It builds on the agentic coding strengths of earlier versions,...
API и примеры кода
Единый OpenAI-совместимый endpoint. Укажите base_url и ключ из личного кабинета.
curl https://app.cloudcompute.ru/api/v1/chat/completions \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"kwaipilot/kat-coder-pro-v2","messages":[{"role":"user","content":"Привет!"}]}'from openai import OpenAI
client = OpenAI(
base_url="https://app.cloudcompute.ru/api/v1",
api_key="YOUR_KEY",
)
resp = client.chat.completions.create(
model="kwaipilot/kat-coder-pro-v2",
messages=[{"role": "user", "content": "Привет!"}],
)
print(resp.choices[0].message.content)