KV Cache Size Calculator

zephyr_z9 · x · 2026-07-18

Introduces a KV Cache Size Calculator tool designed to estimate the cache footprint of various models based on token length, sequence count, KV precision, and indexer precision.

Examples for DeepSeek V4 Pro and GLM-5.2 are provided: under 1 million tokens, single sequence, FP8/INT8 KV precision, and FP4/INT4 indexer precision, their total cache sizes are approximately 4.14 GiB and 43.09 GiB, respectively. The page also details the formulas and breakdowns, showing its capability to estimate inference KV/indexer costs across different architectures.

Original post →

More from Infra

Infra channel →