Moonshot AI: Kimi K2 0711

Kimi K2 0711 is Moonshot AI's 1-trillion-parameter mixture-of-experts model with 32B active parameters, released 2025-07 and built for agentic work. It is optimized for tool use, reasoning, and code synthesis, with strong results on LiveCodeBench, SWE-bench, and Tau2.

Modalities
inTextoutText
Price / 1M
$0.40 / $2.50
Context
131K
Knowledge cutoff
2024-12-31

Capabilities

Tool use

Channels

Same weights on every channel. Requests route to the cheapest healthy one; the channel used is printed on each billing line.

Provider
Discount
Input /M
Output /M
Cache Read /M
Cache Create 5m /M
Cache Create 1h /M
Defaultstable
+1%
$0.40
$2.50
$0.40

Cost Calculator

Pick a channel and a usage scenario, then drag to your workload — each scenario assumes a different prompt-cache hit rate.

Channel
Scenario
Unit $0.40 / $2.50 /1MDaily chat: 40% cache hit assumed · cache read $0.40 /1M
List price $165.12On MirAPI$158.40/ moYou save $6.72Create an API key

Showcase

Three fixed prompts, identical for every chat model. Outputs are archived verbatim — copy the prompt to reproduce.

Task prompt · identical for all models
Build a single-file HTML page using three.js from a CDN: a low-poly planet with a tilted ring of ~200 orbiting particles, a soft key light plus rim light, slow auto-rotation, and drag-to-orbit controls. No build tools — one file only.
Archived output
Archive not published yet

Every model will run this exact prompt; the output lands here verbatim, with tokens and per-run cost.

Quick Start

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.mirapi.ai/v1",   # changed
    api_key=os.environ["MIRAPI_API_KEY"],   # changed
)

resp = client.chat.completions.create(
    model="moonshotai/kimi-k2",
    messages=[{"role": "user", "content": "Hello"}],
)
Wire Kimi K2 0711 into your product

1M free tokens to start · no card · OpenAI-compatible, one base_url change

Start free