Kat Coder Pro V2
Kat Coder Pro V2 is KwaiPilot's second-generation agentic coding model with a context window of 256K tokens and max output of 256K tokens, building on the KAT-Coder series for software engineering tasks.
import { streamText } from 'ai'
const result = streamText({ model: 'kwaipilot/kat-coder-pro-v2', prompt: 'Why is the sky blue?'})About Kat Coder Pro V2
Kat Coder Pro V2 builds on KAT-Coder Pro V1 in the KAT-Coder series. The context window of 256K tokens and maximum output of 256K tokens support tasks involving large codebases or long-form code generation.
Like V1, the model targets agentic software engineering workflows: multi-file editing, issue resolution, and test case generation. It supports parallel tool calling and multi-turn interaction, the same core capabilities that define the KAT-Coder series.
You can route requests through AI Gateway to access Kat Coder Pro V2 via streamlake. Multi-provider support adds resilience for production deployments. See https://www.streamlake.ai/ for documentation from KwaiPilot.