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?'})What To Consider When Choosing a Provider
Zero Data Retention
AI Gateway does not currently support Zero Data Retention for this model. See the documentation for models that support ZDR.Authentication
AI Gateway authenticates requests using an API key or OIDC token. You do not need to manage provider credentials directly.
Check streamlake for current provider availability. Routing through multiple providers on AI Gateway enables automatic failover. Technical details sit at https://www.streamlake.ai/.
When to Use Kat Coder Pro V2
Best For
Large codebase tasks:
Software engineering work that benefits from a context of 256K tokens
Long-form code generation:
Outputs need 256K tokens of capacity per response
Multi-file editing:
Refactoring workflows span several files at once
Multi-provider resilience:
Production agent pipelines benefit from routing on AI Gateway
Consider Alternatives When
V1 covers your needs:
KAT-Coder Pro V1 meets context and output requirements at a lower cost
Multimodal input required:
You need image or document input alongside code
Simple completion model:
A lighter, non-agentic completion model suffices for your use case
Conclusion
Kat Coder Pro V2 extends the KAT-Coder series with expanded context and output capacity. For teams that need more headroom than V1 for large codebases or long outputs, it adds that capacity with multi-provider resilience on AI Gateway.
FAQ
Kat Coder Pro V2 has a context window of 256K tokens, supporting large codebases and multi-file tasks in a single context.
Up to 256K tokens per request.
March 27, 2026.
V2 has a context window of 256K tokens and max output of 256K tokens. Both models share the same core capabilities: parallel tool calling, multi-turn interaction, and coverage of eight software engineering task types.
Check the pricing panel on this page for today's numbers. AI Gateway tracks rates across every provider that serves Kat Coder Pro V2.
The model is available from streamlake through AI Gateway.