Model reference · open weights

KAT-Coder-Dev

LLMs Kwaipilot Text gen 1 build Open weights 48k dl/mo

KAT-Coder-Dev is an open-weight language model from Kwaipilot. KAT-Coder-V2.5-Dev (BF16) weighs 69.3 GB; the smallest configuration that runs it is A100 80 GB.

  • KAT-Coder-Dev is a 34.7B parameter text-generation model developed by Kwaipilot for agentic coding tasks.
  • It supports English and Chinese, has a native context length of 262,144 tokens, and is released under the Apache-2.0 license.
  • The model is built on the Qwen3.6-35B-A3B base and features 3B activated parameters.

Summary of the Kwaipilot/KAT-Coder-V2.5-Dev model card, 2026-10-01

What it is

Released byKwaipilot
Released2026-07-23
Parameters34.7B
VRAM69.3 GB for the weights

What it runs on

Memory and cards for KAT-Coder-V2.5-Dev (BF16)

69.3 GBweights, file size
20 MBcache per 1K tokens
129 MBfixed state per request
2.5 GBruntime overhead, at least
262,144 tokenscontext max
CardRequests at onceContext maxMemory
8K each32K each
RTX 3060 12 GB … L40S 48 GB
6 smaller cards
———
A100 80 GB217all 256K78.2 GB
H100 80 GB———78.1 GB
RTX PRO 6000 Blackwell 96 GB5219all 256K93.8 GB
DGX Spark (GB10) 128 GB unified9836all 256K107 GB
H200 141 GB20174all 256K138 GB
B200 180 GB323119all 256K176 GB
2× L40S 48 GB
tensor parallel
4517all 256K44.0 GB a card
4× RTX 4090 24 GB
tensor parallel
309all 256K23.4 GB a card
4× RTX 3090 24 GB
tensor parallel
309all 256K23.4 GB a card
4× RTX 5090 32 GB
tensor parallel
9630all 256K31.0 GB a card
2× H100 80 GB
tensor parallel
23286all 256K78.1 GB a card
2× A100 80 GB
tensor parallel
276102all 256K78.2 GB a card
Memory needed at each load
Requests at once8K tokens each32K tokens each
172.1 GB72.6 GB
573.3 GB75.8 GB
874.2 GB78.2 GB
1676.5 GB84.6 GB
3281.3 GB97.4 GB
6490.8 GB123 GB

One card, with vLLM's small-card settings.

From the model card

What Kwaipilot says about KAT-Coder-Dev

Read the model card

Following the release of KAT-Coder-V2.5 in July, we are pleased to release the open-weight version KAT-Coder-V2.5-Dev, an MOE model with a total parameter count of 35B and 3B activated parameters, to strengthen communication with the community and showcase our research achievements.

KAT-Coder-V2.5-Dev Highlights

  • Performance improvement. Through SFT/RL training, KAT-Coder-V2.5-Dev achieves SOTA results in the field of Agentic Coding among models with similar parameter scales.
  • Optimization of abnormal behaviors. Through RL training, certain abnormal behaviors have been significantly optimized, such as: abnormal tool labels -9pp (9.34% -> 0.28%), single-turn continuous repetition -0.34pp (0.34% -> 0%).

Benchmark performance

Post-training

To provide a systematic overview of our team's work on data and algorithms, we adopt the widely recognized Qwen3.6-35B-A3B as the base model for post-training and build KAT-Coder-V2.5-Dev on top of it. Overall, KAT-Coder-V2.5-Dev largely follows the post-training recipe of KAT-V2.5, with most settings—including data construction, training pipeline, and optimization strategy—remaining unchanged. The full pipeline consists of two stages: supervised fine-tuning (SFT) and reinforcement learning (RL). We first fine-tune Qwen3.6-35B-A3B on a dataset of 127K examples and then perform RL training on the resulting SFT model.

