Skip to content
OpenKey

KAT-Coder-Pro V2

KwaipilotReleased Mar 27, 2026

KAT-Coder-Pro V2 is the latest high-performance model in KwaiKAT’s KAT-Coder series, designed for complex enterprise-grade software engineering and SaaS integration. It builds on the agentic coding strengths of earlier versions,...

Try in playground
Context window
256K tokens
Max output
80K tokens
Input
text
Output
text
Tokenizer
Other
Released
Mar 27, 2026

Pricing

Per 1M tokens. The provider price and our flat 3% fee are separate columns — what you pay is their sum.

Per 1M tokensProvider+ 3% feeYou pay
Input$0.300$0.0090$0.309
Output$1.20$0.036$1.24
Cache read$0.060$0.0018$0.062

Supported parameters

  • frequency_penalty
  • logit_bias
  • logprobs
  • max_tokens
  • min_p
  • presence_penalty
  • repetition_penalty
  • response_format
  • seed
  • stop
  • structured_outputs
  • temperature
  • tool_choice
  • tools
  • top_k
  • top_logprobs
  • top_p

Call it

OpenAI-compatible: point your SDK at api.openkey.ai/v1 and use model kwaipilot/kat-coder-pro-v2.

Code sample language
curl https://api.openkey.ai/v1/chat/completions \
  -H "Authorization: Bearer $OPENKEY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "kwaipilot/kat-coder-pro-v2",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.openkey.ai/v1",
    api_key=os.environ["OPENKEY_API_KEY"],
)

completion = client.chat.completions.create(
    model="kwaipilot/kat-coder-pro-v2",
    messages=[{"role": "user", "content": "Hello"}],
)
print(completion.choices[0].message.content)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.openkey.ai/v1",
  apiKey: process.env.OPENKEY_API_KEY,
});

const completion = await client.chat.completions.create({
  model: "kwaipilot/kat-coder-pro-v2",
  messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);

Questions

How much does KAT-Coder-Pro V2 cost via API?
Through OpenKey, KAT-Coder-Pro V2 costs $0.309 per 1M input tokens and $1.24 per 1M output tokens. That is the provider price ($0.300 / $1.20) plus a flat 3% fee — nothing else.
What is KAT-Coder-Pro V2's context window?
KAT-Coder-Pro V2 accepts up to 256K tokens of context and returns up to 80K tokens per request.
Is KAT-Coder-Pro V2 OpenAI-compatible?
Yes. Send requests to OpenKey's /v1/chat/completions endpoint with model "kwaipilot/kat-coder-pro-v2" using any OpenAI SDK — only the base URL and API key change.
What inputs does KAT-Coder-Pro V2 support?
KAT-Coder-Pro V2 accepts text input and produces text output.