SCENE 23 / 24 · PRODUCTION OPERATIONS, DEPLOYMENT & FINOPS
The cold start tax
Container pull plus weight loading decides whether your first request survives.
FIRST TOKEN DELAY · 66.0 s
Multi-GB weight loads dwarf container starts. Snapshots, tiered model caches and warm pools are how serverless inference survives its own first request.
ARCHITECTURE & FORMULATIONModule 8: Production Operations, Deployment & FinOps
The serverless cold start: container pull to parameter load
Serverless AI endpoints scale to zero when idle to save costs. However, waking up a cold container requires pulling multi-gigabyte container images, loading tens of gigabytes of model weights into GPU memory, and running CUDA warmup iterations — creating massive cold-start delays (10s to 60s+).
Loading a 14 GB model from NVMe at 3.5 GB/s takes 4s for weight transfer alone, on top of 15s container pull and 5s CUDA context setup = 24s total cold start.
REAL-WORLD PRODUCTION ENGINEERING
KServe, Modal, and Replicate use streaming container filesystems (e.g., CDFS) and pre-warmed GPU pools to reduce cold starts under 2 seconds.
Safetensors format is standard across Hugging Face because it enables zero-copy mmap loading directly to GPU.