← Models / Moonshot AI

Kimi K2

1T MoE (32B active)

Previous generation Kimi model. Multiple variants available: kimi-k2-0905-preview, kimi-k2-0711-preview.

Data updated 2026-03-30
chat OpenAI-compatible Function calling 256K context Released 2025-07

Pricing

Type USD / 1M tokens
Input $0.6
Output $2.5
Cached Input $0.15

vs Western Models

Kimi K2 vs GPT-5.2 ($1.75/$14)
66% cheaper input 82% cheaper output
Kimi K2 vs Claude Sonnet 4.6 ($3/$15)
80% cheaper input 83% cheaper output
Kimi K2 vs Gemini 2.5 Pro ($1.25/$10)
52% cheaper input 75% cheaper output

IDE Setup

Cursor

base_url: https://api.moonshot.ai/v1
model: kimi-k2-0905-preview

Cline

base_url: https://api.moonshot.ai/v1
model: kimi-k2-0905-preview

Strengths

  • + coding
  • + agent tasks

Watch Out For

  • ! content censorship
  • ! superseded by K2.5

International Access

Direct access: Yes
Latency from US: 200-400ms
Registration: email or phone
Payment: credit card

Frequently Asked Questions

How much does Kimi K2 cost?

Kimi K2 costs $0.6 per million input tokens and $2.5 per million output tokens (USD). Cached input is $0.15/M.

Can I use Kimi K2 from outside China?

Yes. Kimi K2 is directly accessible internationally. Registration requires email or phone. Payment via credit card.

Is Kimi K2 compatible with the OpenAI API?

Yes. Kimi K2 uses an OpenAI-compatible API. You can use any OpenAI SDK by changing the base URL to api.moonshot.ai.

What is the context window of Kimi K2?

Kimi K2 supports a 256K token context window (256,000 tokens).

How do I use Kimi K2 in Cursor or Cline?

Set the base URL to https://api.moonshot.ai/v1 and the model name to kimi-k2-0905-preview. Both Cursor and Cline support OpenAI-compatible providers.

Related Articles & Guides

More from Moonshot AI

Ready to try Kimi K2?

Get your API key from the official platform.

Go to Moonshot AI →