Kimi K3.1 Pro
Kimi K3.1 Pro costs $2 per 1M input tokens and $10 per 1M output tokens on LLM API, with a 1.05M-token context window.
Pricing
Served by Moonshot AI, the only provider.
| Input | $2 | per 1M tokens |
|---|---|---|
| Output | $10 | per 1M tokens |
| Cache read | $0.2 | per 1M tokens |
| Cache write, 5 minutes | $2 | per 1M tokens |
| Cache write, 1 hour | $4 | per 1M tokens |
Features
- ToolsYes
- Parallel tool callsNo
- Image inputYes
- ReasoningYes
Levels: low, high, max
- Prompt cachingYes
- Structured outputsYes
- JSON modeYes
- StreamingYes
- Web searchYes
Call Kimi K3.1 Pro
POST /v1/chat/completionsSet LLMAPI_KEY to your LLM API key.Chat Completions docs
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.llmapi.ai/v1",
api_key=os.environ["LLMAPI_KEY"],
)
response = client.chat.completions.create(
model="kimi-k3.1-pro",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.llmapi.ai/v1",
apiKey: process.env.LLMAPI_KEY,
});
const response = await client.chat.completions.create({
model: "kimi-k3.1-pro",
messages: [{ role: "user", content: "Hello" }],
});
console.log(response.choices[0].message.content);curl https://api.llmapi.ai/v1/chat/completions \
-H "Authorization: Bearer $LLMAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kimi-k3.1-pro",
"messages": [{"role": "user", "content": "Hello"}]
}'More from Moonshot AI
All Moonshot AI text models
Kimi K3kimi-k3$2.7 / $13.5per 1M input / output
Kimi K2.7-Codekimi-k2.7-code$0.95 / $3.9995per 1M input / output
Kimi K3.1 Pro HighSpeedkimi-k3.1-pro-highspeed$4 / $20per 1M input / output
Prices synced .