Lesson 9 of 11
CPU vs GPU, and keeping costs down
In plain words: Tabular models train fine on a laptop CPU; images, text, audio and LLMs usually need a GPU.
- CPU is enough for: tabular data, classical ML, small text models with few examples.
- GPU helps for: fine-tuning transformers, vision and speech models, self-hosting LLMs.
- Start free: Google Colab and Kaggle notebooks include GPUs.
- Rent GPUs by the hour for training, then serve on CPU with a smaller or quantized model where possible.
- Use spot/preemptible instances for training jobs — often 60–90% cheaper.
Tip Turn off idle notebooks and endpoints. Forgotten GPUs are the most common surprise bill.
See it in a real project
- How to find defective products in photos: a pretrained image model on an ordinary laptop
- How to build a chatbot that answers questions from your PDFs: embeddings on a CPU, the language model through an API
- How to sort product photos into categories: a small image model trained on a laptop processor in about a minute and a half