[KwaiPilot](/ai-gateway/models/labs/kwaipilot)

# 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. Your use is subject to KwaiPilot's [Terms](https://kwaipilot.ai/policies/terms-of-use) & [Privacy](https://kwaipilot.ai/policies/privacy-policy) Policies.

Tool UseReasoningImplicit Caching

[Use with AI Gateway](https://vercel.com/d?to=%2F%5Bteam%5D%2F%7E%2Fai%3Futm_source%3Dgateway-model-page%26utm_campaign%3Dai-gateway-models&title=Get+Started+with+Vercel+AI+Gateway) [View docs](https://vercel.com/docs/ai-gateway)

AI SDKChat CompletionsMessagesResponses

```
1import { streamText } from 'ai'
2

3const result = streamText({
4  model: 'kwaipilot/kat-coder-pro-v2',
5  prompt: 'Why is the sky blue?'
6})
```

[Read docs](https://vercel.com/docs/ai-gateway/sdks-and-apis/ai-sdk)

[Overview](/ai-gateway/models/kat-coder-pro-v2) [API](/ai-gateway/models/kat-coder-pro-v2/api) [About](/ai-gateway/models/kat-coder-pro-v2/about) [Providers](/ai-gateway/models/kat-coder-pro-v2/providers) [Throughput](/ai-gateway/models/kat-coder-pro-v2/throughput) [Latency](/ai-gateway/models/kat-coder-pro-v2/latency) [Uptime](/ai-gateway/models/kat-coder-pro-v2/uptime) [Status](/ai-gateway/models/kat-coder-pro-v2/status) [Similar](/ai-gateway/models/kat-coder-pro-v2/similar) [FAQ](/ai-gateway/models/kat-coder-pro-v2/faq)

## [Copy link to heading](#playground)Playground

Try out Kat Coder Pro V2 by KwaiPilot. Usage is billed to your team at API rates. Free users (those who haven't made a payment) get $5 of credits every 30 days.

![kwaipilot logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fkwaipilot.png&w=48&q=75)Kat Coder Pro V2

![kwaipilot logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fkwaipilot.png&w=96&q=75)

Kat Coder Pro V2

## [Copy link to heading](#providers)Providers

Route requests across multiple providers. Copy a provider slug to set your preference. Visit the [docs](/docs/ai-gateway/provider-options) for more info. Using a provider means you agree to their terms, listed under Legal.

| Provider |
| --- |

| Context | Max Output | Latency | Throughput | Input | Output | Cache | Web Search | Capabilities | ZDR | No Training | Release Date |  |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |

| ![streamlake logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fstreamlake.png&w=48&q=75) [StreamLake](/ai-gateway/models/providers/streamlake) Legal:[Terms](https://www.streamlake.ai/document/DOC/mgkchnd89grpt1961fw)•[Privacy](https://www.streamlake.ai/document/DOC/mgkci47q13qr66h9i54) | 256K | 256K | 1.2s | 118tps | $0.30/M | $1.20/M | Read:$0.06/M Write:— | — |  |  |  | 03/27/2026 |  |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |

## [Copy link to heading](#throughput)Throughput24 hours

1W

1D

P50 throughput on live AI Gateway traffic, in tokens per second (TPS). Visit the [docs](https://vercel.com/docs/ai-gateway/models-and-providers/metrics) for more info.

## [Copy link to heading](#latency)Latency24 hours

1W

1D

P50 time to first token (TTFT) on live AI Gateway traffic, in milliseconds. View the [docs](https://vercel.com/docs/ai-gateway/models-and-providers/metrics) for more info.

## [Copy link to heading](#uptime)Uptime24 hours

1W

1D

1H

Direct request success rate on AI Gateway and per-provider. Visit the [docs](https://vercel.com/docs/ai-gateway/models-and-providers/uptime) for more info.

1W

1D

1H

## [Copy link to heading](#more-models-by-kwaipilot)More models by KwaiPilot

All

Text

Code

| Model |
| --- |

| Context | Latency | Throughput | Input | Output | Cache | Web Search | Capabilities | Providers | ZDR | No Training | Release Date |  |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |

| ![kwaipilot logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fkwaipilot.png&w=48&q=75) [kwaipilot/kat-coder-pro-v2.5](/ai-gateway/models/kat-coder-pro-v2.5) | 256K | 1.2s | 168tps | $0.74/M | $2.96/M | Read:$0.15/M Write:— | — | +1 | ![streamlake logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fstreamlake.png&w=48&q=75) |  |  | 07/10/2026 |  |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| ![kwaipilot logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fkwaipilot.png&w=48&q=75) [kwaipilot/kat-coder-air-v2.5](/ai-gateway/models/kat-coder-air-v2.5) | 256K | 1.0s | 349tps | $0.15/M | $0.60/M | Read:$0.03/M Write:— | — | +1 | ![streamlake logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fstreamlake.png&w=48&q=75) |  |  | 07/10/2026 |  |
| ![kwaipilot logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fkwaipilot.png&w=48&q=75) [kwaipilot/kat-coder-pro-v1](/ai-gateway/models/kat-coder-pro-v1) | 256K | 1.9s | 109tps | $0.30/M | $1.20/M | Read:$0.06/M Write:— | — |  | ![novita logo](/vc-ap-vercel-marketing/_next/image?url=https%3A%2F%2F7nyt0uhk7sse4zvn.public.blob.vercel-storage.com%2Fdocs-assets%2Fstatic%2Fdocs%2Fai-gateway%2Flogos%2Fnovita.png&w=48&q=75) |  |  | 11/09/2025 |  |

## [Copy link to heading](#about-kat-coder-pro-v2)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.

## [Copy link to heading](#what-to-consider-when-choosing-a-provider)What To Consider When Choosing a Provider

- Configuration: Check StreamLake for current provider availability. Routing through multiple providers on AI Gateway enables automatic failover. Technical details sit at https://www.streamlake.ai/.
- Zero Data Retention: Zero Data Retention is offered on a per-provider and model basis. See the [documentation](https://vercel.com/docs/ai-gateway/security-and-compliance/zdr) for details.
- Authentication: AI Gateway authenticates requests using an [API key](https://vercel.com/docs/ai-gateway/authentication-and-byok#api-key-authentication) or [OIDC token](https://vercel.com/docs/ai-gateway/authentication-and-byok#oidc-token-authentication). You do not need to manage provider credentials directly.

## [Copy link to heading](#when-to-use-kat-coder-pro-v2)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

## [Copy link to heading](#conclusion)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.