2026-11-26 15:48 UTC

vLLM reports up to 1.9× Kimi K3 decode gains on GB300

state: significantheat: mediumuncertainty: mediumrelevance: highvllm-optimization kimi-k3 megakernel moe-serving agent-assisted-optimizationvLLM TeamBenjamin Chislett (NVIDIA)

What is this?

On October 16, 2026, NVIDIA engineer Benjamin Chislett published a vLLM engineering post describing an agent-assisted, model-specific decode path for Moonshot AI’s Kimi K3 on NVIDIA GB300 GPUs. It uses customized CuTe DSL kernels to fuse and coordinate attention, mixture-of-experts work, and inter-GPU communication across 8- or 16-GPU setups. The post reports 842 decode tokens/s at batch 1 on 16 GB300s with DSpark speculative decoding, versus 488 for stock vLLM in the same stated setup (1.73×); without speculation, it reports 1.31–1.92× gains across tested batches and configurations. These are vLLM’s own benchmark results, not independent verification. The post also describes an opt-in, bounded-scope approach to agent-assisted optimization with correctness and performance validation; the sources do not establish the feature’s adoption or broad production impact.

Why it matters

This is notable both as a serving optimization and as a proposed workflow for AI-assisted systems engineering: agents help produce specialized GPU kernels, while scoped changes and systematic tests aim to keep them maintainable and reliable. If the approach generalizes, it could improve latency or throughput for particular model-and-hardware combinations and make more performance work feasible. The reported gains are substantial but apply to specified GB300 tests; the 842 tokens/s figure is decode-only, uses synthetic speculative-decoding acceptance, and excludes prefill. AgentX’s 1.8× P90 interactivity comparison also changes from 8 to 16 GPUs, so it is not a same-hardware comparison.

Current assessment

New first-party engineering report dated October 16, 2026: vLLM describes an agent-assisted specialized Kimi K3 decode implementation for NVIDIA GB300, using CuTe DSL kernels across attention, MoE, and communication. The implementation targets Blackwell systems with 8 or 16 GPUs, batches 1–64, and certain context-parallel configurations; the post says stock vLLM uses 23 kernels and 130 microseconds per layer versus 13 kernels and 69 microseconds for the specialized path. Reported decode-only results: with DSpark, batch 1/TP16 reaches 842 tokens/s against 488 stock (1.73×), with synthetic acceptance length 6, seven draft tokens, and prefill excluded. Without speculation, the table reports 1.58–1.88× at batch 1, 1.50–1.92× at batch 2, and gains of 1.31–1.71× at batches 16–64, depending on TP8/TP16. For AgentX, it reports 403.2 versus 223.7 tokens/s/user and up to 1.8× higher P90 interactivity at concurrency 1, but compares the optimized run on 16 GB300s with an earlier result on 8; treat that as a qualified workload result, not a controlled same-hardware comparison. These claims come from the vLLM post and linked benchmark description; supplied sources do not independently reproduce them or show adoption. The post emphasizes risks agents surfaced during development, including a synchronization-related compiler issue and numerical problems revealed by long-context/model evaluations, and proposes isolating model-specific changes, defining supported configurations, and validating correctness and performance. This suggests the engineering challenge is not only generating fast kernels but establishing reliable review and maintenance. A November 24 Hacker News item titled “A Megakernel per Model” is later evidence that the broader per-model megakernel idea remained in discussion, but its supplied record has no linked article or substantive text, so it does not confirm Kimi K3 adoption or new results.

Measured heat

now 0 pts/hpeak 6 pts/hcomments 0/hpeers p21momentum: steady2 platformsage 1010h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

10-15 13:00⭐ origin echo-reconstructedOriginal first-party vLLM engineering post announcing an NVIDIA-developed specialized decode path for Moonshot AI's Kimi K3 on GB300: "For K
Benjamin Chislett (NVIDIA), published on the official vLLM Project blog on blog (echo) · attributed from hn.story.50140784
—
10-18 13:08first on hacker news · published · +72.2hHyper Optimizing Kimi K3 in vLLM
torutofu
—
10-18 13:08amplified on hacker news 👑hn.story.50140784
torutofu
peak 31 · 0 comments · 97% of case engagement
11-24 01:20amplified on hacker newshn.story.50622205
matt_d
peak 1 · 0 comments · 3% of case engagement
10-18 13:20our radar first saw it · +72.3hdiscovery anchor: hn.story.50140784—
pace: p59 vs 879 stories at the 720h mark (now 1010h old) — ahead of bitnet-cpp-correctness (1.0x), behind enzyme-local-knowledge-base-for-agents (1.0x)

Evidence (3) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnHyper Optimizing Kimi K3 in vLLM
Retrieved article excerpt

Open article · Retrieved 2026-10-18T13:22:27.901271+00:00

# Hyper Optimizing Kimi K3 in vLLM: Moving Fast and Responsibly

October 16, 202612 min read

Benjamin Chislett (NVIDIA)

