API · Models
TextFeatured
Kimi K2.6
Kimi K2.6 is Moonshot AI's advanced language model with a 262K context window, optimized for coding, tool use, and agentic tasks.
Context 262.1K·Max out 8.2K
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.6'),
prompt: 'Why is the sky blue?',
});
for await (const chunk of result.textStream) {
process.stdout.write(chunk);
}Specs & pricing
- Input $/M
- $0.95
- Output $/M
- $4
- Context window
- 262.1K
- Max output
- 8.2K
- Supported parameters
- tool-usereasoning
Related models
| Model | Type | Context | Input $/M |
|---|---|---|---|
| Blackbox Pro | Text | 400K | $1.75 |
| GPT-5.3 Codex | Text | 400K | $1.75 |
| MiniMax M2.5 | Text | 128K | $0.30 |
| Claude Opus 4.6 | Text | 1M | $5 |
| Gemini 3.1 Pro | Text | 1.0M | $2 |