A weathered Greek boundary marker, a herm, standing in a field of dry grass

Deterministic LLM inference: every approach, and how far its bits travel

Making a model answer the same way twice on one machine is solved. Making it answer the same way on someone else's machine, which is what checking an answer needs, is not. Here is how far each approach gets.

Ask a model the same question twice and you can get two answers, even at temperature 0. Thinking Machines showed why in September 2025, and it was not the usual suspect: “concurrency (and atomic adds) end up being completely uninvolved”. The cause is load: “the primary reason nearly all LLM inference endpoints are nondeterministic is that the load (and thus batch-size) nondeterministically varies!” A kernel whose result depends on how many other requests share the batch gives a different answer when traffic changes.

Fixing that makes a model repeat itself on one setup. Getting the same bits on a different machine is a harder problem, and it is the one you need to check someone else’s answer by running it again. This is how far each approach’s bits travel, from each project’s own page, on 28 November 2026.

Why the bits differ at all

Floating-point addition is not associative: add the same numbers in another order and the rounding changes. Hardware and libraries change the order all the time, by splitting a sum across cores, by fusing a multiply and an add into one rounding, and by shipping their own exp and sin. NVIDIA’s own guide says “different math libraries cannot be expected to compute exactly the same result for a given input”, and cuBLAS promises the same bits only “on GPUs with the same architecture and the same number of SMs”.

How far each approach’s bits travel

ApproachThe same bits acrossCost, as reported
Thinking Machines kernelsRuns on one setup, any batch size: 1,000 completions, all identical. “Not ‘hardware/software version invariant‘“26 s to 42 s on Qwen3-8B, one GPU
vLLM batch invariance (beta)Runs on one setup, any batch size or request order”may impact performance”; no figure
SGLang deterministic modeRuns on one setup, any batch size; with a seed, sampling repeats too25–45% slower, 34% on average
LLM-42 (Microsoft)Runs on one setup under dynamic batching, only for the requests that askIn proportion to those requests
Tree-based invariant kernels (TBIK; Rice, Minnesota, NVIDIA)Any tensor-parallel size from 1 to 8 GPUs and any batch size, and vLLM against FSDP in RL training; tested on NVIDIA only22% to 63% (Qwen3-8B, four H20s); the kernels are “unoptimized”
OpenAI seed”best effort… Determinism is not guaranteed”; now marked deprecatedNone stated
EigenAIOther hosts with the same GPU model: 100%. “Different GPU architecture (A100 vs. H100) 0.0%“About 1.8% latency
RepOps (Gensyn, Verde paper)Fixed operation order on every GPU; CUDA, FP3260% (Llama-1B, A100) to 218% (T4)
RepOps in OPEN-1BNVIDIA and Apple GPUs, x86 and ARM CPUs, for replaying training steps of a 1B model5 to 6.8 times slower
RepDL (Microsoft)“the same or different CPU or GPU systems”, FP32; no LLM results”mildly”
Cross-GPU linear layersLinear layers on NVIDIA Ampere, Ada and Hopper; attention and sampling still differFaster than the earlier method by 1.17–3.1x
GPU emulationPredicts each NVIDIA GPU’s bits on a CPU, block by blockNone at serving time
Integer-only inference (DetLLM, the author’s post)A100, H100, and AMD, Intel and Apple CPUs: “bit-identical logits”Prefill about 0.13x of fp16
tritify (exact integer arithmetic)CPU instruction sets (NEON, AVX2, AVX-512) and, for Qwen2.5-0.5B, Apple’s Metal GPU”not a throughput win over optimized float”
A pure integer engine (Dunham)ARM and x86: “zero hash mismatches” in 82 cross-architecture tests, models up to 6.7B parametersNot stated; no code linked
Verse (ours)arm64 and x86-64 servers, and tabs in Chrome and Safari: the same output and the same workCPU only, so small models: 12–20 s an answer at 135M

Three groups fall out. The serving modes (Thinking Machines, vLLM, SGLang, LLM-42, and TBIK across GPU counts) make a model repeat itself on the setup it runs on, which is what evaluation, debugging and RL training need, at a real but modest cost. Pinned stacks (EigenAI) carry that to other machines of the same GPU model. Only methods that fix every operation, in software (RepOps, RepDL, integer engines like DetLLM, tritify and Dunham’s, Verse’s WebAssembly), cross vendors and processor families, and they pay for it in speed or in model size. None of the others claims the same bits in a browser.

How Verse gets the same bits

The model runs as a WebAssembly program. WebAssembly fixes, to the bit, every basic arithmetic operation, and the functions that differ between platforms (exp, sin, pow) are compiled into the program, so they are part of the bytes the receipt names and every machine runs the same ones. Every NaN is made the same NaN, threads and relaxed SIMD are off, each job is one request, so there is no batch to vary, and the engine is pinned: a receipt names wasmtime-46.0.3/core/det6, and a verifier on anything else declines to judge. The work is counted too, and a re-run must use exactly as much. Determinism has every rule.

One real run

On 28 November 2026 we asked “What is a volcano?” of four computers by name, three on an arm64 server and one on an x86-64 server, and the verifier re-ran each answer:

Output hash, all four7656809808af6f63dfddf736b66c0ac76cdc588209f2648317a86d2d19bc3f69
Work, all four22,755,671,147 units of fuel
Verdict, all fourreproduced
The same question, the day beforeThe same hash and the same work

Browser tabs are held to the same: our live test runs the model in Chrome and in Safari’s WebKit against the deployed network and requires the servers’ bits and work. The four answers, computer by computer: EigenAI alternative.

Which one you need

Repeatable evaluations and debugging on your own hardware: a batch-invariant serving mode (vLLM, SGLang). It is the cheapest to adopt and covers the cause Thinking Machines found.

RL training, where the rollout engine and the trainer must agree at different GPU counts: TBIK, whose code is public (no licence file).

Checking a provider that runs the same GPU model as you: a pinned stack like EigenAI’s.

Checking an answer on a different kind of machine, or in a browser: the math has to travel inside the program, with integer models or WebAssembly. Today that means small models.

Every determinism rule ↗  ·  More writing ↗