← All models
MoonshotAI · Language model
Kimi K2.7 Code
moonshotai/kimi-k2.7-code- Language
MoonshotAI: Kimi K2.7 Code is a coding-focused model in Moonshot AI's Kimi K2 family, built to complete end-to-end programming tasks reliably over long contexts. It uses a native multimodal mixture-of-experts...
Specifications
- Context window
- 262,144 tokens
- Max output
- 235,929 tokens
- Input
- text, image
- Output
- text
- Reasoning
- always on
- Tokenizer
- Other
Supported parameters
Accepted by the model and forwarded as-is by the gateway.
- frequency_penalty
- logit_bias
- logprobs
- max_tokens
- min_p
- parallel_tool_calls
- presence_penalty
- reasoning
- repetition_penalty
- response_format
- seed
- stop
- structured_outputs
- temperature
- tool_choice
- tools
- top_k
- top_logprobs
- 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.7-code","messages":[{"role":"user","content":"Hello"}],"max_tokens":300}'