Kimi K2.7 Code via the Tokenator API

What the model is for

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

Specification

Full nameKimi K2.7 Code
API IDkimi-k2-7-code
Model vendorMoonshotAI
TypeText model (chat / completions)
Context window262.1K tokens
Max output16.4K tokens
Image inputyes
Tokenator usage multiplier3× – 4×
Input modalitiestext, image
Aliasescursor-kimi-k2-7-code
Supported API formats/v1/chat/completions /v1/responses /v1/messages
Upstream providers2
Current statusavailable
Data updated2026-09-19

Benchmarks

Intelligence index26.3
Coding index60.8
Agentic index22.5

Artificial Analysis data loaded into the catalog for this model.

Upstream providers

ProviderMultiplier
Chinese Partner #2
AiPartners Ltd

A request goes to the first available provider by priority; if it fails, Tokenator switches to the next one.

Example request

curl
curl https://api.tokenator.top/v1/chat/completions \
  -H "Authorization: Bearer sk-your-tokenator-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "kimi-k2-7-code",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Compatible tools

The model can be used in any tool that accepts a custom base URL: Claude Code, Codex CLI, OpenCode, Cursor, Cline, Kilo Code, Cherry Studio, DeepSeek Harness, Hermes, Pi, OpenClaw.

FAQ about Kimi K2.7 Code

What is the API ID of Kimi K2.7 Code?

kimi-k2-7-code — put this into the model field of your request.

What context window does Kimi K2.7 Code have?

262.1K tokens; max output is 16.4K tokens.

How many tokens will a request cost?

(input + output) × 3× – 4×. See the documentation for details.

Which tools support this model?

Any tool that accepts a custom base URL: Claude Code, Codex CLI, OpenCode, Cursor, Cline, Kilo Code. Setup guides are in the integrations section.