[#performance](https://vllm.ai/blog/tags/performance)[#hardware](https://vllm.ai/blog/tags/hardware)[#NVIDIA](https://vllm.ai/blog/tags/NVIDIA)

Table of Contents

Kimi K3 decode performance on NVIDIA GB300.

Kimi K3 decode performance on NVIDIA GB300.

Coding agents can now help with some of the hardest parts of model optimization: writing complex GPU kernels, performing cross-operator fusions, overlapping computation with communication, and tuning execution across different batch sizes and GPU configurations. For Kimi K3, we used agent-assisted development to build a unified CuTe DSL decode path on the NVIDIA GB300, covering attention, MoE, and communication across 8 or 16 GPUs. The optimizations deliver over **840 tokens/s** at batch 1 on 16 NVIDIA GB300 GPUs with DSpark (synthetic AL=6), **1.5–2×** higher decode throughput in several tested configurations, and up to **1.8×** higher P90 interactivity on the AgentX workload.

Agent-optimized inference code is outpacing our review and maintenance workflow. The manual review process of understanding every line of every kernel, mapping out potential issues, and testing every supported configuration, is very time-consuming work. On the other hand, if we omit this work then we risk shipping buggy software that could fail in production.

There is a clear line-of-sight on how to achieve both goals: we need to change how we organize performance work. Alongside agentic optimization, we need to design systems that allow automatic verification of reliability and performance, and we need to structure the software to enforce isolation and risk minimization by design.

The proposed [fast-track model optimization RFC](https://github.com/vllm-project/vllm/issues/59665) provides a foundation for this approach. Our guiding principle is to decrease review burden while managing *risk*. To accomplish this, we:

1. **Isolate changes.** Keep optimizations within the model’s code.
2. **Bound the scope, preserve the core features.** Define the supported hardware and workloads but preserve must-have features for production LLM use.
3. **Validate correctness systematically.** Run an established suite of performance and correctness benchmarks to ensure integrity and reliability, and strictly better performance on all supported configurations.
4. **Scale validation.** Let contributors run standard evaluations on their own GPUs and share reproducible results before requesting maintainer attention.

Kimi K3 is our first contribution following this approach. This post covers how we optimized Kimi K3, how we build the confidence needed to ship and maintain those optimizations, and the performance results.

## Table of Contents

- [Part 1: Optimizing Kimi K3](https://vllm.ai/blog/2026-10-16-kimi-k3-megakernel#part-1-optimizing-kimi-k3)
- [Part 2: Moving Fast and Responsibly](https://vllm.ai/blog/2026-10-16-kimi-k3-megakernel#part-2-moving-fast-and-responsibly)
- [Part 3: Performance Deep Dive](https://vllm.ai/blog/2026-10-16-kimi-k3-megakernel#part-3-performance-deep-dive)
- [What's Next](https://vllm.ai/blog/2026-10-16-kimi-k3-megakernel#whats-next)
- [Acknowledgements](https://vllm.ai/blog/2026-10-16-kimi-k3-megakernel#acknowledgements)

## Part 1: Optimizing Kimi K3

This contribution introduces a new decode path for Kimi K3 which fuses and replaces almost all operations with customized CuTe DSL kernels, tuned for certain subproblems. It targets NVIDIA Blackwell GPUs with 8 or 16 GPUs, decode batches from 1 to 64, and optional decode context parallelism for long contexts. The GPUs share one NVLink domain with multicast support. [For more details, please refer to the PR](https://github.com/vllm-project/vllm/pull/61867#issue-5869895165).

Kimi K3 kernel timeline: stock vLLM uses 130 microseconds and 23 kernels per layer; specialized decode uses 69 microseconds and 13 kernels.

Kimi K3 kernel timeline: stock vLLM uses 130 microseconds and 23 kernels per layer; specialized decode uses 69 microseconds and 13 kernels.

### 1. Tune shapes for the workload

Different batch sizes need different kernel choices. For attention input projections, we use specialized small-matrix kernels at batch sizes 1–2 and split-K kernels at larger batches, which divide the matrix multiplication across more GPU workers. All such projections have been finely tuned to launch well-sized kernels that fully utilize GPU resources and overlap memory reads / communication and compute work as much as possible.

[KDA](https://github.com/benchislett/vllm/blob/620c50482d15d092ad6086c106ce42916efc39cc/vllm/models/kimi_k3/nvidia/specialized_decode/cutedsl/kda/prepared.py) also uses an optimized CuTe DSL decode kernel, with scheduling tuned for the batch size and number of attention heads on each GPU.

For long contexts, decode context parallelism (DCP) splits the KV cache across GPUs. Each GPU computes attention over its local portion, and a tuned fused kernel combines the partial results with v-proj and gating.

### 2. Overlap computation and communication

We fuse attention output projection directly to its all-reduce and the following attention-residual computation. GPU kernels publish partial results into NVLink-accessible buffers, and receiving kernels combine them and continue the computation. Some small-batch configurations fuse the producer and consumer into one kernel. Data exchange is done with a fence-less approach with minimal overhead.

At larger batches, the implementation switches to a [two-stage reduction](https://github.com/benchislett/vllm/blob/620c50482d15d092ad6086c106ce42916efc39cc/vllm/models/kimi_k3/nvidia/specialized_decode/cutedsl/oproj/prepared.py): GPUs first combine assigned portions of the output, then distribute the results. This reduces the data movement between GPUs.

### 3. Improve MoE scheduling and overlap

Although the experts already use tensor parallelism, the baseline computes the full router scores and latent input projection on every GPU. We split these calculations across the TP ranks and combine each rank’s share into one matrix multiplication. The GPUs exchange the results over NVLink. This reduces repeated computation, weight reads, and kernel launches before expert execution begins.

The shared expert runs on a separate stream. Its work overlaps with routing or routed-expert computation, depending on the configuration. The schedule controls how many GPU resources each operation uses, and is carefully tuned to ensure well-balanced parallelism without contention. Details are in [experts\_runtime](https://github.com/benchislett/vllm/blob/620c50482d15d092ad6086c106ce42916efc39cc/vllm/models/kimi_k3/nvidia/specialized_decode/cutedsl/moe/experts_runtime.py).

### 4. Prefetching upcoming weights into cache

In small-batch inference, we are often memory-bound: limited by the speed with which we can load the weights from memory. Some phases cannot fully utilize the available memory bandwidth, such as communication: while this work happens we can run a dedicated kernel on a side stream to ensure that once the communication completes, the weights for the next operation will have a much higher cache hit rate.

## Part 2: Moving Fast and Responsibly

Kimi K3 is just one of the first examples. We believe the community can build this together, to bring more models, GPUs, and workloads towards the speed of light.

Different contributors/agents will find different opportunities: a better communication schedule, or a fusion that helps a particular deployment. But if every contribution arrives with different assumptions, incomplete tests, and a benchmark that is hard to reproduce, the validation and maintenance work quickly becomes the bottleneck, or we risk shipping broken code. We need a common way to turn those ideas into improvements that users can rely on for their long-term production use-cases.

This changes what we ask agents to deliver. We should set clear expectations on testing, validations, and requirements for the code agents produce. Agents will construct tests, run comprehensive evaluations and benchmarks, investigate failures, and document the conditions under which the optimization works. Human reviewers still judge the design and the evidence, but they can start from a high-level abstraction, instead of a line-by-line code review.

Building on the proposed [fast-track RFC](https://github.com/vllm-project/vllm/issues/59665), we organize this work around four principles.

### 1. Isolate changes

Keep model-specific optimizations within the model’s code. This makes the affected paths easier to identify and reduces the blast-radius a reviewer needs to consider.

Isolation also needs to hold at runtime. Reviewers should be able to trace when the optimized path is selected, what state it changes, and how execution returns to the standard path.

This constraint *does* exclude some optimizations: input preparation, sampling, and KV cache management can cause overhead that isolation excludes. This is a consequence of the design and is largely intentional: these components are all shared among most vLLM deployments, and changing them to optimize for a specific workload risks breaking dozens of other stable vLLM configurations. Work on these components is important, and should involve core maintainers much more closely than the fast-track would permit.

### 2. Bound the scope, but preserve the user’s features

An optimization does not need to improve every deployment to be useful. It can target a particular GPU, parallelism setting, or range of batch sizes. Clear boundaries make the work easier to tune and give us a defined set of configurations to validate.

For K3, the initial hardware validation covers GB300 with TP8 and TP16, decode batches up to 64, speculative decoding with various draft lengths, and decode context-parallel configurations within one NVLink domain.

These boundaries describe where the optimization applies, but not cutting ‘feature coverage’. Production deployment needs fundamental features that make the endpoint useful. Features like full-context serving, temperature sampling, and structured output cannot be “optimized away” or “opt-out”, they are first-class serving features and belong to the validation plan alongside kernel shapes and numerical checks.

### 3. Validate correctness

Kernel tests and model evaluations answer different questions. Kernel tests check numerical results across shapes and input values. Model evaluations check whether the complete execution path preserves the model’s answers. We need both.

The tests must actually exercise the changed code. A small-batch optimization needs evaluation at small batches. An attention kernel change needs long-context coverage. Tests that silently use the standard path provide little evidence about the optimization and are a common trap.

K3 development shows why this matters. Our audit discovered that the compiler moved activation reads ahead of a synchronization wait. The fix restricted that load type to static weights. Such errors can survive simple functional checks and require targeted investigation.

Additionally, long-context and long-generation evaluations such as MRCR and AIME25 surfaced sensitive numerical issues in attention and communication kernels that were not reproducible in standalone kernel tests using mock inputs and/or consistent launch timings.

### 4. Check performance broadly

A headline speedup is a starting point. We also need to know how the change behaves across the workloads it affects. That means sweeping batch sizes, context lengths, and supported parallelism configurations. MoE measurements should include real prompts because expert selection affects which weights are read and how much work can be reused. Pure decode results should also be distinguished from workloads that mix prefill and decode.

Reliable validation also takes G
torutofu310
🟧 echo.blog ⭐Original first-party vLLM engineering post announcing an NVIDIA-developed specialized decode path for Moonshot AI's Kimi K3 on GB300: "For KBenjamin Chislett (NVIDIA), published on the official vLLM Project blog——
🟧 hnA Megakernel per Modelmatt_d10

Interpretation history

Decision trace