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 multiplier
Input modalitiestext, image
Aliasescursor-kimi-k2-7-code
Supported API formats/v1/chat/completions /v1/responses /v1/messages
Upstream providers2
Current statusavailable
Data updated2026-08-04

Benchmarks

Intelligence index41.9
Coding index60.8
Agentic index29.6

Artificial Analysis data loaded into the catalog for this model.

Upstream providers

ProviderMultiplier
AiPartners Ltd
Moonshot AI Partner #1

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