Moonshot

Kimi K2.7 Code

Base URL
Model ID
Input
€0.65
1M tokens
Cached input
€0.15
1M tokens
Output
€3.40
1M tokens
Context window
256K
tokens
Modalities
Input: Text, Image, Video. Output: Text.
See pricing

Overview

Moonshot Kimi K2.7 Code is a 1‑trillion‑parameter Mixture‑of‑Experts (MoE) chat model with 32 B activated parameters, featuring a 256 K token context window and a MoonViT vision encoder (400 M parameters). Optimized for coding and agentic tasks, it operates in a forced thinking mode that preserves reasoning across turns. The model achieves 62.0 on the Kimi Code Bench v2, 53.6 on Program Bench, and 76.0 on the MCP Atlas benchmark. It supports text, image, and video inputs and provides function calling capabilities. The model is released under a custom “Other” license.

Code samples

curl -X POST "https://api.melious.ai/v1/chat/completions" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $MELIOUS_API_KEY" \
  -d '{
    "model": "kimi-k2.7-code",
    "messages": [
      {"role": "user", "content": "Explain what an API is in one sentence."}
    ]
  }'

Capabilities

Input
Text, Image, Video
Output
Text
Supported
Vision, Reasoning, Tool calling, Structured output, Streaming
Reasoning
Always reasons before answering

Where it runs

Hosted in Renewable power 100% Power efficiency Water efficiency
All models
  • Moonshot Chat

    In / out per 1M
    €0.60 / €3.05
    Cached input
    €0.15
    Context
    256K
  • Deepseek Chat

    Coding plans
    In / out per 1M
    €0.20 / €1.00
    Cached input
    €0.01
    Context
    1M
  • Deepseek Chat

    Coding plans
    In / out per 1M
    €0.10 / €0.25
    Cached input
    €0.02
    Context
    1M

Start with Kimi K2.7 Code

Estimate monthly cost

Kimi K2.7 Code

Input tokens per month50M
Estimated cost per month €66.50