# Kimi K2.7 Code

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.

## Key facts

- Model ID: `kimi-k2.7-code`
- Base URL: `https://api.melious.ai/v1`
- Maker: Moonshot
- Type: Chat
- Context window: 256K tokens
- Price (EUR): Input €0.65 / 1M tokens, Cached input €0.15 / 1M tokens, Output €3.40 / 1M tokens
- Measured throughput: 98 tok/s
- License: Other
- Released: 2026-06-12
- Capabilities: Vision, Reasoning, Tool calling, Structured output, Streaming

## Where your request goes

- Processed in: Finland
- Used to train models: never
- Prompts and answers: not logged by Melious
- Operators: Inceptron (Finland)
- Data processing agreement: https://melious.ai/legal/dpa

## Call it

```bash
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."}
    ]
  }'
```

Human-readable page: https://melious.ai/models/kimi-k2.7-code
All models: https://melious.ai/models.md
