Skip to content
OpenKey

Kimi K2 0711

Moonshot AIReleased Jul 11, 2025

Kimi K2 Instruct is a large-scale Mixture-of-Experts (MoE) language model developed by Moonshot AI, featuring 1 trillion total parameters with 32 billion active per forward pass. It is optimized for...

Try in playground
Context window
131K tokens
Max output
100K tokens
Input
text
Output
text
Tokenizer
Other
Knowledge cutoff
Dec 31, 2024
Released
Jul 11, 2025

Pricing

Per 1M tokens. The provider price and our flat 3% fee are separate columns — what you pay is their sum.

Per 1M tokensProvider+ 3% feeYou pay
Input$0.570$0.017$0.587
Output$2.30$0.069$2.37

Benchmarks

Design Arena

CategoryEloWin rateRank
Codemodels108351.7%#82
Data vizmodels106249.4%#84
Game devmodels104046.4%#89
UI componentsmodels108755.1%#75
Websitesmodels109353.1%#85

Head-to-head preference voting. How we filter and rank

Supported parameters

  • frequency_penalty
  • max_tokens
  • presence_penalty
  • repetition_penalty
  • seed
  • stop
  • temperature
  • tool_choice
  • tools
  • top_k
  • top_p

Call it

OpenAI-compatible: point your SDK at api.openkey.ai/v1 and use model moonshotai/kimi-k2.

Code sample language
curl https://api.openkey.ai/v1/chat/completions \
  -H "Authorization: Bearer $OPENKEY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "moonshotai/kimi-k2",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
import os
from openai import OpenAI

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

completion = client.chat.completions.create(
    model="moonshotai/kimi-k2",
    messages=[{"role": "user", "content": "Hello"}],
)
print(completion.choices[0].message.content)
import OpenAI from "openai";

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

const completion = await client.chat.completions.create({
  model: "moonshotai/kimi-k2",
  messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);

Questions

How much does Kimi K2 0711 cost via API?
Through OpenKey, Kimi K2 0711 costs $0.587 per 1M input tokens and $2.37 per 1M output tokens. That is the provider price ($0.570 / $2.30) plus a flat 3% fee — nothing else.
What is Kimi K2 0711's context window?
Kimi K2 0711 accepts up to 131K tokens of context and returns up to 100K tokens per request.
Is Kimi K2 0711 OpenAI-compatible?
Yes. Send requests to OpenKey's /v1/chat/completions endpoint with model "moonshotai/kimi-k2" using any OpenAI SDK — only the base URL and API key change.
What inputs does Kimi K2 0711 support?
Kimi K2 0711 accepts text input and produces text output. Its knowledge cutoff is Dec 31, 2024.

More from Moonshot AI

All Moonshot AI models →