07Design KV offload to CPU memory. When does fetching blocks back over PCIe beat recomputing them?▼hardNewAnthropicPerplexityBaseten○ sign inRecomputing a prefix costs FLOPs proportional to the model, fetching it costs bytes proportional to the cache. One ratio decides it, and the answer shows by how much fetching wins and the three situations where it still loses.Open full answer →
15Design a multi-tier KV cache across HBM, host DRAM and SSD for a fleet with heavy prefix reuse, and show the hit-rate math.▼expertNewAnthropicOpenAINVIDIA◆ premiumEach tier is worth exactly the recompute it avoids minus the fetch it costs. Work that out per token and the design writes itself, including the tier that should not exist for small models and the SSD that wears out in a week.Open full answer →