TokenRoute
Get started
Back to models

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

Pricing

Input$0.3990 /M
Output$1.61 /M

Specs

Context length131.1K tokens
Max output98.3K tokens
Inputtext
Outputtext

Quickstart

Point the OpenAI SDK at https://tokenroute.app/api/v1 and use a TokenRoute API key.

bash
curl https://tokenroute.app/api/v1/chat/completions \
  -H "Authorization: Bearer $TOKENROUTE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "moonshotai/kimi-k2",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'

Supported parameters

frequency_penalty
max_tokens
presence_penalty
repetition_penalty
seed
stop
temperature
tool_choice
tools
top_k
top_p
MoonshotAI: Kimi K2 0711 API, pricing and context length | TokenRoute