Step 1 of 6· After the first token
After the first token
During decoding, each selected token extends the context used for the next prediction. Displaying tokens as they arrive is streaming.
- 1
Reuse prompt state
→ - 2
Compute a next-token distribution
→ - 3
Select and append
→ - 4
Stream the new token
After the first token appears, five more tokens need five more selections. A smooth-looking stream does not mean the whole answer was already written.