Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Run Open Source AI Models on Google Cloud:From Laptop to GPU
New
Rating: 5.0 out of 5(1 rating)
1 students

Run Open Source AI Models on Google Cloud:From Laptop to GPU

Run Gemma, Qwen and other open models with Ollama and vLLM on Cloud Run GPUs, GPU VMs and GKE, with real cost numbers
Created byTechTrapture .
Last updated 11/2026
English

What you'll learn

  • Explain open-weight vs open source models, their licences, and when self-hosting beats a managed API
  • Run Gemma and Qwen locally with Ollama and Open WebUI, including a local RAG knowledge base
  • Size open models for GPU memory and choose between Ollama and vLLM for production serving
  • Deploy and benchmark open models on Cloud Run GPUs, Compute Engine GPU VMs and GKE
  • Use Model Garden and Hugging Face models on Google Cloud and compare cost per million tokens
  • Choose the right hosting option for a workload by users, privacy, latency, cost and operations effort

Course content

7 sections • 30 lectures • 3h 0m total length
  • Open-Weight LLMs: What They Are and Why Enterprises Self-Host9:53
  • Decide Between a Managed API and Self-Hosting Open LLMs8:33
  • Compare Four Ways to Host Open LLMs on Google Cloud and Their Costs5:54

Requirements

  • Comfortable with a terminal and basic Python
  • A Google Cloud account with billing enabled. GPU labs cost a few dollars each, and every lab ends with cleanup
  • No machine learning background needed

Description

Calling a model API is easy. Running an open model yourself means deciding where it runs, what it costs, and what you trade in latency and control. This course walks through every option on Google Cloud, from a laptop to a GPU cluster, with real benchmarks and real costs.

You start by understanding what "open" actually means, including open-weight versus open source and the licences that come with the weights, and when self-hosting beats a managed API. Then you run Gemma and Qwen locally with Ollama and Open WebUI, build a local RAG knowledge base, and learn how to size a model for the GPU you have.

Next you serve open models on Google Cloud, four ways:

  • Cloud Run with an NVIDIA L4 GPU: Ollama and vLLM, model weights on Cloud Storage, autoscaling, and a load test from 1 to 32 concurrent users
  • A Compute Engine GPU VM: GPU stockouts, token speed, and when a VM beats Cloud Run
  • GKE: vLLM on an L4 Flex-start node pool, scaling to two GPUs, and the GKE Inference Gateway against a plain Kubernetes Service
  • Model Garden and Hugging Face: self-deploy Qwen, call partner models, and deploy Hugging Face models to a Vertex AI endpoint

Every serving option ends with numbers: latency, tokens per second, and cost per million tokens.

The course is taught by a Google Developer Expert who builds these systems for clients. Every demo runs on a real Google Cloud project, including the failures (GPU stockouts, quota limits, cold starts) and how to work around them.

What you will be able to do

  • Decide between a managed API, Model Garden, Cloud Run, a GPU VM and GKE for a given workload
  • Size a model for a GPU and understand what quantization trades away
  • Serve open models with Ollama and vLLM and load-test them properly
  • Estimate the cost per million tokens of self-hosting

Who this course is for:

  • Developers and cloud engineers who want to self-host open models instead of only calling APIs
  • Architects comparing open models and managed APIs on cost, privacy and control
  • Platform and MLOps engineers serving LLMs on Cloud Run, VMs or Kubernetes
  • Anyone running Ollama locally who wants to take it to production on Google Cloud