True Serverless GPU: 3-Second Cold Starts, Hot and Cold Serving
Discover how five compounded optimizations enable 3-second GPU cold starts and true serverless economics for inference workloads.

The Problem: GPU Cold Starts Are Slow
| Step | Time |
|---|---|
| Cloud provider allocates instance | 60-180 seconds |
| Container image pulled and started | 30-60 seconds |
Python imports (torch, vllm, transformers) | 10-20 seconds |
| Model weights loaded from disk to GPU VRAM | 20-90 seconds |
| CUDA graph capture, kernel compilation | 10-30 seconds |
| Total | 2-6 minutes |

Figure 1: GPU Cold Start Latency Breakdown: Naive vs Optimized Pipeline
Our Stack: Five Optimizations That Compound
1. GPU Buffering (Removes Instance Allocation)
2. Lazy Container Filesystem (Removes Image Pull)
3. CPU Memory Snapshotting (Removes Python Startup)
import torch executes tens of thousands of syscalls. Loading transformers, vllm, and your application code takes 10-20 seconds of CPU time before the GPU is even touched. We checkpoint the process state after the first cold start using gVisor's built-in checkpoint/restore. On subsequent starts, we restore directly from the checkpoint — skipping all the imports and initialization. CPU startup drops from 15 seconds to under 1 second.4. GPU Memory Snapshotting (Removes CUDA Initialization)
| Engine | Snapshots OFF | Snapshots ON |
|---|---|---|
| vLLM boot (1B model) | 95 seconds | 14 seconds |
| SGLang boot (1B model) | 84 seconds | 17 seconds |
5. Hot-to-Cold Gradation (Removes the Binary Choice)
| State | GPU Status | Wake Latency | Cost |
|---|---|---|---|
| Hot | Model in VRAM, serving traffic | 0ms | Full GPU |
| Warm | Model in VRAM, evictable | ~100ms | Full GPU |
| Cold | VRAM freed, state on host NVMe | <3s | $0 / Free |

Figure 2: Three-State Thermal Gradient: Hot, Warm, Cold Transition Lifecycle
The Result
- Peak demand: 200 concurrent GPUs during business hours
- Off-peak demand: 5-10 GPUs overnight
- Average GPU utilization: 72% (vs ~30% without serverless)
- Cold start latency: 3 seconds (P50), 14 seconds (P99)
- Monthly GPU cost: 62% lower than static provisioning

Figure 3: Monthly GPU Cost & Utilization Comparison: Static Provisioning vs True Serverless
Read Next
Deep dives into infrastructure and AI.

Run OpenClaw with Ollama Serving Qwen3.6 on a Full H100: No Token Limits, No API Bills
Deploy OpenClaw and Ollama as two separate pods on Istidlal, connect them over public URLs, and run Qwen3.6 35B with no per-token costs and no context ceiling.

Run your Local Jupyter Notebooks on ANY remote GPU directly from VSCode
Eliminate the tedious setup and constant context switching required to run Jupyter notebooks on remote GPUs directly from VSCode using Istidlal extension

How to Deploy and Run Hermes on a GPU Slice
Deploy Nous Research's 405B-parameter Hermes 3 model efficiently using a 48GB GPU slice and FP8 quantization.
