Skip to content
Peter Styk HPC & AI Platform Engineer
A still from the live 3D scene “Read at once, written word by word”: Each vote has its own certainty: “for” 84%, “The” only 28%. Brighter cars came from surer votes.

Live 3D · DeepSeek-V4.1-Flash, taken apart

Read at once, written word by word

It reads six tokens at once. It writes one token at a time.

What the scene shows

Prefill. The prompt goes up at once: six tokens through all 40 layers together. The cache. Each token leaves its attention inputs on every layer: the cache. Every later token reads them there. The output. At the top, the output turns the last stream into probabilities: Athens 53.7%. The winner is the next token.

Decode. Now one token at a time, each alone through all 40 layers, its attention reading every token parked below. About three seconds. On my bench a decode step takes about 3 seconds; the prefill took 14.8 for six tokens. How sure. Each vote has its own certainty: “for” 84%, “The” only 28%. Brighter cars came from surer votes.

The near-tie. Word 11: the comma 43.8%, “and” 43.7%. Greedy decoding takes the comma; it could have gone either way. Inside a name. Inside a name there is almost no doubt: after “Ac”, the output gives “ropolis” 99.997%. The sentence. 25 tokens parked on every layer: the prompt’s six and 19 written. The 20th word is written but never sent up. Ninety-six sentences. Over 96 longer answers the doubt falls as the sentence goes on: about 2 bits in the first words, 0.16 by the twentieth.

interact over timeIt reads at once and writes one word at a time. Each word is a vote, and the votes grow surer as the sentence goes on.

Data
P33 · P38 · routed experts on an AMD MI300X, the rest on its CPU · f32 · checked by the producer
Length
1:28
Version
v5

Inside DeepSeek-V4.1-Flash

Watch next

All 22 scenes