Moonshot AI · model ID kimi-k3.1-pro

Kimi K3.1 Pro API

Use Kimi K3.1 Pro through one OpenAI-compatible API for $0.753₹70.00 per million input tokens and $5.38₹500.00 per million output tokens, with a 1M tokens context. Prepaid, no subscription: the smallest top-up (₹50, about $0.54) buys about 100 thousand output tokens.

Price

Prices per 1 million tokens, in US dollars (approximate) and Indian rupees
ModelModel IDInputCached inputOutputContext
Kimi K3.1 Prokimi-k3.1-pro$0.753₹70.00$0.323₹30.00$5.38₹500.001M tokens

Per 1 million tokens. Prices are set in ₹; $ amounts are approximate (₹93 = $1) and your bank converts when you pay by card. No GST is added. Last updated 4 December 2026; prices can change and the dashboard always shows the current price.

Details

Made by
Moonshot AI
Good for
A larger model for harder reasoning, long documents and coding tasks.
Model ID
kimi-k3.1-pro
Context
1M tokens
API format
OpenAI chat completions, streaming and non-streaming
Thinking levels
reasoning_effort: low, high, max
Base URL
https://api.srotgateway.com/v1

Code examples

Python (streaming)
from openai import OpenAI

client = OpenAI(base_url="https://api.srotgateway.com/v1", api_key="sg-...")
stream = client.chat.completions.create(
    model="kimi-k3.1-pro",
    messages=[{"role": "user", "content": "Explain quantum computing in two lines."}],
    stream=True,
)
for chunk in stream:
    if chunk.choices and chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="")
JavaScript
import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.srotgateway.com/v1", apiKey: process.env.SROT_API_KEY });
const reply = await client.chat.completions.create({
  model: "kimi-k3.1-pro",
  messages: [{ role: "user", content: "Explain quantum computing in two lines." }],
});
console.log(reply.choices[0].message.content);
curl
curl https://api.srotgateway.com/v1/chat/completions \
  -H "Authorization: Bearer $SROT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "kimi-k3.1-pro", "messages": [{"role": "user", "content": "Hello"}]}'

More in the docs: Cursor, Cline, n8n.

Questions

How much does the Kimi K3.1 Pro API cost?+

On 4 December 2026: $0.753 (₹70.00) per million input tokens, $0.323 (₹30.00) per million cached input tokens and $5.38 (₹500.00) per million output tokens. Prices are set in ₹; $ amounts are approximate. Prices can change; the dashboard shows the current price.

How do I pay for Kimi K3.1 Pro?+

Top up your SrotGateway balance from ₹50 (about $0.54) by card from any country, or with UPI or net banking in India. Then call Kimi K3.1 Pro with your API key; each call is taken from your balance.

What is the context size of Kimi K3.1 Pro?+

1M tokens (input and output together).

Is this the official Moonshot AI API?+

No. SrotGateway is an independent service from ChromByte, India. We serve Kimi K3.1 Pro through a hosting partner and bill you in rupees. The model name belongs to Moonshot AI.

Does it work with the OpenAI SDK?+

Yes. Set the base URL to https://api.srotgateway.com/v1, use your SrotGateway key, and set model to "kimi-k3.1-pro".

Can I control how much Kimi K3.1 Pro thinks?+

Yes. Send reasoning_effort with one of: low, high, max. More thinking usually means better answers on hard tasks, but more output tokens.

Other models