---
last_updated: 2026-11-27
source_url: https://opper.ai/moonshot/kimi-k2-instruct
title: "Kimi K2 Instruct by Moonshot"
description: "Kimi K2 Instruct by Moonshot: post-trained 1T-parameter MoE for chat, instruction following, and agentic tool use with a 128K context window."
---

# Kimi K2 Instruct

By [Moonshot](https://opper.ai/moonshot).

Released 11 Jul 2025 · [Announcement](https://www.kimi.ai/blog/) · [All Moonshot releases](https://opper.ai/model-releases/moonshot)

Kimi K2 Instruct is Moonshot's post-trained variant of the base Kimi K2 model, tuned for instruction following, conversational use, and agentic problem solving. It uses the 1 trillion total parameter Mixture-of-Experts architecture with 32 billion active parameters and a 128K token context window.

Trained with the Muon optimizer, the model targets tool use, reasoning, and autonomous task execution. Moonshot reports strong results across coding (53.7 on LiveCodeBench v6, 85.7 on MultiPL-E), mathematics (69.6 on AIME 2024), and reasoning (89.5 on MMLU), making it well suited to general-purpose assistance with reasoning demands.

The model is built for tool calling in agentic applications and is optimized for immediate, reflex-style responses rather than long deliberation. It supports structured output and runs on inference engines including vLLM, SGLang, and KTransformers.

## Available routes

Kimi K2 Instruct runs on 1 route through the Opper gateway. Prices are per 1M tokens. Its routes and prices, live from the catalogue, are public JSON with no API key needed at https://api.opper.ai/v3/models?q=novita%2Fmoonshotai%2Fkimi-k2-instruct.

| Provider | Model id | Region | Zero data retention | Training | Input | Output | Cache read |
| --- | --- | --- | --- | --- | --- | --- | --- |
| [Novita](https://opper.ai/provider/novita) | `novita/moonshotai/kimi-k2-instruct` | US (United States) | Yes | No | $0.57 | $2.30 | Input price |

## Key info

- Model id: `novita/moonshotai/kimi-k2-instruct`
- Input: Text
- Output: Text
- Features: Tools
- Context window: 131K
- Max output: 98K
- Input price: $0.57 per 1M tokens
- Output price: $2.30 per 1M tokens
- Released: 11 Jul 2025
- US residency available
- Zero data retention on pay-as-you-go
- No training by default

## Data handling per route

Each route hosting Kimi K2 Instruct has its own privacy posture, residency, and GDPR terms. Postures are maintained by Opper with a last-verification timestamp.

### Novita — United States

Zero data retention: nothing is logged, held for abuse monitoring or used for training. No training on customer data. US; SCCs.

- Zero data retention: Yes. Nothing is logged, held for abuse monitoring or used for training.
- Training: No training on customer data.
- Logging: None
- Abuse monitoring: On by default, keeps nothing
- Transfer mechanism: SCCs

Verified by Opper on 2026-09-15.

## Get started

Call Kimi K2 Instruct through the Opper gateway with one API key. Opper is drop-in compatible with the OpenAI, Anthropic and Google AI SDKs.

Kimi K2 Instruct is a premium model on Opper. Sign up needs no credit card: you get an API key straight away and the free models work in the playground and the API. Add a card to use premium models, pay-as-you-go with no minimum.

### Set it up with your agent

Paste this into a coding agent like Claude Code, Cursor or Codex and it will wire up Opper for you:

```text
Use curl to download, read and follow: https://skills.opper.ai Call Kimi K2 Instruct
```

### Or call it directly

OpenAI:

```javascript
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.OPPER_API_KEY,
  baseURL: "https://api.opper.ai/v3/compat",
});

const completion = await client.chat.completions.create({
  model: "novita/moonshotai/kimi-k2-instruct",
  messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);
```

Anthropic:

```javascript
import Anthropic from "@anthropic-ai/sdk";

const client = new Anthropic({
  apiKey: process.env.OPPER_API_KEY,
  baseURL: "https://api.opper.ai/v3/compat",
});

const message = await client.messages.create({
  model: "novita/moonshotai/kimi-k2-instruct",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Hello" }],
});
console.log(message.content);
```

Gemini:

```javascript
import { GoogleGenAI } from "@google/genai";

const ai = new GoogleGenAI({
  apiKey: process.env.OPPER_API_KEY,
  httpOptions: { baseUrl: "https://api.opper.ai/v3/compat" },
});

const response = await ai.models.generateContent({
  model: "novita/moonshotai/kimi-k2-instruct",
  contents: "Hello",
});
console.log(response.text);
```

cURL:

```bash
curl https://api.opper.ai/v3/compat/chat/completions \
  -H "Authorization: Bearer $OPPER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "novita/moonshotai/kimi-k2-instruct",
    "messages": [{ "role": "user", "content": "Hello" }]
  }'
```

## Use Kimi K2 Instruct in your apps

Pick your tool to see how to run it on Kimi K2 Instruct through Opper.

- [Claude Code](https://opper.ai/apps/claude-code/kimi-k2-instruct)
- [Claude Cowork](https://opper.ai/apps/claude-cowork/kimi-k2-instruct)
- [Codex](https://opper.ai/apps/codex/kimi-k2-instruct)
- [DeepSeek Harness](https://opper.ai/apps/deepseek-harness/kimi-k2-instruct)
- [GitHub Copilot CLI](https://opper.ai/apps/github-copilot-cli/kimi-k2-instruct)
- [Aider](https://opper.ai/apps/aider/kimi-k2-instruct)
- [Goose](https://opper.ai/apps/goose/kimi-k2-instruct)
- [Droid](https://opper.ai/apps/droid/kimi-k2-instruct)
- [OpenCode](https://opper.ai/apps/opencode/kimi-k2-instruct)
- [Pi](https://opper.ai/apps/pi/kimi-k2-instruct)
- [OpenClaw](https://opper.ai/apps/openclaw/kimi-k2-instruct)
- [Hermes](https://opper.ai/apps/hermes/kimi-k2-instruct)
- [Copilot for Obsidian](https://opper.ai/apps/obsidian-copilot/kimi-k2-instruct)
- [OmniRoute](https://opper.ai/apps/omniroute/kimi-k2-instruct)
- [Cursor](https://opper.ai/apps/cursor/kimi-k2-instruct)
- [Cline](https://opper.ai/apps/cline/kimi-k2-instruct)
- [Continue](https://opper.ai/apps/continue/kimi-k2-instruct)
- [Kilo Code](https://opper.ai/apps/kilo-code/kimi-k2-instruct)
- [GitHub Copilot](https://opper.ai/apps/github-copilot/kimi-k2-instruct)
- [Zed](https://opper.ai/apps/zed/kimi-k2-instruct)
- [JetBrains AI Assistant](https://opper.ai/apps/jetbrains-ai-assistant/kimi-k2-instruct)
- [Voidleap Code](https://opper.ai/apps/voidleap-code/kimi-k2-instruct)
- [n8n](https://opper.ai/apps/n8n/kimi-k2-instruct)
- [LibreChat](https://opper.ai/apps/librechat/kimi-k2-instruct)
- [Open WebUI](https://opper.ai/apps/open-webui/kimi-k2-instruct)
- [See all apps](https://opper.ai/apps)

## Other models from Moonshot

- [Kimi K3.1 Pro](https://opper.ai/moonshot/kimi-k3-1-pro)
- [Kimi K3](https://opper.ai/moonshot/kimi-k3)
- [Kimi K2.6](https://opper.ai/moonshot/kimi-k2-6)
- [Kimi K2.7 Code](https://opper.ai/moonshot/kimi-k2-7-code)
- [Kimi K2.7 Code Fast](https://opper.ai/moonshot/kimi-k2-7-code-fast)
- [Kimi K2.5](https://opper.ai/moonshot/kimi-k2-5)
