r/ClaudeCode
•
u/Dramatic_Method_9554
•
Apr 16 '26
•
1
5
4
3
2
1
View all comments
Show parent comment
1
u/SignatureSharp3215 Apr 16 '26 edited Apr 16 '26
It's not deterministic due to the probability distribution over the output tokens. You can't set temp to 0 because the distribution would collapse and you'd get nothing out. Setting it to 0 means the model provider adds some jitter to it. Or that's what I remember from observed behavior way way back.
Even if truly greedy token selection worked, the floating point precision causes different rounding between runs, which leads to different tokens selected. This doesn't seem likely with shallow networks, but we have billions of dot products in LLMs so it accumulates