GET
/v1/models/moonshotai-cn/kimi-k2.7-code
Accept:
| rawId | kimi-k2.7-code |
| displayName | — |
| id | moonshotai-cn-kimi-k2-7-code |
| activity | chat |
| schemaEndpointId | v1/chat/completions |
| releasedAt | no release date reported by the provider |
| firstSeenAt | 1781222400 — Jun 12, 2026 |
| lastSeenAt | 1794561486 — 6m 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 · providerMetadata | not published by this provider’s list endpoint |
Endpoints & schemas
GET /v1/schemas/moonshotai-cn →| endpoint | activity |
|---|---|
| v1/chat/completions | chat |
endpoints matching this model — the provider has more, see /v1/schemas/moonshotai-cn
Sources
| field | recorded source |
|---|---|
| modalities | https://platform.kimi.com/docs/openapi.json upstream-spec /components/schemas/KimiK27CodeChatRequest/properties/messages Source trace2f90975c9a2b18b7fff6d67f8b605b328a3cd1bb8966cc702f4227254ff0dde4 |
| pricing | Source linked above. docs-derived Pricing Source trace4c4f472407f99d43de8e6eb79321d68feb6ae16fb7d88117dc2986cd51825cef |
| reasoning | https://platform.kimi.com/docs/openapi.json upstream-spec thinking.type Source trace2f90975c9a2b18b7fff6d67f8b605b328a3cd1bb8966cc702f4227254ff0dde4 |
| capabilities.max_tokens | https://platform.kimi.com/docs/openapi.json upstream-spec /properties/max_tokens Source trace0fc1213cc878662cfb4dc71f9526e83e0a192b10691c543339fda4d21e784977{
"endpointId": "v1/chat/completions",
"fetchedAt": 1792819843
} |
| capabilities.response_format | https://platform.kimi.com/docs/openapi.json upstream-spec /properties/response_format Source trace0fc1213cc878662cfb4dc71f9526e83e0a192b10691c543339fda4d21e784977{
"endpointId": "v1/chat/completions",
"fetchedAt": 1792819843
} |
| capabilities.stop | https://platform.kimi.com/docs/openapi.json upstream-spec /properties/stop Source trace0fc1213cc878662cfb4dc71f9526e83e0a192b10691c543339fda4d21e784977{
"endpointId": "v1/chat/completions",
"fetchedAt": 1792819843
} |
| capabilities.tools | https://platform.kimi.com/docs/openapi.json upstream-spec /properties/tools Source trace0fc1213cc878662cfb4dc71f9526e83e0a192b10691c543339fda4d21e784977{
"endpointId": "v1/chat/completions",
"fetchedAt": 1792819843
} |
| capabilities.tool_choice | https://platform.kimi.com/docs/openapi.json upstream-spec /properties/tool_choice Source trace0fc1213cc878662cfb4dc71f9526e83e0a192b10691c543339fda4d21e784977{
"endpointId": "v1/chat/completions",
"fetchedAt": 1792819843
} |
| capabilities.reasoning | https://platform.kimi.com/docs/openapi.json upstream-spec /properties/thinking Source trace0fc1213cc878662cfb4dc71f9526e83e0a192b10691c543339fda4d21e784977{
"endpointId": "v1/chat/completions",
"fetchedAt": 1792819843
} |
| capabilities.structured_outputs | https://platform.kimi.com/docs/openapi.json upstream-spec /properties/response_format Source trace0fc1213cc878662cfb4dc71f9526e83e0a192b10691c543339fda4d21e784977{
"endpointId": "v1/chat/completions",
"fetchedAt": 1792819843
} |
| maxOutput | https://platform.kimi.com/docs/openapi.json Value unknown (null); not published in the checked source · checked 2026-10-06. |
| activity | Source unknown — no source URL recorded. |
| contextWindow | Source unknown — no source URL recorded. |
| requestMap | Source unknown — no source URL recorded. |
| schemaEndpointId | Source 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}}'