API · Models
Text
Kimi K2.6
Kimi K2.6 demonstrates particularly strong performance in long-horizon coding tasks and produces professional-grade design with code and vision.
CacheReasoningToolsVision
Context 262K·Max out 262K
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
- 262K
- Max output
- 262K
- Supported parameters
- —
Related models
| Model | Type | Context | Input $/M |
|---|---|---|---|
| Kimi K2.7 Code | Text | 262.1K | 0.95 |
| Kimi K2 Instruct | Text | 131.1K | 0.57 |
| Kimi K2 Thinking | Text | 216.1K | 0.47 |
| Kimi K2.5 | Text | 262.1K | 0.6 |
| Kimi K2.7 Code High Speed | Text | 262.1K | 1.90 |