AI inference glossary
Numerical precision

KV cache quantization

Also known as FP8 KV cache, quantized KV

In plain English

This stores the conversation cache in a smaller format, so a chip holds more context and reads it back faster during generation.

Technical definition

KV cache quantization stores attention key and value states in a reduced-precision format, independently of the precision used for model weights.

Engineering details

Weight precision and cache precision are separate choices, and a recipe can serve FP8 weights with a BF16 cache or the reverse. Halving cache width roughly doubles the tokens that fit in accelerator memory and halves the bytes read per decode step, which is the operation decode spends most of its time on.

Why it matters

On long-context serving this often buys more than shrinking the weights, because at high concurrency the cache, not the weights, is what exhausts memory. Accuracy sensitivity differs by model and by which of keys and values is quantized, so it needs evaluation rather than a blanket assumption.

How to read it in InferenceX

Cache precision is part of the recipe, and mixed layouts exist in practice: some models keep two cache buffers at different widths, which disaggregated transfer paths then have to move as a pair. Read a memory-capacity claim together with the cache format behind it.