Moonshot AI · chat model

Kimi K3.1 Pro (high speed) API

Kimi K3.1 Pro two to three times faster, priced at 2x the standard variant.

Call Kimi K3.1 Pro (high speed) through Nicrron with one API key, next to every other model in the catalog. Use the model id moonshot/kimi-k3.1-pro-highspeed with any OpenAI SDK.

Pricing

Kimi K3.1 Pro (high speed) costs $4.00 per million input tokens and $20.00 per million output tokens. That is the provider's list price. Requests paid from credit add a 5% platform fee; with your own provider key, the provider bills you and Nicrron charges 5% of the list price. No subscription: add credit and pay for what you use.

Call Kimi K3.1 Pro (high speed)

cURL
curl https://api.nicrron.ai/v1/chat/completions \
  -H "Authorization: Bearer $NICRRON_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "moonshot/kimi-k3.1-pro-highspeed",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'
Python (OpenAI SDK)
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.nicrron.ai/v1",
    api_key=os.environ["NICRRON_API_KEY"],
)

reply = client.chat.completions.create(
    model="moonshot/kimi-k3.1-pro-highspeed",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(reply.choices[0].message.content)
TypeScript (OpenAI SDK)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.nicrron.ai/v1",
  apiKey: process.env.NICRRON_API_KEY,
});

const reply = await client.chat.completions.create({
  model: "moonshot/kimi-k3.1-pro-highspeed",
  messages: [{ role: "user", content: "Hello!" }],
});
console.log(reply.choices[0].message.content);

New to Nicrron? The quickstart takes two minutes. Step by step: Use Kimi with the OpenAI SDK.

Questions

How much does the Kimi K3.1 Pro (high speed) API cost?
On Nicrron, Kimi K3.1 Pro (high speed) costs $4.00 per million input tokens and $20.00 per million output tokens, the provider's list price. Requests paid from credit add a 5% platform fee. There is no subscription: you add credit and pay for what you use.
What is the context window of Kimi K3.1 Pro (high speed)?
Kimi K3.1 Pro (high speed) takes up to 1,048,576 tokens (1M) of context.
How do I call Kimi K3.1 Pro (high speed) through an API?
Point any OpenAI SDK at https://api.nicrron.ai/v1, use a Nicrron API key, and set the model to "moonshot/kimi-k3.1-pro-highspeed". The endpoint is /v1/chat/completions.
Who makes Kimi K3.1 Pro (high speed)?
Kimi K3.1 Pro (high speed) is a chat model made by Moonshot AI. Nicrron gives you it and every other model in the catalog through one API key and one bill.