API · Models
Text

Kimi K2 Thinking

Kimi K2 Thinking is an advanced open-source thinking model by Moonshot AI. It can execute up to 200 – 300 sequential tool calls without human interference, reasoning coherently across hundreds of steps to solve complex problems. Built as a thinking agent, it reasons step by step while using tools, achieving state-of-the-art performance on Humanity's Last Exam (HLE), BrowseComp, and other benchmarks, with major gains in reasoning, agentic search, coding, writing, and general capabilities.

ReasoningToolsCache
Context 216.1K·Max out 216.1K

Quickstart

import { streamText } from 'ai';
import { createOpenAICompatible } from '@ai-sdk/openai-compatible';

const blackbox = createOpenAICompatible({
  name: 'blackbox',
  apiKey: process.env.BLACKBOX_API_KEY!,
  baseURL: 'https://api.blackbox.ai/v1',
});

const result = streamText({
  model: blackbox('blackboxai/moonshotai/kimi-k2-thinking'),
  prompt: 'Why is the sky blue?',
});

for await (const chunk of result.textStream) {
  process.stdout.write(chunk);
}

Specs & pricing

Input $/M
0.47
Output $/M
2
Context window
216.1K
Max output
216.1K
Supported parameters

Related models

ModelTypeContextInput $/M
Kimi K2.7 CodeText262.1K0.95
Kimi K2 InstructText131.1K0.57
Kimi K2.5Text262.1K0.6
Kimi K2.6Text262K0.95
Kimi K2.7 Code High SpeedText262.1K1.90