All models
Moonshot AI logoMoonshot AIAvailable

Kimi K2.7 Code

moonshot/kimi-k2.7-code

Input price

Enterprise rate

Output price

Enterprise rate

Context window

256K

Availability

Available

Login to view contracted pricing, or request enterprise rates for this model.

About

Model details

Kimi K2.7 Code is a text model from Moonshot AI made available through the Decks enterprise API. It is called with the model identifier moonshot/kimi-k2.7-code using the same request format as every other supported model.

Capabilities

TextCodingTools

Supported features

  • —OpenAI-compatible chat completions
  • —Streaming responses
  • —Per-key model permissions
  • —Token-level usage metering

Use this model

Integration

moonshot/kimi-k2.7-code
from openai import OpenAI

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

response = client.chat.completions.create(
    model="moonshot/kimi-k2.7-code",
    messages=[
        {
            "role": "user",
            "content": "Summarise this customer report."
        }
    ]
)

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

Use cases

Common enterprise applications.

Customer applications

Internal AI assistants

Document processing

Coding

Research

Agents

Enterprise automation