Building with AILesson 9 of 80

Module 1 · The call underneath everything

Running a model on a laptop with no GPU

In this lesson

  • 10 min read
  • 5 reading sections
  • Knowledge check
  • Lesson 9 of 10 in this chapter

This chapter’s goalSend the same request to a hosted model and to a model running on your own machine, read every field of the response including token counts and stop reason, and predict within a factor of two what a proposed feature will cost per thousand users before you write it.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 6Free · no account needed
Lesson steps

Why run a model locally?

A local model can give you control over where inference runs, allow offline experiments after setup, and make memory use and generation speed easier to observe.

For sensitive material, verify the whole data path. A downloaded model running locally can process prompts on the machine, while cloud models, connected tools, telemetry and integrations may send data elsewhere. Ollama also offers cloud models, so a local app address alone does not prove that generation stays local. Check the selected model and integrations before using restricted data. Ollama local and cloud behavior.

Local inference has hardware, energy and maintenance costs. It can avoid a provider’s per-generation charge, subject to the model’s license and the software you use. Installation and model downloads can still require network access.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the Python, from Zero, for AI exam.

Stuck on something?Ask Sayali, your AI tutor

How to cite: Addaly (2026) ‘Running a model on a laptop with no GPU’, in Building with AI. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/building-with-ai/a-model-on-your-own-machine (Accessed: 27 November 2026).