Models / Moonshot AI

Model vendor

Moonshot AI

Moonshot AI builds the Kimi models, including long-context chat models and the open-weight K series for agents.

7Models routed
−26%Average vs list price
1Channels serving Moonshot AI

Moonshot AI models on MirAPI

ModelTypeContextInputOutputCache r / wOff listChannels
Kimi K2.7 CodeText262K$0.67$3.35— / —n/a—
Kimi K2.6Text262K$0.65$3.41— / —n/a—
Kimi K2.5Text262K$0.50$2.50— / —n/a—
Kimi K2 ThinkingText262K$0.60$2.50— / —n/a—
Kimi K2 0905Text262K$0.60$2.50— / —n/a—
Kimi K2 0711Text131K$0.57$2.30— / —n/a—
Browse the full catalog
Migration

A drop-in replacement for the OpenAI API

MirAPI accepts the OpenAI wire format, so the official SDKs, LangChain, agent frameworks and your own wrapper all work as they are. Change the base URL and use model IDs as they appear in our catalog:

Endpoints
/v1/chat/completionsChat & tool calls
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="kimi-k3",
    messages=[{"role": "user", "content": "Hello"}],
)

One key covers Moonshot AI and 10 more vendors.

1M free tokens to start. No card required.