kimi-k2-0905
Подключается через OpenAI-совместимый API: укажи этот ID в поле model. Без подписки, оплата только за токены.
Возможности
- Принимает
- текст
- Отвечает
- текст
- Контекст
- 262K
- Вызов инструментов (tools)
- Ответ в формате JSON
Описание
kimi-k2-0905 - языковая модель от Moonshot. Принимает: текст. Отвечает: текст. Контекст - 262K токенов. Умеет вызывать инструменты, отвечать в формате JSON.
Описание поставщика, на английскомСвернуть описание поставщика
Kimi K2 0905 is the September update of Kimi K2 0711. It is a large-scale Mixture-of-Experts (MoE) language model developed by Moonshot AI, featuring 1 trillion total parameters with 32 billion active per forward pass. It supports long-context inference up to 256k tokens, extended from the previous 128k. This update improves agentic coding with higher accuracy and better generalization across scaffolds, and enhances frontend coding with more aesthetic and functional outputs for web, 3D, and related tasks. Kimi K2 is optimized for agentic capabilities, including advanced tool use, reasoning, and code synthesis. It excels across coding (LiveCodeBench, SWE-bench), reasoning (ZebraLogic, GPQA), and tool-use (Tau2, AceBench) benchmarks. The model is trained with a novel stack incorporating the MuonClip optimizer for stable large-scale MoE training.
Как подключить
from openai import OpenAI
client = OpenAI(
base_url="https://velisityapi.com/v1",
api_key="<VELISITY_API_KEY>",
)
response = client.chat.completions.create(
model="moonshotai/kimi-k2-0905",
messages=[{"role": "user", "content": "Привет!"}],
)
print(response.choices[0].message.content)
curl https://velisityapi.com/v1/chat/completions \
-H "Authorization: Bearer <VELISITY_API_KEY>" \
-H "Content-Type: application/json" \
-d '{"model": "moonshotai/kimi-k2-0905",
"messages": [{"role": "user", "content": "Привет!"}]}'