# Kimi K2.7 Code

Kimi K2.7 Code is a language model from Moonshot AI with a 256K-token context window. Provider list price is $0.95 per million input tokens and $4 per million output; on Allocate you pay $1.02 and $4.28 with the 7% transaction fee. The weights are open, so you can fine-tune it and own the result.

## Pricing

| | Provider list | On Allocate |
| --- | --- | --- |
| Input, per M tokens | $0.95 | $1.02 |
| Output, per M tokens | $4 | $4.28 |
| Cached input, per M tokens | $0.19 | $0.20 |

Token usage bills at the provider list price plus the 7% transaction fee. Prices checked 2026-07-08.

## Facts

| Field | Value |
| --- | --- |
| Lab | Moonshot AI |
| Modality | Language |
| Context window | 256K tokens |
| License | Not listed |
| Open weights | Yes |
| Fine-tunable | Yes, on your data |
| Catalog id | moonshotai/kimi-k2.7-code |

## What a real workload costs

Take 1,000,000 requests a month at 1,200 input and 350 output tokens each: 1,200M input and 350M output tokens. At list prices that is 1,200 × $0.95 + 350 × $4 = $2,540 a month. Billed on Allocate it is $2,718 with the 7% transaction fee.

## Common questions

### How much does Kimi K2.7 Code cost per million tokens?

Provider list price is $0.95 per million input tokens and $4 per million output tokens. On Allocate you pay list plus the 7% transaction fee: $1.02 in and $4.28 out.

### What context window does Kimi K2.7 Code have?

262,144 tokens (256K). At roughly 0.75 words per token, that is about 197k words of English text per request.

### What does cached input cost on Kimi K2.7 Code?

$0.19 per million tokens at list ($0.20 billed). Repeated prompt prefixes, such as a stable system prompt or tool definitions, bill at this rate instead of the full input price.

### Can I fine-tune Kimi K2.7 Code?

Yes. Kimi K2.7 Code is an open-weights model; check the lab’s model card for the exact license terms. Read the license terms before fine-tuning for commercial use. On Allocate the trained weights stay inside your boundary and belong to you.

### How do I call Kimi K2.7 Code on Allocate?

Send moonshotai/kimi-k2.7-code in the model field of the OpenAI-compatible endpoint at api.allocate.network/v1, or point a route name (like prod/support-agent) at it so you can swap the model later without a deploy.

---

[HTML page](https://allocate.network/models/moonshotai-kimi-k2-7-code) · [Machine-readable catalog](https://allocate.network/catalog.json)
