Skip to content

Kimi K2.6

Kimi K2.6 is Moonshot AI's natively multimodal flagship focused on long-horizon coding and design with code, with a context window of 262.1K tokens, available through AI Gateway via moonshotai, fireworks, novita.

ReasoningTool UseVision (Image)File InputImplicit Caching
index.ts
import { streamText } from 'ai'
const result = streamText({
model: 'moonshotai/kimi-k2.6',
prompt: 'Why is the sky blue?'
})

About Kimi K2.6

Kimi K2.6, released on April 20, 2026, is the natively multimodal successor in the Kimi line. Moonshot AI positions it around three capability areas: long-horizon execution, agentic coding, and design with code.

Long-horizon coding is the headline shift from earlier K2 variants. Kimi K2.6 sustains tool-use chains across thousands of calls in a single session, with reported workloads spanning many hours of continuous execution and iterative optimization across a codebase. The model maintains task state across these extended sessions rather than losing thread after a few dozen turns.

Native vision input changes how design tasks compose. Kimi K2.6 accepts images directly, so a screenshot or mockup can drive a frontend generation step without a separate vision model in the pipeline. Moonshot AI documents output that includes structured layouts, hero sections, interactive elements, and animations, rather than syntax-level scaffolding alone. Full-stack workflows that pair frontend output with authentication, user interaction, and database operations are part of the documented scope.

Access Kimi K2.6 through AI Gateway by setting the model string to moonshotai/kimi-k2.6. AI Gateway routes across moonshotai, fireworks, novita with automatic failover, and the observability layer tracks token usage and costs across the long sessions this model is built for.

Kimi K2.6 supports a context window of 262.1K tokens and completions up to 262.1K tokens per request. It's available through AI Gateway at $0.95 per million input tokens and $4 per million output tokens.