Skip to main content

Kimi K2.7 Code

Pick this for coding tasks, multi-step reasoning, and tool selection — a 256K-context coding model.
Model ID: moonshotai/Kimi-K2.7-Code

About

Kimi K2.7 Code is Moonshot’s coding-specialized model with a 262,144-token context window. It is well suited to software-engineering workflows, long-context code review, and agentic tool use.

Pricing

DirectionRate (USD)
Input$0.55 / 1M tokens
Output$2.20 / 1M tokens

Capabilities

  • chat
  • reasoning
  • coding
  • vision

Specs

  • Context window: 262,144 tokens (256K)
  • License: Modified MIT
  • Chat and instruction following
  • Multi-step reasoning and planning
  • Tool use and function calling

Benchmarks

Benchmarks fill in during Alpha. Tracked as a follow-up to RD-562.

Example prompts

  • Plan a migration of a 50M-row Postgres table to a NOT NULL column without downtime.
  • Given this stack trace, identify the most likely root cause and suggest 3 next debugging steps.

Quick start

curl https://api.tokenfactory.corvex.cloud/v1/chat/completions \
  -H "Authorization: Bearer $CORVEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "moonshotai/Kimi-K2.7-Code",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
Open in the Corvex playground