Skip to content
FluxCDNFluxCDN
esc

MoonshotAI: Kimi K2 0711

Kimi K2 Instruct is a large-scale Mixture-of-Experts (MoE) language model developed by Moonshot AI, featuring 1 trillion total parameters with 32 billion active per forward pass.

Input
208,376 Toman/M tokens
Output
830,088 Toman/M tokens
Context
131K
Max output
98K
Published
Jul 11, 2025
Maker
MoonshotAI

Free plan prices, in Toman at today's rate. Plans and prices

Price by plan

Toman per million tokens at today's rate. A plan lowers the price of your usage up to a limit each period.

PlanInputOutput
Free208,376830,088
Pro199,836796,068
Max191,296762,048

Capabilities

  • Text
  • Tools

What it takes and gives

Accepts
  • Text
Creates
  • Text

Call it

Pass moonshotai/kimi-k2 as the model name, or let router/auto choose for you.

import os

from openai import OpenAI

client = OpenAI(
    base_url="https://ai.fluxcdn.cloud/api/v1",
    api_key=os.environ["FLUXCDN_API_KEY"],
)

resp = client.chat.completions.create(
    model="router/auto",
    messages=[{"role": "user", "content": "Hello"}],
)

print(resp.choices[0].message.content)