Local AI: Beginner

Go from zero to a private AI running on your own computer in about 15 minutes. No coding required.

Time ≈ 15 minWorks on Windows · macOS · LinuxCost free

Last updated November 15, 2026.

What local AI is

An AI model is, in the end, a big file full of numbers. A cloud service like ChatGPT keeps that file on its servers and answers your questions over the internet. With local AI you download a model and run it yourself.

  • Private. Your prompts and documents never leave your machine.
  • Works offline. After the download you don't need an internet connection.
  • No subscription. It is free to run; you pay with your own electricity and hardware.

The trade-off is honest: models that fit on a normal computer are smaller than the huge ones in the cloud. They are great for chatting, summarizing, brainstorming and explaining code, and weaker at hard reasoning and long tasks.

Local AI Architecture and Memory RequirementsFlowchart showing a question processed locally on your computer through Ollama and a memory-loaded model to generate an answer, with memory size guidance below.Nothing leavesyour machineModel fileDownloaded oncefrom the internetYour questionPrompt inputOllamaRuns on your computerThe modelLoaded in memory(RAM or graphics card)The answerGenerated locallyHARDWARE MEMORY TIERS8 GBSmall models16 GBAbout 9B models32 GB+About 20B models
Illustrative diagram: How local AI processes queries on your computer using Ollama and memory-loaded models while keeping data completely private.

What you need

The one number that matters is memory. A model has to fit in memory to run at a useful speed, and as a rule of thumb it needs a bit more memory than the size of its file.

  • On a PC with a dedicated graphics card, what counts is the card's memory (VRAM). Without one, your normal RAM is used (slower, but it works).
  • On an Apple Silicon Mac, the processor and graphics share one memory pool, so your total RAM is what counts.
Memory availableA good first modelRough size
8 GBllama3.2:3ba few GB
16 GBqwen3.5:9baround 6 GB
32 GB or moregpt-oss:20baround 12–14 GB

Treat the table as a starting point, not a promise: sizes are approximate, and each model's page on ollama.com/library lists the exact download size. Start small. You can always try a bigger one later.

Install

We'll use Ollama, the simplest tool for this. It runs on all three systems and handles downloading and running models.

Option A: one command

Open PowerShell and run:

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

Option B: installer

Download OllamaSetup.exe from ollama.com/download and run it.

Close and reopen your terminal, then check it worked:

ollama --version

Run your first model

This downloads a small model (roughly 2 GB) the first time, then opens a chat right in your terminal:

ollama run llama3.2:3b

When you see the >>> prompt, type a question and press Enter. Type /bye to leave.

A few commands worth knowing:

ollama list           # models you have downloaded
ollama pull MODEL     # download a model without chatting
ollama ps             # what is loaded in memory right now
ollama rm MODEL       # delete a model to free disk space

That's it: you are running AI on your own computer. Disconnect your Wi-Fi and ask something else if you want to see it work offline.

Pick a better model

Once the small model works, try one that matches your memory (see the table above):

ollama run qwen3.5:9b      # about 16 GB of memory
ollama run gpt-oss:20b     # 32 GB or more

A good habit: ask the same question to two models and compare. Benchmarks are useful, but nothing replaces testing with the things you actually do.

Model names and sizes change quickly. To see what is new, browse the Ollama library and look for sizes that fit your memory.

Five ideas worth knowing

You can use local AI without any of this. But five ideas explain almost everything you'll run into. (The advanced guide goes deeper on each.)

1. Parameters: the “9b” in a model's name

It means 9 billion parameters, the numbers the model learned. More parameters usually means a smarter model, but a bigger file that needs more memory.

2. Quantization: squeezing the model

Models are shrunk by storing their numbers with fewer bits. A “Q4” model uses about 4 bits per number instead of 16, which cuts the size by roughly three quarters for a small loss in quality. That is why a model that "shouldn't" fit often does.

3. Memory is the limit, and also the speed

Besides fitting, the model has to be read from memory for every word it writes. Faster memory means faster answers, which is why a graphics card feels so much quicker than plain RAM.

4. Context window: the model's short-term memory

The context is how much text the model can keep in mind at once: your conversation plus any documents you give it. A bigger context uses more memory.

5. “Thinking” models and mixture of experts

Some models write out their reasoning before answering. They are better at logic and maths but slower. Others use a mixture of experts (MoE): a big model where only a small part works on each word, so it runs much faster than its size suggests.

What it can't do (yet)

Being honest about the limits will save you frustration.

  • Great at: chatting, drafting, summarizing, brainstorming, explaining code, translating.
  • Weaker at: hard reasoning, very long documents, and recent events (a model only knows what it learned before it was trained).
  • Unreliable at using tools. In my own tests, models in the 8–9B range had real trouble when asked to act (add a calendar event, run a command). A small model can confidently say it did something it didn't, so check before you trust it.

Use it from other apps

Ollama also runs a small server on your own computer, at http://localhost:11434, so other programs can talk to it. For example:

curl http://localhost:11434/api/chat -d '{
  "model": "llama3.2:3b",
  "messages": [{ "role": "user", "content": "Why is the sky blue?" }],
  "stream": false
}'

Many apps (note-takers, editors, chat interfaces) can connect to it. Since it only listens on your own machine, nobody else can reach it.

If something goes wrong

  • ollama not found: close and reopen your terminal, or log out and back in.
  • Very slow or the computer freezes: the model is too big for your memory. Close other apps or try a smaller model.
  • Download stuck: it's several GB. Check your connection and run the same command again; it resumes.
  • Free disk space: ollama rm MODEL deletes models you don't use.

When you're ready to go further (understand the speed, tune it, or run it on a home server), the advanced guide is next.