Atlas / Models / Moonshotai / MoonshotAI: Kimi K2.7 Code

MoonshotAI: Kimi K2.7 Code✓ Catalog verified

moonshotai/kimi-k2.7-code

MoonshotAI: Kimi K2.7 Code is a coding-focused model in Moonshot AI's Kimi K2 family, built to complete end-to-end programming tasks reliably over long contexts. It uses a native multimodal mixture-of-experts...

Input price
$0.70 /1M
Output price
$3.50 /1M
Context
262K
Modalities
textimage
Released
Jun 12, 2026
Tool calling
✓ Yes
Atlas signal
89/100
01

Overview

MoonshotAI: Kimi K2.7 Code is a coding-focused model in Moonshot AI's Kimi K2 family, built to complete end-to-end programming tasks reliably over long contexts. It uses a native multimodal mixture-of-experts...

Access: available through the official Moonshotai API. Context window: 262K.

Pricing and metadata from the ModelsAtlas catalog.Last refreshed Aug 7, 2026
02

Specifications

API identifiermoonshotai/kimi-k2.7-code
ProviderMoonshotai
Model typeMultimodal LLM
Context window262K catalog
Input modalitiestext · image
Output modalitiestext
ReleasedJun 12, 2026
ModeratedNo
Architecture modalitytext+image->text
Supported parameters
frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_pparallel_tool_callspresence_penaltyreasoningrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p
Source: provider documentation + catalog feedMethodology →

API defaults

Default parameters
{
  "top_k": null,
  "top_p": null,
  "temperature": null,
  "presence_penalty": null,
  "frequency_penalty": null,
  "repetition_penalty": null
}
03

Pricing

Live pricing components for moonshotai/kimi-k2.7-code as published in the catalog.

$0.70
Input /1M
$3.50
Output /1M
Per request
Per image
Pricing componentRaw unit priceNormalizedUnit
Prompt tokens$7e-7$0.70 / 1MPer input token
Completion tokens$0.0000035$3.50 / 1MPer output token
Request feeN/AN/APer request
Image feeN/AN/APer image unit
Web search feeN/AN/APer search request
Source: catalog pricing feedCompare all pricing →Cheapest models →
04

Cost calculator

Estimate monthly spend from your own token volumes.

Scale / Volume

Estimated Total Cost

$1.05Calculated from current list pricing in the ModelsAtlas catalog.
05

Capabilities

CapabilityStatusWhat it means
Visual Understanding✓ SupportedImage and document analysis support
Audio ProcessingNot advertisedSpeech and voice aligned flows
Tool Calling✓ SupportedSupports tools / function calling
Self-HostingNot advertisedDeploy outside managed APIs
Derived from catalog capability tags and supported parameters
06

Capability signals

Directional signals derived from model metadata and capability tags — not official benchmark submissions.

MoonshotAI: Kimi K2.7 Code
MMLU Signal (Reasoning)
91signal
Coding Signal (HumanEval proxy)
97signal
Math Signal (GSM8K proxy)
83signal
Science Signal (GPQA proxy)
83signal
Estimated from metadata — not an official benchmark runAll benchmarks →Methodology →
07

Quick start

Call MoonshotAI: Kimi K2.7 Code through an OpenAI-compatible client.

from openai import OpenAI

client = OpenAI(
    base_url="https://openrouter.ai/api/v1",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="moonshotai/kimi-k2.7-code",
    messages=[{"role": "user", "content": "Explain quantum physics."}]
)

print(response.choices[0].message.content)
08

Alternatives

Closest models by context window from a different provider.

09

Sources & attribution

Pricing and metadata are maintained in the ModelsAtlas catalog.

Capability bars use metadata tags — directional estimates onlyHow we source and verify data →
10

Frequently asked questions

How much does MoonshotAI: Kimi K2.7 Code cost?

$0.70 per 1M input tokens and $3.50 per 1M output tokens on the official Moonshotai API.

What is the context window of MoonshotAI: Kimi K2.7 Code?

MoonshotAI: Kimi K2.7 Code supports up to 262K tokens of context.

Does MoonshotAI: Kimi K2.7 Code support tool / function calling?

Yes, MoonshotAI: Kimi K2.7 Code supports tool / function calling — you can register tools and the model will emit structured tool calls.

How do I access MoonshotAI: Kimi K2.7 Code?

Use the official Moonshotai API with the model id `moonshotai/kimi-k2.7-code`. See the Quick start section above for code examples.