Models / MoonshotAI
MoonshotAI

Kimi K2 0711

moonshotai/kimi-k2

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...

Input
$0.741 / 1M tokens
Output
$2.99 / 1M tokens
Context
131K tokens

Capabilities

✓ Streaming✓ Tool / function calling○ JSON / structured output○ Vision (image input)

Call this model

Pass moonshotai/kimi-k2 as the model. Change only the base URL from your existing OpenAI SDK setup.

quickstart.sh
curl https://modeldatabase.com/v1/chat/completions \
  -H "Authorization: Bearer $MDB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "moonshotai/kimi-k2",
    "messages": [{"role":"user","content":"Hello!"}]
  }'

Prices are final — the routing margin is already included. See the full pricing table or the API docs.