GET

/v1/models/moonshotai-cn/kimi-k2.7-code

provider moonshotai-cnstatus activefirst seen Jun 12, 2026last seen 19m ago
rawIdkimi-k2.7-code
displayName—
idmoonshotai-cn-kimi-k2-7-code
activitychat
schemaEndpointIdv1/chat/completions
releasedAtno release date reported by the provider
firstSeenAt1781222400 — Jun 12, 2026
lastSeenAt1794563284 — 19m ago
pricing
CNY 6.5 / 1M input · CNY 27 / 1M output → open calculator
input_tokens (usage) · output_tokens (usage) · cache_read_tokens (usage)
modalities{"input":["text","image","video"],"output":["text"]}
capabilities{"max_tokens":true,"response_format":true,"stop":true,"tools":true,"tool_choice":true,"reasoning":true,"structured_outputs":true}
requestMap{"thinking":{"on":{"thinking":{"type":"enabled"}},"off":null,"levels":null},"maxTokensField":"max_completion_tokens","developerRole":false,"replayReasoningContent":null,"store":null,"strictTools":null,"sessionAffinity":null,"cacheControl":null,"toolStream":null,"reasoningEffort":null}
contextWindow · maxOutput · knowledgeCutoff · openWeights · weightsUrl · providerMetadatanot published by this provider’s list endpoint
endpointactivity
v1/chat/completionschat

endpoints matching this model — the provider has more, see /v1/schemas/moonshotai-cn

Sources

fieldrecorded source
modalitieshttps://platform.kimi.com/docs/openapi.json

upstream-spec

/components/schemas/KimiK27CodeChatRequest/properties/messages

Source trace
2f90975c9a2b18b7fff6d67f8b605b328a3cd1bb8966cc702f4227254ff0dde4
pricingSource linked above.

docs-derived

Pricing

Source trace
4c4f472407f99d43de8e6eb79321d68feb6ae16fb7d88117dc2986cd51825cef
reasoninghttps://platform.kimi.com/docs/openapi.json

upstream-spec

thinking.type

Source trace
2f90975c9a2b18b7fff6d67f8b605b328a3cd1bb8966cc702f4227254ff0dde4
capabilities.max_tokenshttps://platform.kimi.com/docs/openapi.json

upstream-spec

/properties/max_tokens

Source trace
0fc1213cc878662cfb4dc71f9526e83e0a192b10691c543339fda4d21e784977
{
  "endpointId": "v1/chat/completions",
  "fetchedAt": 1792819843
}
capabilities.response_formathttps://platform.kimi.com/docs/openapi.json

upstream-spec

/properties/response_format

Source trace
0fc1213cc878662cfb4dc71f9526e83e0a192b10691c543339fda4d21e784977
{
  "endpointId": "v1/chat/completions",
  "fetchedAt": 1792819843
}
capabilities.stophttps://platform.kimi.com/docs/openapi.json

upstream-spec

/properties/stop

Source trace
0fc1213cc878662cfb4dc71f9526e83e0a192b10691c543339fda4d21e784977
{
  "endpointId": "v1/chat/completions",
  "fetchedAt": 1792819843
}
capabilities.toolshttps://platform.kimi.com/docs/openapi.json

upstream-spec

/properties/tools

Source trace
0fc1213cc878662cfb4dc71f9526e83e0a192b10691c543339fda4d21e784977
{
  "endpointId": "v1/chat/completions",
  "fetchedAt": 1792819843
}
capabilities.tool_choicehttps://platform.kimi.com/docs/openapi.json

upstream-spec

/properties/tool_choice

Source trace
0fc1213cc878662cfb4dc71f9526e83e0a192b10691c543339fda4d21e784977
{
  "endpointId": "v1/chat/completions",
  "fetchedAt": 1792819843
}
capabilities.reasoninghttps://platform.kimi.com/docs/openapi.json

upstream-spec

/properties/thinking

Source trace
0fc1213cc878662cfb4dc71f9526e83e0a192b10691c543339fda4d21e784977
{
  "endpointId": "v1/chat/completions",
  "fetchedAt": 1792819843
}
capabilities.structured_outputshttps://platform.kimi.com/docs/openapi.json

upstream-spec

/properties/response_format

Source trace
0fc1213cc878662cfb4dc71f9526e83e0a192b10691c543339fda4d21e784977
{
  "endpointId": "v1/chat/completions",
  "fetchedAt": 1792819843
}
maxOutputhttps://platform.kimi.com/docs/openapi.json

Value unknown (null); not published in the checked source · checked 2026-10-06.

activitySource unknown — no source URL recorded.
contextWindowSource unknown — no source URL recorded.
requestMapSource unknown — no source URL recorded.
schemaEndpointIdSource unknown — no source URL recorded.

Use it

shell
$ curl https://modelschemas.com/v1/schemas/moonshotai-cn/chat/v1/chat/completions # request schema
$ curl -X POST https://modelschemas.com/v1/validate -d '{"provider":"moonshotai-cn","endpointId":"v1/chat/completions","payload":{…}}'
$ curl -X POST https://modelschemas.com/v1/estimate -d '{"provider":"moonshotai-cn","model":"kimi-k2.7-code","usage":{"input_tokens":1200,"output_tokens":400}}'