Skip to content
CheapLLM

Moonshot AI API via CheapLLM

Access 3 Moonshot AI models (Kimi K3.1 Pro, Kimi K3, Kimi K2.7 Code) behind one unified API endpoint with transparent per-million-token pricing, full context windows, and instant OpenAI/Anthropic SDK compatibility.

Get API key

All Moonshot AI models & pricing comparison

Prices verified 2026-11-28
ModelContextOfficial (in / out)CheapLLM (in / out)Savings
Kimi K3.1 Pro1.05M$0.24 / $8.40$0.17 / $5.88−30%
Kimi K31.05M$0.19 / $16.00$0.13 / $11.20−30%
Kimi K2.7 Code262.14K$0.60 / $3.50$0.42 / $2.45−30%

Quickstart with Moonshot AI

Python (OpenAI SDK)
from openai import OpenAI
import os

client = OpenAI(
    base_url="https://api.cheapllm.app/v1",
    api_key=os.environ["CHEAPLLM_API_KEY"],
)

response = client.chat.completions.create(
    model="moonshotai/kimi-k3.1-pro",
    messages=[{"role": "user", "content": "Hello!"}],
)