AI Use Cases

Guide · updated 2026-11-09

How to run an LLM locally on your laptop, with setup steps for Mac, Windows and Linux

Run an LLM on your own laptop: what to check first, setup steps for Mac, Windows and Linux, and which model to download for 8, 16 or 32 GB of memory.

To run an LLM locally on your laptop, install a free local runner, download one small open model, and chat with it. Ollama and LM Studio are the two runners most laptops can use. On a laptop with 16 GB of memory, a model around a 2 to 3.5 GB download is a sensible first try, and on 8 GB start with one around 1 GB. The whole setup takes one installer and one download, and after that the model runs on your own machine.

What do you need before you start?

Three things about your laptop decide what will work. Check them first.

  • Your operating system. Ollama needs macOS Sonoma (version 14) or newer on a Mac, and Windows 10 22H2 or newer on a PC. LM Studio also needs macOS 14 or newer and does not support Intel based Macs.
  • Your memory. This sets the size of model you can run. LM Studio recommends 16 GB of RAM and says 8 GB Macs can work with smaller models and modest context sizes (LM Studio system requirements). On a Mac, check it under Apple menu, About This Mac. On Windows, open Task Manager, then Performance, then Memory.
  • Your graphics chip. A Mac with an M series chip uses its graphics cores automatically. A Windows laptop with an NVIDIA or AMD card runs faster with current drivers installed. A laptop with no separate graphics card still works, more slowly, on the processor.

Leave room on disk as well. The Ollama install on Windows needs at least 4 GB before any model, and a small model adds another one to four gigabytes.

Which runner should you install on a laptop?

Pick by how you want to use the model.

  • LM Studio if you want an app window. You search for a model, download it and chat, all inside the app.
  • Ollama if you want a terminal command and a local server other apps can talk to. It also ships a desktop chat app on Mac and Windows.

Both are free and both run the same open models. The full comparison, by machine and by reader, is in Ollama vs LM Studio. The steps below use Ollama, because its commands are the same on all three systems.

How do you set it up on a Mac?

  1. Download Ollama for macOS and open the ollama.dmg file.
  2. Drag the Ollama app into your Applications folder and open it.
  3. When the app offers to add the ollama command to your terminal, accept.
  4. Open Terminal and run ollama run llama3.2. The first run downloads the model, about 2.0 GB.
  5. Type a question at the prompt and press Return. Type /bye to leave.

Models and settings live in the hidden ~/.ollama folder in your home directory.

How do you set it up on a Windows laptop?

  1. Download and run the Ollama installer for Windows. It installs into your home folder and does not need administrator rights.
  2. If you have an NVIDIA card, update to driver 551.61 or newer first. AMD cards need a current Radeon driver.
  3. Open PowerShell or Command Prompt and run ollama run llama3.2.
  4. Wait for the download to finish, then type a question.

Ollama keeps running in the background and shows an icon in the system tray. If your C drive is short on space, set a user environment variable called OLLAMA_MODELS to a folder on another drive, then quit Ollama from the tray and start it again.

How do you set it up on Linux?

  1. Install with the one line script from Ollama's Linux documentation: curl -fsSL https://ollama.com/install.sh | sh.
  2. For an NVIDIA card, install CUDA and check that nvidia-smi prints your card. For AMD, install ROCm version 7.
  3. Start your first model with ollama run llama3.2.

If the server is not running, start it with ollama serve in one terminal and run the model from a second one.

Which model should you download first?

Start small. A model needs at least its download size in memory, plus room for the conversation and for everything else you have open, so a first model should be a modest share of your total memory. These starting points use models from the Ollama library, with the download size read from each model page on 2026-11-09.

Laptop memoryModel to try firstCommandDownload sizeTry next
8 GBGemma 3, 1Bollama run gemma3:1b806 MBLlama 3.2, 1B, 1.3 GB
16 GBLlama 3.2, 3Bollama run llama3.22.0 GBGemma 3, 4B, 3.4 GB, which also reads images
32 GB or moreGemma 3, 4Bollama run gemma33.4 GBGemma 3, 12B, 8.2 GB

If a model answers slowly or your laptop starts swapping, step down one row. If it is fast and you want better answers, step up one. Close browser tabs and other heavy apps before you judge the speed, because they share the same memory.

The 1B models handle text only. The Gemma 3 models from 4B up also accept images.

How do you know it is using your graphics chip?

Run ollama ps while a model is loaded. The Processor column shows where it sits: 100% GPU means it fits entirely in graphics memory, 100% CPU means it is running from system memory, and a split such as 48%/52% CPU/GPU means part of it did not fit (Ollama FAQ). A split is the usual reason a model feels slow, and a smaller model fixes it.

Ollama unloads a model after five idle minutes, so the first answer after a break takes longer while it loads again.

Is it private, and does it work offline?

When the model runs locally, your prompts stay on your laptop. Ollama states that it does not see your prompts or data when you run locally. The exception is its optional cloud models, which run on Ollama's servers. To turn those off, set OLLAMA_NO_CLOUD=1 before starting Ollama.

Ollama listens only on your own machine by default, at address 127.0.0.1 on port 11434. Other devices on your network cannot reach it unless you change the OLLAMA_HOST setting, so leave it alone on a laptop you take to cafes and offices.

A downloaded model answers from your own machine. Only the optional cloud models depend on Ollama's servers.

Can you use a local model for work?

Running a model on your own laptop does not change its licence. Each model family has its own terms, and those terms decide what you may do with it. Gemma, for example, comes under the Gemma Terms of Use, which include a prohibited use policy. Read the licence on the model's own page before you build anything on it.

The runner's licence is a separate question. Ollama is open source. LM Studio is free for home and work use, but the app itself is closed source.

FAQ

Do I need a graphics card to run an LLM on a laptop?

No. A laptop with no separate graphics card runs small models on its processor and system memory. It is slower, so start with a 1B model. A Mac with an M series chip uses its built in graphics cores without any setup.

Why is my local model so slow?

Usually the model is too big for your memory, and part of it is running on the processor. Run ollama ps to check, then try the next model down in the table above. On battery, many laptops also slow the processor to save power, so plug in when you test.

How much disk space does a local model take?

The download size on the model page is roughly the space it takes on disk. The small models in the table above take between 806 MB and 3.4 GB each. Remove one you no longer use with ollama rm followed by its name.

Can I chat in a browser window instead of the terminal?

Yes. Ollama's own desktop app on Mac and Windows gives you a chat window, LM Studio is built around one, and Open WebUI adds a browser chat page in front of Ollama.

Pick your runner

Compare every local runner on today's evidence on the run LLMs locally use-case page, with one reason for and one against each. For no cost options only, see the free runners, and for runners you can read the code of, the open source runners. The scores are recomputed nightly from public signals, and no tool can pay to move up.

More guides