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 name | Kimi K2.7 Code |
| API ID | kimi-k2-7-code |
| Model vendor | MoonshotAI |
| Type | Text model (chat / completions) |
| Context window | 262.1K tokens |
| Max output | 16.4K tokens |
| Image input | yes |
| Tokenator usage multiplier | 3× |
| Input modalities | text, image |
| Aliases | cursor-kimi-k2-7-code |
| Supported API formats | /v1/chat/completions /v1/responses /v1/messages |
| Upstream providers | 2 |
| Current status | available |
| Data updated | 2026-08-04 |
Benchmarks
| Intelligence index | 41.9 |
| Coding index | 60.8 |
| Agentic index | 29.6 |
Artificial Analysis data loaded into the catalog for this model.
Upstream providers
| Provider | Multiplier |
|---|---|
| AiPartners Ltd | 3× |
| Moonshot AI Partner #1 | 3× |
A request goes to the first available provider by priority; if it fails, Tokenator switches to the next one.
Example request
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.
See also
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.