Scale to 0 LLM inference: Cost efficient open model deployment on serverless GPUs
summary
Demo shows Ollama inference server deployed on Google Cloud Run using Ollama inference server and NVIDIA L4 (24 GB VRAM) GPUs with pay-per-use instances that scale-to-zero. Container cold-start to a ready instance is about six seconds, streaming responses work end-to-end, and autoscaling handled a previous demo to 100 GPU instances in under four minutes. Gemma 4B (≈3 GB) and Gemma 3 at 27B parameters were tested; 27B fits if VRAM allows. Cost is higher than reserved VMs but incurs zero charges while idle.
AI-written summary · about
chapters (14)
- 0:00Introduction and overview
- 1:31What are open LLMs
- 2:56LLM inference servers
- 4:01Advantages of open models
- 5:05Local LLM demo with Alma
- 6:08Cloud Run for web apps
- 7:16GPU support and scaling
- 8:40Cloud Run deployment demo
- 10:10Metrics and performance
- 11:16Model size limitations
- 12:21Cost and pricing model
- 13:34Authentication options
- 14:59Startup time impact
- 15:21Autoscaling and downscaling
