AI Models
Kimi K3
Kimi K3 is a 2.8T-parameter open-weight multimodal reasoning model from Moonshot AI, built for complex coding, knowledge work and long-horizon agentic workflows. Moonshot AI Kimi K3 Open-Weight Reasoning, with a 1M token context window.
POST
$0.01/call/v1/ai/chatOverview
Kimi K3 is a 2.8T-parameter open-weight multimodal reasoning model from Moonshot AI, built for complex coding, knowledge work and long-horizon agentic workflows. Moonshot AI Kimi K3 Open-Weight Reasoning, with a 1M token context window.
| Property | Value |
|---|---|
| Model ID | moonshotai/kimi-k3 |
| Context Window | 1,048,576 tokens |
| Max Output | 943,718 tokens |
| Input Price | $4.43 / 1M tokens |
| Output Price | $22.15 / 1M tokens |
Usage
const res = await fetch('https://api.yepapi.com/v1/ai/chat', {
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
model: 'moonshotai/kimi-k3',
messages: [{ role: 'user', content: "Plan the steps to migrate a REST API from Express to Fastify without downtime." }],
}),
});
const { data } = await res.json();
console.log(data.message.content);curl -X POST https://api.yepapi.com/v1/ai/chat \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "moonshotai/kimi-k3", "messages": [{"role": "user", "content": "Plan the steps to migrate a REST API from Express to Fastify without downtime."}]}'Request Body
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
model | string | Yes | Model ID (e.g. moonshotai/kimi-k3) | — |
messages | Message[] | Yes | Array of { role, content } objects | — |
maxTokens | number | No | Maximum tokens in the response | Model default |
temperature | number | No | Sampling temperature (0.0–2.0) | 1.0 |
topP | number | No | Nucleus sampling threshold | 1.0 |
frequencyPenalty | number | No | Penalize repeated tokens | 0 |
presencePenalty | number | No | Penalize tokens already present | 0 |
stream | boolean | No | Enable SSE streaming | false |
Info
All AI models use the /v1/ai/chat endpoint. Specify the model with the model field.
Response
{
"ok": true,
"data": {
"model": "moonshotai/kimi-k3",
"message": {
"role": "assistant",
"content": "1) Run both servers behind the same proxy and route a small share of traffic to Fastify. 2) Port routes one module at a time with shared tests. 3) Move middleware to Fastify hooks. 4) Shift traffic gradually while watching error rates, then remove Express."
},
"usage": {
"promptTokens": 24,
"completionTokens": 180,
"totalTokens": 204
}
}
}Streaming
Set "stream": true to receive Server-Sent Events. Each chunk contains a delta object:
data: {"delta":{"content":"1)"},"model":"moonshotai/kimi-k3","index":0}
data: [DONE]Under the Hood
We handle auth, billing, and response normalization — you just send messages.