Kimi K3 is Moonshot AI's open model with 2.8 trillion parameters. On 19 October 2026, Baseten's model performance team walked through how it is built and how they serve it, on a whiteboard, for an hour. This guide turns that session into plain words and diagrams: the three problems a model this size has to solve, the family tree of attention that led to its design, and the memory math that decides how many people one machine can serve.
Most model launches are explained with benchmark charts. This one was explained with a memory budget. That is the more useful lens.
The session is How trillion-parameter AI models work and how to serve them (61 minutes). Philip Kiely, author of Inference Engineering, talks with Ali and Bryce from Baseten's model performance team. Ali covers the architecture and draws the history of attention on the whiteboard. Bryce covers serving: fitting the model on B300 GPUs, splitting it across chips, managing two kinds of memory, and the speed tricks on top.
The reason it matters beyond Kimi: the design choices in K3 are the ones every large model now faces. Use only a sliver of the model per word. Stop remembering every word in full. Then work out how many conversations fit in what is left of the chip's memory. If you understand this one model, you can read most model launches.
A piece of text, about three quarters of a word. Models read and write tokens.
One adjustable number inside the model. K3 has 2.8 trillion of them.
A group of parameters that only switches on for some tokens. The model picks a few experts per token.
How the model looks back at earlier tokens to decide the next one.
The notes a model keeps for every token it has read, so it doesn't redo work. It grows with the conversation.
A fixed-size running summary that some layers keep instead of a note per token. It doesn't grow.
| Part | Value | What it means |
|---|---|---|
| Size | 2.8T total · 104B active | Only about 4% of the parameters do work for any one token. |
| Experts | 896 · 16 per token | Each token is routed to 16 specialist groups out of 896. |
| Layers | 93 = 69 KDA + 24 MLA | Most layers keep a running summary (KDA). About one in four looks back at every token (MLA). |
| Context | 1,048,576 tokens | It can consider about a million tokens at once. |
| Precision | 4-bit weights · 8-bit activations | Shipped already compressed (MXFP4 and MXFP8 formats). |
| Vision | 401M encoder | A separate image reader (MoonViT-V2) feeds the language model. |
The idea. A mixture-of-experts model splits its parameters into groups and lets a router pick a few per token. More experts with fewer active per token means more total knowledge for the same work per token. K3 pushes this hard: 16 of 896 is under 2%.
Why it gets unstable. The video has a chapter on exactly this. The general problem in the field: when the router can pick from hundreds of experts, it tends to favour a few. Those get overloaded while others barely train, and the whole run can wobble. Labs fight this with balancing rules that push the router to spread tokens around. Moonshot calls its approach Stable LatentMoE and says it gives about 2.5 times the scaling efficiency of its previous model, K2. That figure is Moonshot's own.
What it costs at serving time. Less math per token, but the memory bill does not shrink, because every expert has to be loaded somewhere. This is why the rest of the session is about memory.
A standard look-back layer keeps a note for every token it has read. On Baseten's whiteboard, K3's look-back layers need 13.5 KiB per token in total. That sounds small until you multiply: a full million-token conversation needs about 13 GiB of notes, for one person.
The summary layers work differently. Each conversation gets one fixed-size state, 27.7 MiB across all of K3's summary layers, whether the conversation is ten tokens or a million. Moonshot says its two architectural changes, Kimi Delta Attention and Attention Residuals, improve how information flows across sequence length and model depth. Baseten's session pairs Attention Residuals with the million-token context.
The longest stretch of the video is Ali drawing how attention evolved. Each step fixed one problem and created the next. This is the shortest version I can give:
Why linear attention didn't win earlier. Two reasons come up in the field, and the video has chapters on both. A fixed-size summary can't hold everything, so exact recall suffers. And the update rule is sequential, which made it slow on GPUs built for big parallel matrix math. Newer methods rewrite the delta update into chunks that GPU tensor cores can run in parallel, and hybrids keep a few full look-back layers for exact recall. K3 does both.
The most useful drawing in the session is a single GPU's memory budget. It decides how many people the model can serve.
Two ways to run out of room. The notes budget holds about 2.3 million tokens in total, across everyone. The summary budget holds about 527 conversations at once, however short. A service can hit either wall first: many short chats fill the summary slots; a few very long ones fill the notes. Capacity planning, pricing and rate limits all need both numbers.
A model this size doesn't fit on one chip, so it is split. There are two ways, and Bryce drew both.
Serving systems save money by reusing work. If a thousand requests start with the same long instructions, the model should read them once and reuse the result. With per-token notes that is easy: keep the notes for the shared start and point new requests at them.
Summary layers make it harder. The summary is one blended state, not a list of notes, so you can't cut it at an arbitrary token. The fix is to save checkpoints of the summary at regular points (the video's chapter on KDA state checkpointing). A new request can then resume from the last checkpoint before the shared text ends. vLLM had to rebuild parts of its cache manager to do this, including partial reuse with copy-on-write.
Every answer has two phases. Reading the prompt happens all at once and is limited by how fast the chip does math. Writing the reply happens one token at a time and is limited by how fast the chip can fetch weights and memory. Because the two phases stress different parts of the chip, large deployments now run them on separate GPUs. This is called disaggregation. The reading GPUs hand the conversation memory to the writing GPUs.
On the writing side, speculative decoding cuts the number of slow steps. A small, fast drafter guesses several tokens ahead, and the big model checks them all in one step, keeping the ones it agrees with. The session covers two recent drafters, DFlash and DSpark. DFlash, for example, drafts a whole block of tokens in one pass.