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?'
})

Frequently Asked Questions

  • What makes Kimi K2.6 different from Kimi K2.5?

    Long-horizon execution and design output. Moonshot AI documents sustained tool-use chains across thousands of calls and frontend generation with structured layouts, hero sections, and animations. Vision input is native, so screenshots and mockups feed directly into the model without a separate vision step.

  • How long can Kimi K2.6 sustain a single agentic session?

    Moonshot AI reports workloads spanning many hours of continuous execution with thousands of tool calls in a single session. Plan your agent harness around extended runs and budget tokens for the accumulated history.

  • Does Kimi K2.6 accept image inputs directly?

    Yes. Kimi K2.6 is natively multimodal, so screenshots, mockups, and design references go in alongside text prompts. Confirm modality limits on https://platform.kimi.ai/docs/pricing/chat before you build a vision-heavy pipeline.

  • What kind of frontend code does Kimi K2.6 produce?

    Moonshot AI documents output with structured layouts, hero sections, interactive elements, and animations, plus full-stack scaffolding that spans authentication, user interaction, and database operations.

  • How do I switch from an earlier Kimi K2 variant to kimi-k2.6?

    Update the model string in your API call to moonshotai/kimi-k2.6. Authentication, tool-calling format, and the rest of the integration stay the same.

  • How do I use Kimi K2.6 on AI Gateway?

    Use the identifier moonshotai/kimi-k2.6 with the AI SDK or any supported interface like Chat Completions, Responses, or Messages. AI Gateway routes across moonshotai, fireworks, novita and handles failover automatically.

  • Does Kimi K2.6 support zero data retention?

    Yes, Zero Data Retention is available for this model. Zero Data Retention is offered on a per-provider basis. See https://vercel.com/docs/ai-gateway/capabilities/zdr for details.