How to Run Local AI Models on Your PC: Ollama, LM Studio and RAM Requirements

How to Run Local AI Models on Your PC: Ollama, LM Studio and RAM Requirements

You do not need a cloud account or a subscription to chat with an AI model. You can download a model and run it on your own computer, offline. Two free tools make this easy on Windows: Ollama (terminal) and LM Studio (app window). This guide shows you how to install both and what fits in your RAM.

Table of Contents (10)
  1. What running AI locally actually means
  2. What you need before you start
  3. Step 1: Install Ollama
  4. Step 2: Run your first model
  5. Step 3: Try LM Studio if you prefer a window, not a terminal
  6. Ollama vs LM Studio: which one should you pick?
  7. What fits in your RAM: 8GB, 16GB and 32GB
  8. Privacy, and the honest limits of local models
  9. Frequently asked questions
  10. The bottom line

What running AI locally actually means

A large language model is a very large file of numbers, called weights. Running one locally means your computer loads that file into memory and does the maths itself — nothing leaves your machine. Ollama’s FAQ says it plainly: run locally, and Ollama does not see your prompts or your data.

Local does not mean equal: a model small enough for a laptop is far weaker than the big models behind paid chat apps. It is good for drafting, summaries, and simple code help — not hard reasoning. Two words to know: parameters (model size — 3B means 3 billion) and quantization (a compressed copy; Q4 is the usual choice).

What you need before you start

Ollama’s docs say: Windows 10 version 22H2 or newer, 64-bit; an NVIDIA card needs driver 551.61 or newer, AMD cards work through ROCm or Vulkan, and no graphics card is required — models run on the processor, just more slowly; at least 4 GB of disk for Ollama itself, plus room for models.

LM Studio is more direct. Its system requirements recommend 16 GB of RAM (8 GB works for small models) and, on Windows, 4 GB or more of dedicated graphics memory. It needs Windows 10 or 11 on an x64 processor with AVX2, or an ARM Snapdragon X machine.

The planning rule: a Q4 model needs about 0.6 GB per billion parameters, plus about 1 GB overhead. So a 3B model needs roughly 2.5 to 3 GB, a 7B or 8B model about 5 to 6 GB, and a 14B model about 9 to 10 GB. Check your own machine first in Task Manager.

Step 1: Install Ollama

Ollama is free and open source, and it needs no account. Two ways to install it on Windows: download OllamaSetup.exe from ollama.com/download and run it, keeping the default options; or open PowerShell and run the one-liner from Ollama’s own install guide:

irm https://ollama.com/install.ps1 | iex

Ollama also runs a local server on port 11434 for other apps. Do not open that port on your router — it is meant for your own machine only.

Step 2: Run your first model

Open a terminal and type:

ollama run llama3.2:3b

The first time, Ollama downloads the model — about 2 GB — and opens a chat. Type a question and press Enter; type /bye to leave. The model stays downloaded, so the next run starts at once.

Useful commands: ollama pull llama3.2 downloads a model; ollama ls lists downloaded models; ollama ps shows loaded models. Models live in C:\Users\<your name>\.ollama\models. If that drive is full, set the OLLAMA_MODELS environment variable to another folder and restart Ollama. Start small: a 3B model on a 16 GB machine gives fast replies.

Step 3: Try LM Studio if you prefer a window, not a terminal

LM Studio is a free desktop app that downloads models from Hugging Face and gives you a chat window, a model browser, and an OpenAI-compatible local server.

  1. Download the installer from lmstudio.ai and run it.
  2. Open Model Search in the left sidebar and search for a model — try “Qwen”, “Gemma”, or “gpt-oss”.
  3. Pick a download size your machine can hold. LM Studio shows file sizes and marks models that fit fully in your graphics memory.
  4. Click Load, then start chatting.

Ollama vs LM Studio: which one should you pick?

OllamaLM Studio
InterfaceTerminal commandsFull app window with chat
Model sourceOllama’s own libraryHugging Face (much bigger choice)
Best forDevelopers, scripts, other appsBeginners, trying many models
Local APIBuilt in at localhost:11434Built in, OpenAI-compatible
PriceFreeFree

What fits in your RAM: 8GB, 16GB and 32GB

Windows itself uses 3 to 4 GB, so free RAM is what matters, not total RAM.

Your RAMRealistic modelsGood for
8 GBUp to about 3B–4B (llama3.2:3b, qwen3:4b)Short chats, simple summaries
16 GB7B–8B comfortably (llama3.1:8b, mistral 7B)Daily drafting, code help, longer chats
32 GB14B, and some 20B modelsBetter reasoning, bigger context

A 70B model needs roughly 48 GB of memory — a workstation, not a laptop. A 7B model that answers in two seconds beats a 14B model that crawls.

Privacy, and the honest limits of local models

Privacy is the real reason to run models locally: your prompts never leave your PC, there is no account to link them to, and the model works offline. But local models are weaker than frontier cloud models, so check important answers; they do not update themselves; and your files are only as private as your PC — local AI does not protect you from malware or an unlocked computer.

Frequently asked questions

How much RAM do I need to run AI models locally?
A Q4 model needs about 0.6 GB per billion parameters plus about 1 GB overhead: 8 GB of RAM fits 1B to 3B models, 16 GB fits 7B to 8B, and 32 GB opens up 14B.

Is Ollama really free, and does it send my prompts anywhere?
Yes — free and open source, no account required. When you run models locally, Ollama does not see your prompts or your data; the only network use is downloading models. Do not expose port 11434 to the internet.

Do I need a graphics card to run local AI models?
No. Every model can run on the processor alone; a graphics card is a speed upgrade. On a CPU-only machine, a 3B model is usable and an 8B model is slow but workable.

Ollama or LM Studio — which is better for a beginner?
LM Studio: you search, click, and chat in a normal app. Ollama is better if you live in the terminal or want other programs to use a local model through its API. Both are free.

The bottom line

Install Ollama, run ollama run llama3.2:3b, and you are chatting with a model on your machine in about ten minutes. Prefer buttons to commands? LM Studio does the same job. Match the model to your RAM — 3B on 8 GB, 8B on 16 GB — and you get fast, private answers without a subscription.

Sources:
– https://ollama.com/download
– https://ollama.com/library/llama3.2
– https://ollama.com/library/llama3.1
– https://ollama.com/library/mistral
– https://ollama.com/library/phi4
– https://lmstudio.ai/
– https://lmstudio.ai/docs
– https://www.honestedge.org/blog/ollama-beginners-guide
– https://www.dealparse.tech/articles/local-llm-ollama-guide/
– https://docs.warp.dev/guides/external-tools/how-to-set-up-ollama/
– https://www.fulltextmedia.se/en/running-llms-locally-lm-studio/
– https://localaiscout.com/lm-studio/