Token Quality

The Serving Stack Decides Token Quality

Batching, quantization, decoding strategy and cache policy all change what a model emits. Why token quality is an engineering property of the serving stack rather than a fixed attribute of weights.

The Serving Stack Decides Token Quality
Token Quality · Inference Watch

Two endpoints serving identical open weights will disagree on a measurable fraction of prompts. The gap is not marketing noise; it is the serving stack. Batching changes the numerical path, quantization changes precision, decoding strategy changes sampling, cache policy changes what context the model actually sees. Quality is engineered between the weights and the wire.

Five layers that move quality

Batching

Continuous batching mixes requests of different lengths in one forward pass. Throughput rises, but kernel selection and padding behavior can shift logits slightly. Well-tuned stacks keep the distribution stable; naive ones drift with batch composition. Long-context and short-context requests in the same batch are the usual trigger.

Quantization

Weights and KV cache are frequently quantized to fit more work per GPU. Precision choices differ by provider, and some trade evaluation-set accuracy for throughput without saying so. The regressions concentrate in reasoning-heavy and long-context tasks. See the quantization deep dive.

Decoding strategy

Greedy, sampling temperatures and speculative decoding all change the output distribution. Speculative decoding can be nearly lossless when the draft model is aligned, and subtly not when it is not. Providers should publish what they use and how they validate it.

Cache policy

KV cache eviction at long context quietly drops earlier tokens. Answers then contradict instructions given at the top of a prompt — a quality failure that looks like a reasoning failure. Cache behavior is covered in KV cache and token quality.

Gates

Schema validation, repair loops and safety checks sit after generation. A stack with a repair loop converts format failures into accepted answers; one without passes them through. Gates also determine what gets billed, which is why metering and quality are the same conversation.

Key takeaway Ask a provider how it validates serving changes. If the answer is a public benchmark, the quality bar is unmanaged.

What to require from a provider

  • Published quantization scheme per model, with evaluation results at your context lengths.
  • Decoding configuration, including speculative decoding, disclosed and versioned.
  • Cache eviction behavior at the long-context boundary.
  • Change notification with rollback, as discussed in SLA design.

How to test it yourself

Build a 100-case set with three strata: short structured tasks, long-context instruction following, and reasoning under ambiguity. Run it against each endpoint, twice, and compare both accuracy and variance. Variance across runs is often more diagnostic than the mean; an unstable stack will show it.

Include one adversarial stratum: a long prompt whose instructions at the top conflict with content later. It reveals cache and attention behavior that a tidy benchmark never touches.

The organizational point

Quality regressions rarely announce themselves. They appear as slightly higher retry rates, a handful of support tickets, and a slowly rising review queue. Teams that treat the serving stack as a black box spend months attributing those symptoms to prompts. Teams that version and test the stack catch them in a day.

FAQ

Is a hosted model always lower quality than self-hosted?

No. A well-tuned hosted stack usually beats a hastily self-hosted one. The question is validation, not location.

Does speculative decoding change outputs?

It can, slightly. With aligned draft models the difference is small; with mismatched ones it is not. Test on your task.

How often should we re-run the evaluation set?

On every announced change, monthly otherwise, and after any unexplained shift in retry or review rates.

Filed in Token Quality. The wider frame — how serving cost and token quality travel into price — is in The Transmission.

IW

Inference Watch Research

Inference Watch covers AI compute and inference infrastructure. Company Watch items are reproduced with attribution and are not independently verified.