AI Gateway

All Models/

Kimi K2 0905

Kimi K2 0905 by Moonshot AI

Kimi K2 0905 has shown strong performance on agentic tasks thanks to its tool calling, reasoning abilities, and long context handling. But as a large parameter model (1T parameters), it’s also resource-intensive. Running it in production requires a highly optimized inference stack to avoid excessive latency.

index.ts
import { streamText } from 'ai'
const result = streamText({
model: 'moonshotai/kimi-k2-0905',
prompt: 'Why is the sky blue?'
})