# Kimi K2.7 Code

1T total, 32B active (MoE) specialized for long-horizon software engineering. Multi-turn tool calling with automatic context caching.

## Overview

- **Provider:** Moonshot
- **Model ID:** `kimi-k2.7-code`
- **Type:** Chat
- **Canonical URL:** https://modelstack.cc/models/chat/kimi-k2.7-code
- **Version:** K2.7 Code
- **Best for:** Long-horizon software engineering, agentic coding workflows, multi-turn tool calling

## Pricing

| Usage | Price |
| --- | ---: |
| Input | $0.95 / 1M tokens |
| Output | $4 / 1M tokens |
| Cache read | $0.19 / 1M tokens |
| Cache write (5 minutes) | $0.95 / 1M tokens |

## Specifications

- **Context window:** 256K
- **Maximum output:** 256K
- **Typical latency:** 16 ms
- **Released:** 2026-06-12

## Capabilities

- chat
- tool_use
- reasoning
- coding
- analysis

## API usage

Use this model ID in a ModelStack API request:

```json
{
  "model": "kimi-k2.7-code"
}
```

For the rendered page, visit https://modelstack.cc/models/chat/kimi-k2.7-code.
