Moonshot AI

Kimi K2 Thinking

moonshotai/kimi-k2-thinking

Kimi K2 Thinking is Moonshot AI’s most advanced open reasoning model to date, extending the K2 series into agentic, long-horizon reasoning. Built on the trillion-parameter Mixture-of-Experts (MoE) architecture introduced in...

Context
262K tokens
Input, 1M tokens
$0.69
Output, 1M tokens
$2.88
Benchmark
—

Uptime and speed

Loading…

Pricing

Charged from your prepaid balance for the tokens actually used.

Input tokens$0.69 per 1M tokens
Output tokens$2.88 per 1M tokens
Cache read$0.17 per 1M tokens

Apps and activity

Loading…

Technical details

Model IDmoonshotai/kimi-k2-thinking
Context window262K tokens
AcceptsText
ProducesText
TokenizerOther
Max output tokens98,304

How to connect

The API is OpenAI-compatible: the official SDKs, LangChain and any client with a "base URL" field work.

import OpenAI from 'openai'

const client = new OpenAI({
  baseURL: 'https://getmegabrain.com/api/gateway/v1',
  apiKey: process.env.MEGABRAIN_API_KEY,
})

const response = await client.chat.completions.create({
  model: 'moonshotai/kimi-k2-thinking',
  messages: [{ role: 'user', content: 'Hello!' }],
})

Start using Kimi K2 Thinking

Create a free account, get a key in your dashboard and send your first request. Top up your balance when you need it.