Same prompt, same odds, different output: why LLMs are non-deterministic

cfregly · x · 2026-11-11

cfregly illustrates LLM non-determinism: the same prompt yields an identical distribution (Lori 88%, Alice 12%), but two fresh random draws by the decoder pick Lori once and Alice the other time — a key property of next-token prediction and text generation.

Related event: Illustrating Sampling Temperature and Why LLM Outputs Are Non-deterministic(2 posts)→

Original post →

More from Models

Models channel →