TL;DR: No. Temperature zero is greedy decoding, which is repeatable when the top token is clearly ahead and flips when two tokens are nearly tied, because batching and cache reuse on the serving side change the floating-point arithmetic. Across a loop of thirty steps, small per-step variation becomes different paths. So the harness is unit-tested against a scripted model, behaviour is evaluated with repeated runs and a rate, and sampling settings are chosen per step rather than set to zero everywhere.
How to approach it
Disagree plainly, then explain the mechanism in two sentences, then say what you do about it. Interviewers ask this to see whether a candidate has shipped an agent and watched identical requests diverge. Avoid the opposite overclaim too: temperature zero does make tool calls and structured output far more repeatable, and it is the right setting for those steps.
A strong answer
Separate the two ideas. Temperature controls how the model turns its per-token probabilities into one choice: at zero it always takes the most probable token. Determinism is a property of the whole serving path. On a hosted model, two identical requests may be batched with different neighbours, scheduled onto different hardware, or served with and without a cached prefix. Each changes the order of floating-point additions, and floating-point addition is not exactly associative, so the probabilities come back slightly different. Where the top token is far ahead that changes nothing. Where two tokens are nearly tied, the choice flips, and every later token conditions on it.
Then make it concrete for an agent. Near-ties are common at the points that matter: which of two similar tools to call, whether to stop or take one more step, which of two plausible ids to use. One flip early in a run changes the whole trajectory. The compounding arithmetic from the loop lessons applies: thirty steps of "almost always the same" is a run that is often different.
per-step chance of an identical choice 0.99
steps 30
chance the whole run is identical 0.99^30 ≈ 0.74
Illustrative numbers; the shape is the point. One in four runs takes a different path somewhere, at temperature zero, with no code change.
Say what follows for engineering:
| Need | What temperature zero gives you | What you do instead |
|---|---|---|
| Unit tests of the loop, dispatcher, budgets | Flaky tests that depend on the model's words | A scripted model that returns fixed replies, so harness logic is tested deterministically |
| Knowing whether a change helped | One run that may differ from the next | Each task several times, a rate with its denominator, compared on the same tasks |
| Debugging a failed run | A rerun that behaves differently | Record the model's actual replies and replay them |
| Repeatable variety | Nothing | A seed, where the provider honours it, with the caveat that it fixes your draw and not the server's arithmetic |
Finish with where temperature zero is right. Tool selection and arguments, structured output, routing and classification have one correct answer and belong at or near zero. Candidate generation for a verifier wants variety and belongs higher. Evals run at the production settings, or they measure a system nobody ships.
What interviewers probe next
"We set a seed as well. Deterministic now?" Closer, not guaranteed. The seed fixes the sampling draw; it cannot fix batching and hardware differences. Providers describe seeded output as best-effort and some expose a fingerprint of the serving configuration so you can see when the backend changed.
"Our eval went from 10 of 10 to 8 of 10 with no change. Noise or regression?" Cannot tell from two runs of ten. Run each task several times, compute a rate with error bars, compare on the same tasks, and check the recorded model version and fingerprint in the traces.
"Why not just use a local model where you control the hardware?" You get closer to bit-for-bit repeatability on one machine, and you lose it again with batching, cache reuse and any change of hardware. The engineering response is the same either way.
How it's scored
Weak: Agrees, or disagrees without being able to say why identical requests differ.
Hire: Separates greedy decoding from determinism, names batching and floating-point order, and says tests use a scripted model and evals use repeated runs.
Strong Hire: Also does the compounding arithmetic, chooses settings per step type, explains what a seed does and does not fix, and mentions recording and replay for debugging.
Common mistakes
- Treating "temperature 0" and "deterministic" as synonyms.
- Running evals at temperature zero when production runs higher.
- Writing harness tests that assert on a live model's exact words.
- Setting temperature zero everywhere, including steps whose job is to generate varied candidates for a verifier.
- Reading a two-run difference as a regression.