Moonshot AI Kimi. 1 models below list.
Kimi rate card
| Model | ID | Official | OpenRouter +5.5% | rawroute | Savings |
|---|---|---|---|---|---|
| Kimi K3.1 Pro | kimi-k3.1-pro | $2.06 / $10.76 | $1.073 / $5.61 | -45% |
Quick integration
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.rawroute.dev/v1", # the only line you change
api_key=os.environ["RAWROUTE_API_KEY"],
)
reply = client.chat.completions.create(
model="kimi-k3.1-pro",
messages=[{"role": "user", "content": "Summarise this contract."}],
)
print(reply.choices[0].message.content)import OpenAI from "openai"
const client = new OpenAI({
baseURL: "https://api.rawroute.dev/v1", // the only line you change
apiKey: process.env.RAWROUTE_API_KEY,
})
const reply = await client.chat.completions.create({
model: "kimi-k3.1-pro",
messages: [{ role: "user", content: "Summarise this contract." }],
stream: true,
})
for await (const chunk of reply) process.stdout.write(chunk.choices[0]?.delta?.content ?? "")curl https://api.rawroute.dev/v1/chat/completions \
-H "Authorization: Bearer $RAWROUTE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kimi-k3.1-pro",
"messages": [{"role": "user", "content": "Hello"}]
}'FAQ
How much cheaper is Kimi API on rawroute?
Every Moonshot AI model on rawroute is priced below official vendor list rates with a 0% top-up fee (vs. OpenRouter's 5.5% credit fee).
Do Moonshot AI models on rawroute support native endpoints?
Yes. Use /v1/chat/completions with official model IDs like kimi-k3.1-pro.