Skip to content
Vercel April 2026 security incident

Kimi K2.6 on AI Gateway

1 min read

Kimi K2.6 from Moonshot AI is now available on Vercel AI Gateway.

The model focuses on long-horizon coding tasks, with generalization across languages such as Rust, Go, and Python and across front-end, devops, and performance optimization work. K2.6 can turn simple prompts into complete front-end interfaces with structured layouts.

For autonomous, proactive agents that run continuously across multiple applications, K2.6 improves on API interpretation, long-running stability, and safety awareness during extended research tasks.

To use Kimi K2.6, set model to moonshotai/kimi-k2.6 in the AI SDK.

import { streamText } from 'ai';
const result = streamText({
model: 'moonshotai/kimi-k2.6',
prompt:
`Build a landing page for a developer tools product,
including a hero section with scroll-triggered
animations and generated imagery.`,
});

AI Gateway provides a unified API for calling models, tracking usage and cost, and configuring retries, failover, and performance optimizations for higher-than-provider uptime. It includes built-in custom reporting, observability, Bring Your Own Key support, and intelligent provider routing with automatic retries.

Learn more about AI Gateway, view the AI Gateway model leaderboard or try it in our model playground.