Moonshot AI · Kimi
Kimi API pricing
Kimi K3.1, always thinking, with a 1M-token context and image input. Every Moonshot AI model on Tokens.Pay at its list price, through one prepaid, OpenAI-compatible key.
2 models · input from $1.92 per 1M tokens · processed by Moonshot AI (mainland China)
Moonshot AI API prices
| Model | Context | Input$/1M | Cached$/1M | Output$/1M |
|---|---|---|---|---|
| Kimi K3.1 Pro | 1M | $1.92 | $0.192 | $10.04 |
| Kimi K3.1 Pro Highspeed | 1M | $3.84 | $0.192 | $20.08 |
Moonshot AI’s list prices in US dollars. Tokens.Pay adds a 5% fee (minimum $0.79) when you add credit, never per request.
Where Moonshot AI requests go
Your code calls AI Runtime, which forwards the request to the provider and keeps only the bill.
Who processes your requests
- Model provider
- Moonshot AI, mainland China · data terms
- Gateway
- AI Runtime, AWS us-east-1
Not stored by Tokens.Pay or AI Runtime. Prompts and outputs exist in memory only while the request runs; we keep the billing record. The provider processes the request under its own terms. Zero data retention, exactly
Call Kimi K3.1 Pro with the OpenAI SDK
Base URL https://api.airuntime.dev/v1, your key as the bearer token. Swap the model id for any Moonshot AI model above.
curl
curl https://api.airuntime.dev/v1/chat/completions \
-H "Authorization: Bearer $TOKENS_PAY_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kimi-k3-1-pro",
"messages": [{"role": "user", "content": "Say hello in five words."}]
}'
Python
from openai import OpenAI
import os
client = OpenAI(base_url="https://api.airuntime.dev/v1", api_key=os.environ["TOKENS_PAY_KEY"])
reply = client.chat.completions.create(
model="kimi-k3-1-pro",
messages=[{"role": "user", "content": "Say hello in five words."}],
)
print(reply.choices[0].message.content)
Node
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.airuntime.dev/v1", apiKey: process.env.TOKENS_PAY_KEY });
const reply = await client.chat.completions.create({
model: "kimi-k3-1-pro",
messages: [{ role: "user", content: "Say hello in five words." }],
});
console.log(reply.choices[0].message.content);
Kimi API questions
How much does the Moonshot AI API cost?
Kimi K3.1 Pro: $1.92 input, $10.04 output per 1M tokens; Kimi K3.1 Pro Highspeed: $3.84 input, $20.08 output per 1M tokens. These are Moonshot AI’s list prices; Tokens.Pay adds nothing per request, and a 5% fee (minimum $0.79) applies when you add credit.
Can I call Kimi models with the OpenAI SDK?
Yes. Point the OpenAI SDK at https://api.airuntime.dev/v1, use your Tokens.Pay key as the API key, and set model to an id such as "kimi-k3-1-pro". The same key calls every model on Tokens.Pay.
Where are Moonshot AI requests processed?
By Moonshot AI (mainland China), under its own API data terms, through AI Runtime on AWS us-east-1. Tokens.Pay and AI Runtime do not store prompts or outputs.
What is the cheapest Moonshot AI model?
Kimi K3.1 Pro, from $1.92 per 1M input tokens.
More models
Add credit, then call Kimi.
From $5, plus a 5% top-up fee (minimum $0.79). No subscription; paid credit never expires.
Add credit