Skip to content
ModelsRankingsChatDocsPricing
mo

MoonshotAI: Kimi K2 0711

moonshotai/kimi-k2

AvailableMoonshottext intext out

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

Context

131K

tokens in

Max output

98K

tokens out

Price

$0.570 / $2.30

per 1M in / out

Quick start

curl https://api.token265.com/v1/chat/completions \
  -H "Authorization: Bearer ${OPENROUTER_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "moonshotai/kimi-k2",
    "messages": [{"role": "user", "content": "hello"}]
  }'
from openai import OpenAI

client = OpenAI(base_url="https://api.token265.com/v1", api_key="sk-...")
client.chat.completions.create(
    model="moonshotai/kimi-k2",
    messages=[{"role": "user", "content": "hello"}],
)

Supported parameters

frequency_penaltymax_tokenspresence_penaltyrepetition_penaltyseedstoptemperaturetool_choicetoolstop_ktop_p

More from Moonshot