# Non-Determinism Doesn't Matter: Why LLM Output Is Just a Means, Not the End

> Hacker News story 50087616 · language: en · submitted 2026-10-14
> Web version: https://zeli.app/story/50087616
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 64 · by [sklarsa](<https://news.ycombinator.com/user?id=sklarsa>) · 💬 73
[original](<https://sklar.rocks/non-determinism-doesnt-matter/>) · [HN discussion](<https://news.ycombinator.com/item?id=50087616>)

## Summary

I used to see non-deterministic LLM output as a fatal flaw for software development. Then I realized: the result must be exact, but the path to it doesn't have to be. LLMs are actors in a system, not code. By turning their probabilistic output into deterministic tools, we can harness randomness today to reduce randomness tomorrow—and use fewer tokens while doing it.

## Key quote

> I find it fascinating that we can harness randomness today in a way that reduces randomness in the future.

## HN discussion (73 comments)

### [delifue](<https://news.ycombinator.com/item?id=50113193>)

> When people refute the idea that "LLM is the new compiler from natural language to code" the common reason is that LLM is non-deterministic but compiler is deterministic.
>
> But the determinism isn't the real distinction. LLM inference can be made deterministic (temparaute zero, etc.). And multi-threaded compiler can be non-dterministic.
>
> And human developers are also non-deterministic. There is always the nondeterminism even before AI.
>
> I think the real difference is how leaky the abstraction is. If you just need to understand language instead of compiler internal to write correct code, the compiler is non-leaky abstrction. If you rely on compiler to do auto SIMD optimization, and have to do hacks to trigger the optimization, compiler is leaky abstraction.
>
> For AI, if you don't ever need to read the code and AI writes perfectly bug-free program that perfectly follows instruction, then AI is a non-leaky abstraction, but that's not the case for now. To make code maintainable and debuggable you still need to read the code if the project is complex enough.

### [augment_me](<https://news.ycombinator.com/item?id=50113854>)

> Orthogonal to the blog, but fun fact: Determinism is crucial for large-scale training runs, and effective RL-runs as it avoids collapse of numerics, but it costs more(about 20% perf) because you need can't parallelize over the batch nor use some specific instructions that dont guarantee reduction order in the way way. Horace He from Thinky has a great blog about this:
>
> https://thinkingmachines.ai/blog/defeating-nondeterminism-in...

### [emtel](<https://news.ycombinator.com/item?id=50114182>)

> This debate conflates two senses of the word deterministic:
>
> 1. Repeatable: the same inputs always lead to the same outputs 
>
> 2. Algorithmic: the answer is arrived at by a set of steps that can clearly be shown to produce output with some desired property.
>
> (2 is not a textbook definition of deterministic that I’ve ever heard, but I think it’s what people mean here)
>
> LLMs don’t usually satisfy definition 1. They could, in principle, but it wouldn’t matter if they did. It wouldn’t tell you anything about whether the outputs are trustworthy.
>
> What people seem to want is 2, but 2 is, I think, a contradiction. There cannot be an algorithmic process that can turns a natural language prompt into a working program, because natural language is too ambiguous to specify an output.
>
> Nevertheless I agree with the main point of the article. Non-algorithmic processes (like intelligence) can produce algorithmic processes (like software). After all that’s what human programmers do!

### [Marha01](<https://news.ycombinator.com/item?id=50114321>)

> The important factor is not determinism vs. non-determinism, that is just an implementation detail. The important factor is simply the rate of mistakes or bugs the LLM makes. If it is low enough, the problem is for all practical purposes gone. Is it low enough today, or not? That is the question..

### [bananaflag](<https://news.ycombinator.com/item?id=50114047>)

> This is what I was telling my programmer friends 5 years ago.
>
> They were saying one cannot replace programmers because any such attempt has led to something as complicated as code, and thus needed programmers.
>
> I was telling them that the same way managers give them vague instructions and they turn out with code, managers could give LLMs vague instructions and they output code.

---

## Cite

- Page: https://zeli.app/story/50087616
- Date: 2026-10-14
- Source: sklar.rocks (https://sklar.rocks/non-determinism-doesnt-matter/)
- Hacker News: https://news.ycombinator.com/item?id=50087616

## Other languages

- zh: https://zeli.app/zh/story/50087616 · markdown: https://zeli.app/zh/story/50087616.md
- ja: https://zeli.app/ja/story/50087616 · markdown: https://zeli.app/ja/story/50087616.md
- ko: https://zeli.app/ko/story/50087616 · markdown: https://zeli.app/ko/story/50087616.md
- de: https://zeli.app/de/story/50087616 · markdown: https://zeli.app/de/story/50087616.md
- es: https://zeli.app/es/story/50087616 · markdown: https://zeli.app/es/story/50087616.md
- ru: https://zeli.app/ru/story/50087616 · markdown: https://zeli.app/ru/story/50087616.md
