AI Cloud Architect

A Guide to AI Cold Starts on Cloud Run

GoogleHow-to by Shir Meir LadorGoogle Cloud Blog (developers and practitioners)

Learn how to optimize AI cold starts on Cloud Run using GPU best practices, image streaming, and Elastic's proven architecture for serverless models.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

Practical levers to cut GPU cold starts on Cloud Run for model serving: storage choice, quantized weights, startup CPU boost, concurrency tuning, and wake-up requests to non-inference endpoints.

Who it is for

Teams serving open models such as Gemma or vLLM-based services on Cloud Run GPUs that see long cold-start delays.

Key points

  • Cloud Run GPU services are billed for instance-based time, so keeping a warm instance has a cost.
  • Startup probes allow up to 30 minutes of startup time for intensive workloads, versus 4 minutes for standard services.
  • Elastic reports cold starts under a minute by using enforce_eager=True in vLLM, per the post.

The same at other vendors

Timeline

Posts about Cloud Run, oldest first.

  1. How-toDeploy n8n on Cloud Run · Google · How-to
  2. This postA Guide to AI Cold Starts on Cloud Run
  3. PreviewGoogle Cloud Run sandboxes are in public preview · Google · Announcement