Kimi K2.7 Code

Kimi K2.7 Code is Moonshot AI's coding specialist for completing software engineering tasks across a codebase.

input · usd / 1m tok

$0.95

output · usd / 1m tok

$4.00

context window

262.14ktokens

modalities · in → out

takes text and image in, gives text out

pricing

base api ratesusd per 1m tokens

input
$0.95
output
$4.00
cache read
$0.19

providers

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

  • Fireworks

specifications

takes text and image in, gives text outmoonshotai/kimi-k2.7-code

  • creatorMoonshot AI
  • model typeText generation
  • context window262,144 tokens
  • maximum outputnot published
  • input

    takes text and image in, gives text out

  • outputtext
  • tool callingnot verified
  • endpoint/v1/chat/completions

unknown means the public catalog does not establish that fact. a model's documented capabilities can differ from what a particular api supports. see the model documentation for integration details.

try it · your prompt, this model, live

# responses API
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["IMPOSSIBL_API_KEY"],
    base_url="https://api.impossibl.com/v1",
)

resp = client.responses.create(
    model="moonshotai/kimi-k2.7-code",
    input="",
)
print(resp.output_text)

edit the prompt, then run

benchmarks

benchmark results are not available for this model yet.

compare Kimi K2.7 Code with other models

frontier labs and open weights, best-ranked firstusd / 1m tok · in / out

impossibl models --all →

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.

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.

view the pricing table ↑

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.

follow the api quickstart →

this page describes Kimi K2.7 Code as listed by the impossibl public api. prices and availability come from that catalog, refreshed here every five minutes. this is an impossibl offering, not a comparison of independent hosting-provider quotes. model descriptions and release dates, where available, use the creator sources linked under the answers above.

view the source catalog ↗model as markdown ↗report a correction →