During the RL stage, we retain the training infrastructure and key technical designs validated in KAT-V2.5, including the following four components:

  1. Token-in-Token-out (TITO) consistency. We use TITO to ensure that the token sequences in the rollout and training stages are strictly identical, preventing training discrepancies caused by differences in chat templates, serialization, or tokenizer behavior.
  2. Truncated Importance Sampling (TIS). To mitigate policy staleness and off-policy issues introduced by asynchronous rollouts, we apply TIS to truncate importance-sampling weights, reducing the variance and instability caused by excessively large weights.
  3. Reliable sandboxes and verifiers. We systematically inspect and validate the stability and correctness of the sandboxes and verifiers. This helps prevent infrastructure failures—such as execution timeouts, environment errors, or verifier misjudgments—from being incorrectly treated as model failures and contaminating the reward signal.
  4. Hierarchical rewards based on harness execution feedback. We construct hierarchical rewards from fine-grained execution feedback provided by the harness. This allows the model to optimize toward the final task objective while also receiving credit for meaningful progress in unsuccessful trajectories, thereby increasing the training value of failed attempts and providing denser reward signals.

However, Qwen3.6 exhibits trajectory patterns that differ from those observed in KAT-V2.5, requiring additional reward adaptations tailored to its behavior. In our initial experiments, a simple binary 0–1 reward caused model collapse as early as the second epoch. An analysis of the training trajectories revealed that, as training progressed, the model increasingly tended to issue a large number of parallel tool calls within a single turn—occasionally exceeding 70 calls. This behavior caused the context length to grow rapidly, generated a substantial number of invalid trajectories and execution errors, and ultimately destabilized RL training.

To address this issue, we augmented the original hierarchical reward with several Qwen3.6-specific penalties targeting (including but not limited to the following):

  • Excessive parallel tool calls within a single turn;
  • Failed tool calls;
  • Empty tool-call blocks; and
  • Large amounts of repeated content.

These targeted reward adjustments effectively suppressed pathological tool-use and repetitive-generation behaviors, enabling stable RL training for 10 epochs. Our experiments validate the effectiveness and feasibility of both the overall training pipeline and the Qwen3.6-specific reward design.

Quickstart

For streamlined integration, we recommend using KAT-Coder-V2.5-Dev via APIs. Below is a guide to use KAT-Coder-V2.5-Dev via OpenAI-compatible API.

Serving KAT-Coder-V2.5-Dev

KAT-Coder-V2.5-Dev can be served via APIs with popular inference frameworks. In the following, we show example commands to launch OpenAI-Compatible API servers for KAT-Coder-V2.5-Dev model.

SGLang

SGLang is a fast serving framework for large language models and vision language models. sglang>=0.5.10 is recommended for KAT-Coder-V2.5-Dev, which can be installed using the following command in a fresh environment:

uv pip install sglang[all]

The following will create API endpoints at http://localhost:8000/v1:

Note: This open-weight release ships only the language-model weights (no vision tower). If your SGLang version attempts to build the multimodal/vision components at load time, startup may fail on missing vision weights; in that case, run with the version's text/language-model-only option (see python -m sglang.launch_server --help).

  • Standard Version: The following command can be used to create an API endpoint with maximum context length 262,144 tokens using tensor parallel on 8 GPUs.
    python -m sglang.launch_server \
        --model-path Kwaipilot/KAT-Coder-V2.5-Dev \
        --port 8000 \
        --tp-size 8 \
        --mem-fraction-static 0.8 \
        --context-length 262144 \
        --reasoning-parser qwen3
    
  • Tool Use: To support tool use, you can use the following command.
    python -m sglang.launch_server \
        --model-path Kwaipilot/KAT-Coder-V2.5-Dev \
        --port 8000 \
        --tp-size 8 \
        --mem-fraction-static 0.8 \
        --context-length 262144 \
        --reasoning-parser qwen3 \
        --tool-call-parser qwen3_coder
    
vLLM

vLLM is a high-throughput and memory-efficient inference and serving engi

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms