← All explorers
Loading explorer…
Read the theory: model-serving
Read the theory: model-serving
Size the KV cache for a real model and watch it outgrow the weights — then compare how MHA, GQA, MQA, and MLA shrink it, and quantize the cache itself.
The KV cache stores every past token's keys and values in every layer. It grows with context × concurrency and is usually the real memory bottleneck at serving time. At this config the KV cache (250 GB) already exceeds the model weights (130.4 GB) — the cache, not the weights, is what limits concurrency. Switch the attention variant to see how MHA→GQA→MQA→MLA shrink it, and try FP8/INT4 to quantize the cache itself.
Illustrative model for building intuition, not a live system.