kimi-k2
by Moonshot·served through Manthan
kimi-k2Kimi K2 is a family of open-weight large language models from Moonshot AI built on a Mixture-of-Experts architecture, with roughly 1 trillion total parameters and about 32 billion activated per token, trained using the MuonClip optimizer for stable large-scale training. The family is optimized for agentic use cases, emphasizing advanced tool calling, reasoning, and code generation, and it scores competitively on coding and reasoning benchmarks like SWE-bench and LiveCodeBench. Context windows range from 128K tokens in the initial release to 256K tokens in later variants.
MODALITY
Text
CONTEXT
—
INPUT / 1M
$0.600
OUTPUT / 1M
$2.50
PRICING
You're billed per token at the rate above, in USD. Charges fold into your single prepaid balance — no separate provider account. You pay the model's market price, with no extra charge.
CALL IT
Drop-in OpenAI shape — point any OpenAI SDK at api.incord.ai/v1/cloud and set model to this id.
curl https://api.incord.ai/v1/cloud/chat/completions \
-H "Authorization: Bearer $INCORD_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kimi-k2",
"messages": [{ "role": "user", "content": "Hello" }]
}'from openai import OpenAI
client = OpenAI(
base_url="https://api.incord.ai/v1/cloud",
api_key="$INCORD_API_KEY",
)
resp = client.chat.completions.create(
model="kimi-k2",
messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)