Kimi K2.7 Code

moonshotai/kimi-k2.7-code

A coding-oriented multimodal model supporting extended reasoning.

Review option pricing before running.

Runs started with multiple options stay blind until you vote.

Use through the API
In / out per 1M
Price: $0.95Price: $4.00
Modalities
Text, Image, Video
Context
262K
Released
Jun 16, 2026

Overview

A coding-oriented multimodal model supporting extended reasoning. It is billed from the same balance as every other model and tool here, and the price of each call comes back in the response.

Run Kimi K2.7 Code with an agent

Each guide pairs this model with a currently compatible agent, explains their separate roles, and opens the shared Composer with both selections ready.

  • Hermes + Kimi K2.7 Code

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • Codex + Kimi K2.7 Code

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • OpenClaw + Kimi K2.7 Code

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • pi + Kimi K2.7 Code

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • DeepSeek Harness + Kimi K2.7 Code

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • Kimi Code + Kimi K2.7 Code

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • OpenCode + Kimi K2.7 Code

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • Cline + Kimi K2.7 Code

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • DeepAgents + Kimi K2.7 Code

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • goose + Kimi K2.7 Code

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • Grok Build + Kimi K2.7 Code

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • Kilo + Kimi K2.7 Code

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • MiniMax Code + Kimi K2.7 Code

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • Qwen Code + Kimi K2.7 Code

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide
  • OpenHands + Kimi K2.7 Code

    Compatibility, setup, current model facts, pricing boundaries, and a preselected Composer.

    Open guide

Pricing

Prices in USD per million tokens, using your plan when signed in.

MeterPer 1M tokens
InputPrice: $0.95
OutputPrice: $4.00
Cache readPrice: $0.19
Cache writePrice: $0.95

Your balance and per-call records come from /v1/credits and /v1/generation.

Use it

Point your client at the gateway and pass this model id. Nothing else changes.

import Anthropic from "@anthropic-ai/sdk";

const client = new Anthropic({
  baseURL: "https://gateway.agentsky.dev",
  apiKey: process.env.AGENTSKY_API_KEY, // ast_…
});

const message = await client.messages.create({
  model: "moonshotai/kimi-k2.7-code",
  max_tokens: 256,
  messages: [{ role: "user", content: "Summarise this ticket." }],
});
console.log(message.usage.cost); // USD, in the response

Questions