YepAPI
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/v1/ai/chat
$0.01/call

Overview

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.

PropertyValue
Model IDmoonshotai/kimi-k3
Context Window1,048,576 tokens
Max Output943,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

ParameterTypeRequiredDescriptionDefault
modelstringYesModel ID (e.g. moonshotai/kimi-k3)—
messagesMessage[]YesArray of { role, content } objects—
maxTokensnumberNoMaximum tokens in the responseModel default
temperaturenumberNoSampling temperature (0.0–2.0)1.0
topPnumberNoNucleus sampling threshold1.0
frequencyPenaltynumberNoPenalize repeated tokens0
presencePenaltynumberNoPenalize tokens already present0
streambooleanNoEnable SSE streamingfalse
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.

On this page