# Kimi K2.7 Code

Kimi K2.7 Code is Moonshot AI's coding specialist for completing software engineering tasks across a codebase. It combines image understanding and tool use with reasoning that remains enabled during generation. Its published context window is 262,144 tokens. The advertised input rate is $0.95 per million input tokens. The advertised output rate is $4.00 per million output tokens.

- Model identifier: ` moonshotai/kimi-k2.7-code `
- Creator: Moonshot AI
- Providers: Fireworks
- Model type: Text generation
- Canonical model page: [Kimi K2.7 Code](<https://impossibl.com/moonshotai/kimi-k2.7-code>)
- API availability: Listed as serving through Impossibl.

## Providers

Fireworks hosts Kimi K2.7 Code. Impossibl routes your request intelligently and handles failover automatically when a provider is down.

| Provider | Endpoint location | Routes | Verified context window | Tool calling |
| --- | --- | --- | --- | --- |
| Fireworks | Not specified | 1 | Not verified | Not verified |

The model price applies whichever provider serves the request. Endpoint locations do not guarantee inference residency.

## Specs and Capabilities

- Context window: 262,144 tokens
- Maximum output tokens: Not published in the public catalog; this is separate from the context window.
- Inputs: text, image
- Outputs: text
- Tool calling: Not published

## API access

Use ` moonshotai/kimi-k2.7-code ` as the model identifier through the Impossibl API.

Published API endpoints:

- ` /v1/chat/completions `

[API quickstart](<https://impossibl.com/docs/agent-quickstart>) · [Models and billing documentation](<https://impossibl.com/docs/models>)

## Published API prices

All rates are in USD. An unpublished rate is unknown, not zero. Workspace-specific pricing, taxes, balance-purchase fees, billing adjustments, and tool charges can affect the amount paid.

| Usage | Published base rate | Billing unit |
| --- | --- | --- |
| Input | $0.95 | per million input tokens |
| Output | $4.00 | per million output tokens |
| Cache read | $0.19 | per million cached input tokens |
| Cache write (default retention) | Not published | per million tokens |
| Cache write (one-hour retention) | Not published | per million tokens |
| Audio input | Not published | per million audio input tokens |

## Availability and retirement

The model is listed as serving. No retirement is announced in the current public catalog.

## Frequently asked questions

### What is Kimi K2.7 Code?

Kimi K2.7 Code is Moonshot AI's coding specialist for completing software engineering tasks across a codebase. It combines image understanding and tool use with reasoning that remains enabled during generation.

Sources: [Moonshot model documentation](<https://platform.kimi.ai/docs/guide/kimi-k2-7-code-quickstart>); [Fireworks model documentation](<https://fireworks.ai/models/fireworks/kimi-k2p7-code>)

### How much does Kimi K2.7 Code cost?

Kimi K2.7 Code costs $0.95 per million input tokens and $4.00 per million output tokens through the Impossibl API. Cache reads cost $0.19 per million tokens. All rates are in USD.

### What is the context length of Kimi K2.7 Code?

Kimi K2.7 Code has a 262,144-token context window through the Impossibl API.

### What inputs and outputs does Kimi K2.7 Code support?

Kimi K2.7 Code accepts text and image as input. Kimi K2.7 Code returns text.

### How do I use Kimi K2.7 Code through an API?

Kimi K2.7 Code is available through the Impossibl API. Use moonshotai/kimi-k2.7-code as the model identifier with /v1/chat/completions. The quickstart explains how to create an API key and send your first request.

## Sources and related links

Prices, limits, capabilities, endpoints, and availability come from the public Impossibl catalog. Creator documentation supplies descriptions and release dates where available; it does not override the published API offering.

- [Public Impossibl model catalog](<https://api.impossibl.com/v1/models>)
- [Full model directory as JSON](<https://impossibl.com/models.json>)
- [Kimi K2.7 Code: model details and pricing](<https://impossibl.com/moonshotai/kimi-k2.7-code>)
- [Model directory](<https://impossibl.com/models>)
- [Moonshot model documentation](<https://platform.kimi.ai/docs/guide/kimi-k2-7-code-quickstart>)
- [Fireworks model documentation](<https://fireworks.ai/models/fireworks/kimi-k2p7-code>)
