Skip to content

kimi-k2-7-code ​

This page lists parameters from the ModelFold model catalog.

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

Overview ​

FieldValue
Model IDkimi-k2-7-code
Family slugkimi-k2-7-code
ModalityChat Models (chat)
EndpointPOST /v1/chat/completions

Request example ​

bash
export API_BASE="https://modelfold.ai/v1"
export MODELFOLD_API_KEY="mf-..."   # 在控制台 API Key 页面创建
curl -X POST "$API_BASE/chat/completions" \
  -H "Authorization: Bearer $MODELFOLD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"kimi-k2-7-code","messages":[{"role":"user","content":"Explain what a diffusion model does in two sentences."}],"max_tokens":512}'

See also ​

ModelFold — one API for all the best AI models.