← All models
MoonshotAI · Language model
Kimi K2 0711
moonshotai/kimi-k2- Language
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...
Specifications
- Context window
- 131,072 tokens
- Max output
- 98,304 tokens
- Input
- text
- Output
- text
- Tokenizer
- Other
- Knowledge cutoff
- 2024-12-31
Supported parameters
Accepted by the model and forwarded as-is by the gateway.
- frequency_penalty
- max_tokens
- presence_penalty
- repetition_penalty
- seed
- stop
- temperature
- tool_choice
- tools
- top_k
- top_p
Use it
POST /api/v1/chat/completions · MCP chat · full reference
curl https://omnirail.org/api/v1/chat/completions \
-H "Authorization: Bearer $OMNIRAIL_KEY" -H "Content-Type: application/json" \
-d '{"model":"moonshotai/kimi-k2","messages":[{"role":"user","content":"Hello"}],"max_tokens":300}'