
Pinterest's architectural breakthrough dramatically cuts latency and TCO for high-scale, multi-turn multimodal inference.
Pinterest has redesigned its VLM serving infrastructure to power visual-heavy experiences like Pinterest Assistant. By substituting raw image pixels with precomputed projection embeddings and combining disaggregated serving with advanced KV caching, Pinterest successfully scales real-time serving to handle hundreds of images per request.
Highly recommended for AI platform engineers and backend developers seeking to scale multimodal LLMs while tackling heavy image-processing overhead and severe KV cache limitations.
Serving Vision-Language Models (VLMs) suffers from expensive and highly variable prefill overhead due to visual token processing, and severe KV cache memory pressure caused by large visual contexts in multi-turn interactions.
Pinterest built a high-performance serving stack powered by NVIDIA Blackwell B200 GPUs and the NVIDIA Dynamo orchestration framework, implementing disaggregated prefill/decode serving, multi-tier KV cache offloading (LMCache), and precomputed PinCLIP projection embeddings to bypass real-time vision encoding.
Leveraging projection embeddings achieved an average of 85x (up to 369x) faster TTFT, 7.3x (up to 44x) faster E2E latency, and supported 25x more visual context. Multimodal KV-aware routing improved TTFT p99 by 1.42x on average, while B200 GPUs offered a 2x latency reduction over Hopper.
Trade-off
The larger precomputed embedding payloads created processing bottlenecks in the vLLM frontend, and managing consolidated artifacts (including model weights, configs, and projector weights) increased deployment complexity.
An inference architecture that splits the compute-heavy prefill phase and the memory-bandwidth-bound decode phase into separate hardware instances. This allows independent scaling of workers to maximize hardware efficiency and meet stringent latency SLOs.
A technique where precomputed vector embeddings are sent to the model instead of raw image files. A projection layer maps these embeddings directly into the native visual token space of the VLM, bypassing raw pixel decoding and online vision encoding.
A multi-tiered caching mechanism that offloads inactive or reusable KV cache states from limited GPU VRAM to larger, cheaper memory tiers like CPU RAM and local NVMe disks, retrieving them asynchronously when needed.




