Kimi API
Moonshot AI Kimi API access via RunAPI — 1T-parameter MoE with 256K context, 58.6% SWE-bench Pro.
# Base URL
https://runapi.ai
# Endpoints
POST /v1/chat/completions
curl https://runapi.ai/v1/chat/completions \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kimi-k2.6",
"messages": [
{
"role": "user",
"content": "Plan and implement a small CLI tool: scaffold the project, write the commands, add tests, and run them until they pass."
}
]
}'
from openai import OpenAI
client = OpenAI(
base_url="https://runapi.ai/v1",
api_key="your-runapi-key"
)
response = client.chat.completions.create(
model="kimi-k2.6",
messages=[{"role": "user", "content": "Plan and implement a small CLI tool: scaffold the project, write the commands, add tests, and run them until they pass."}]
)
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://runapi.ai/v1",
apiKey: "your-runapi-key"
});
const response = await client.chat.completions.create({
model: "kimi-k2.6",
messages: [{ role: "user", content: "Plan and implement a small CLI tool: scaffold the project, write the commands, add tests, and run them until they pass." }]
});
Kimi is Moonshot AI's K2 family of Mixture-of-Experts language models — 1 trillion total parameters with 32B active per token, 384 experts per layer. kimi-k2.5 (256K context) added native multimodal input and strong coding benchmarks. kimi-k2.6 refines post-training for long-horizon agent stability, reaching 58.6% on SWE-bench Pro and scaling Agent Swarm orchestration to 300 sub-agents. Both are available through RunAPI with one key and per-token billing.
- 품질과 지연 시간 목표에 맞춘 모델 변형
- 통합 API key
- Model skill에 docs, schema, 설정 메모 포함
- 실패한 생성은 과금되지 않습니다
변형
Kimi API 엔드포인트
RunAPI 키로 OpenAI 또는 Anthropic SDK를 사용하세요. 추가 SDK가 필요 없습니다.
| Endpoint | Protocol |
|---|---|
| /v1/chat/completions | OpenAI compatible |
이 model skill로 구현하는 방법
모델 선택
출력 유형, 품질 기준, 지연 시간 목표에 맞는 모델과 변형을 고릅니다.
한 번 인증
모든 지원 모델에 RunAPI key를 사용합니다.
skill 설치
기능을 구현하기 전에 코딩 워크스페이스에 model skill을 추가합니다.
결과 받기
task ID로 조회하거나 생성 완료 시 callback을 처리합니다.
Kimi의 위치
Kimi K2 models from Moonshot AI are 1T-parameter MoE LLMs with 256K context, optimized for autonomous coding and multi-agent orchestration. kimi-k2.6 scores 58.6% on SWE-bench Pro. Through RunAPI they share a single API key with pay-as-you-go token billing, callable from the OpenAI Chat Completions, OpenAI Responses, and Anthropic Messages surfaces.
RunAPI로 Kimi을 쓰는 이유
하나의 API key
모델과 제공사를 넘나들며 같은 인증 정보를 사용합니다.
Skill-ready
model skill에 schema, 설정 메모, 가격 컨텍스트, 모델 ID가 포함됩니다.
예측 가능한 과금
호출 전에 사용량 기반 가격을 확인할 수 있습니다.
자주 묻는 질문
이 모델은 어떻게 호출하나요?
model skill을 설치하고 RunAPI key와 함께 설정 메모를 따르세요.
실패한 생성도 비용이 드나요?
실패한 생성은 과금되지 않습니다
애플리케이션에서 호출할 수 있나요?
네. 코딩 워크스페이스에 model skill을 설치하고 모델 기능을 추가할 때 사용하세요.