Kimi K2.7 Code as a coding agent in your terminal

Kimi K2.7 Code by Moonshot AI, one of 250+ models you can use in Darce, the open source AI coding agent you can undo.

ModelKimi K2.7 Code
VendorMoonshot AI
Model idmoonshotai/kimi-k2.7-code
Context window262k tokens
Price per 1M tokens$0.67 input · $3.35 output (OpenRouter)
Can dotool calling · reads images · reasoning
CategoryCoding-tuned

Strengths

A Kimi K2 model tuned by Moonshot AI for coding.

OpenRouter's description:

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. It uses a native multimodal mixture-of-experts...

Use Kimi K2.7 Code as a coding agent in your terminal

Start Darce in your project with Kimi K2.7 Code:

npm install -g darce-cli
darce --model moonshotai/kimi-k2.7-code

Already in a session? Type /model moonshotai/kimi-k2.7-code, or open the picker with Ctrl+P. Darce then reads your code, edits files and runs commands with Kimi K2.7 Code; risky commands ask first, and /undo reverses any change, including what shell commands did. No account yet? npx darce-cli lets you try it free. Which plan includes which models is on the pricing page.

Make it your default or a gear

In ~/.darcerc, set it as the starting model or add it to the gears you move between with Shift+↑ / Shift+↓ (see configuration):

{
  "router": { "default": "moonshotai/kimi-k2.7-code" },
  "gears": ["qwen/qwen3-coder", "moonshotai/kimi-k2.7-code"]
}

Compare it on your own code

Benchmarks rarely match your repository. Race Kimi K2.7 Code against two other models on a real task and keep the best diff:

/derby --models moonshotai/kimi-k2.7-code,moonshotai/kimi-k3,moonshotai/kimi-k2.6 fix the failing test

Read more about /derby and /swarm.

Related models

  • Kimi K3 (Moonshot AI): 1.05M tokens, $0.64 / $13.50 per 1M tokens
  • Kimi K2.6 (Moonshot AI): 262k tokens, $0.47 / $2.45 per 1M tokens
  • Kimi K2 Thinking (Moonshot AI): 262k tokens, $0.60 / $2.50 per 1M tokens
  • GPT-5.3-Codex (OpenAI): 400k tokens, $1.75 / $14.00 per 1M tokens
  • Qwen3 Coder 480B A35B (Qwen (Alibaba)): 262k tokens, $0.30 / $1.00 per 1M tokens
  • Qwen3 Coder Next (Qwen (Alibaba)): 262k tokens, $0.12 / $0.80 per 1M tokens
  • Qwen3 Coder Plus (Qwen (Alibaba)): 1M tokens, $0.65 / $3.25 per 1M tokens

All models · Getting started · Claude Code alternative

Model data from OpenRouter, refreshed daily. Prices are OpenRouter's list rates and show relative cost; your Darce allowance is used in proportion to them.