Local LLM: how to run AI on your PC for free and offline
Running a local LLM means having AI on your PC, free and without internet. See how to use Ollama and LM Studio and which model fits your computer's memory.
NinaKalkazu.org

Listen to this article
Narrated by Thalita
You're on a plane without Wi-Fi and want to review a text. Or you have a confidential contract and don't want to paste it into an AI website. Or you're tired of the free plan limit. For all three cases there's the same solution: a local LLM, an artificial intelligence that runs inside your own computer.
This guide shows how much memory you need, how to install everything for free with Ollama or LM Studio, and includes a straightforward table: your PC has X GB, run model Y.
Quick summary: the answer in 30 seconds. Running a local LLM means downloading a free AI model and using it on your computer, without internet and without sending anything out. LM Studio is the easiest path, all point-and-click; Ollama is preferred by programmers. With 8 GB of RAM you can run small models; with 16 GB, models good for daily use. A graphics card speeds things up but isn't mandatory.
Index
- What is a local LLM?
- How much memory and graphics card do I need for a local LLM?
- Your PC has X GB: which model to run?
- Ollama or LM Studio: which to choose?
- How to install LM Studio, step by step
- How to run an AI on Ollama, step by step
- Privacy advantages of offline AI (and what you lose)
- Is it worth it?
- Frequently asked questions
What is a local LLM?
A local LLM is a language model, the same technology behind ChatGPT, installed and running on your computer. You download the model file once and then chat with it without depending on any server. It works offline, has no monthly fee, and what you type doesn't leave the machine.
LLM stands for large language model: a program trained on a mountain of text to predict the next word, which allows it to chat, summarize, and write. Kalkazu.org explains this mechanism in how AI understands what you ask.
All this is possible because Google, Meta, Alibaba, IBM, and OpenAI release open weights models, with the trained "brain" free to download. You need the model (a 1 to 20 GB file) and a program that loads it: Ollama or LM Studio.
In one sentence: it's like downloading a movie instead of streaming it; the model is the movie, Ollama or LM Studio is the player, and it plays even in airplane mode.
How much memory and graphics card do I need for a local LLM?
What matters most is RAM. Think of the disk as the closet and RAM as the work desk: the model is stored in the closet, but only works when opened entirely on the desk. With 8 GB of RAM you can run small models; with 16 GB the experience gets good; 32 GB opens up medium models.
The model is made of billions of numbers, the parameters, like adjustment knobs that training tuned one by one. In "Qwen 3.5 9B", the "9B" means 9 billion parameters. More parameters, more knowledge and more memory occupied.
Without compression, each parameter takes 2 bytes: 9 billion × 2 bytes gives 18 GB. That's why programs use versions with quantization, a compression that rounds the numbers, like a photo sent through WhatsApp: loses a bit of detail and gets much smaller. Compressed, Qwen 3.5 9B downloads at 6.6 GB in the Ollama library (checked on 10/27/2026). The practical calculation: about 0.7 GB per billion parameters.
How to find out how much memory your PC has
On Windows 11, open Settings > System > About and see "Installed RAM"; the same screen shows the Windows version. For the graphics card, open Task Manager (Ctrl + Shift + Esc), go to Performance > GPU (GPU is the graphics card chip) and look for "Dedicated GPU memory".
On Mac, click the Apple menu and About This Mac. On Macs with Apple silicon (M1 onwards), the memory is unified: processor and graphics share the same desk, and AI takes advantage of everything. That's why a 16 GB MacBook usually performs better than a 16 GB Windows notebook.
Graphics card: mandatory or not?
Not mandatory. On a regular laptop, without a dedicated graphics card, the model runs on the processor: small ones respond at a usable pace, and 8 or 9 billion ones write slowly, word by word. The card has its own memory, the VRAM (video memory): if the model fits entirely in it, speed skyrockets.
LM Studio recommends on Windows 16 GB of RAM and 4 GB of VRAM; for Mac, the same page admits 8 GB with smaller models. If the difference between GPU and graphics card still confuses you, see Kalkazu.org's guide on GPU and graphics card.
Your PC has X GB: which model to run?
With 8 GB, run a model up to 4 billion parameters; with 16 GB, one of 8 or 9 billion; with 32 GB, one of 20 to 26 billion. Our rule: the model file should occupy at most half the RAM, because the system and other programs also need space. The sizes are from the Ollama library, checked on 10/27/2026.
| Your PC's memory | What you can do | Suggested models (download size) |
|---|---|---|
| 4 GB | Only testing, with weak responses | Qwen 3.5 0.8B (1.2 GB) · Llama 3.2 1B (1.3 GB) |
| 8 GB | Simple chat, short summaries, translation | Llama 3.2 3B (2.0 GB) · Granite 4.2 3B (2.2 GB) · Qwen 3.5 4B (3.3 GB) |
| 16 GB | The sweet spot: texts, studies, emails | Granite 4.2 8B (5.3 GB) · Qwen 3.5 9B (6.6 GB) · Gemma 4 E4B (6.6 GB) |
| 32 GB | Medium models, good for work and code | gpt-oss 20B (14 GB) · Gemma 4 26B (16 GB) |
| 64 GB or more | The largest that fit on a home PC | Qwen 3.5 27B (17 GB) · Gemma 4 31B (19 GB) · Qwen 3.5 35B (22 GB) |
With a graphics card, add VRAM to the count: 16 GB of RAM plus an 8 GB card comfortably runs the entire 16 GB line. When in doubt, start with the smallest in your line. And adjust expectations: a 9 billion model writes well, but doesn't match paid ChatGPT in difficult reasoning.
Ollama or LM Studio: which to choose?
If you've never opened a terminal (the window where you type commands), start with LM Studio: it has a model store with search, warns which ones fit your PC, and works entirely by clicking. If you program or want to connect AI to other applications, Ollama is lighter and is the standard among developers. Both are free for local use.
| Criterion | LM Studio | Ollama |
|---|---|---|
| For whom | Beginner, who prefers windows and buttons | Programmer, who likes terminal |
| How to choose model | Internal store with compatibility warning | List on website and app, or terminal command |
| Systems | Windows, Mac (Apple silicon) and Linux | Windows, Mac and Linux |
| Price | Free, including at work | Free and unlimited on your PC |
LM Studio is free at work too. Ollama only charges those who use larger models running on their servers, starting at $20 per month; the pricing page guarantees unlimited local use (checked on 10/27/2026).
How to install LM Studio, step by step
Installing LM Studio takes about ten minutes, most of it waiting for the model download, and doesn't require typing any commands. After that, it works without internet.
- Go to lmstudio.ai, download the installer and install like any program. The site now calls the app LM Studio Bionic, a version with agent features; chatting with local models remains the same.
- Open the app and go to model search (Discover). It shows the size of each model and whether it fits your memory.
- Choose a model from your line in the table, like Qwen 3.5 4B or 9B, and click download.
- On the chat screen, select the model at the top and wait for it to load.
- Ask your question. You can drag a PDF: according to LM Studio documentation, it's processed on the machine itself.
Response too slow? Switch to a smaller model.
How to run an AI on Ollama, step by step
Ollama has an app with a chat window on Windows and Mac, but its strength is in the terminal: in two commands you download a model and start chatting.
- Download the installer at ollama.com/download. On Windows, it requires Windows 10 22H2 or newer and runs in the background, with an icon near the clock.
- Open PowerShell (Windows) or Terminal (Mac).
- Type
ollama pull qwen3.5:4bto download the model (3.3 GB). - Type
ollama run qwen3.5:4band when>>>appears, write your question. - To know if the graphics card is working, run
ollama psin another window: the "PROCESSOR" column shows GPU (graphics card), CPU (processor), or the split between the two.
Prefer a window? Open the app, choose the model from the list and chat; according to the Ollama announcement, it accepts dragging text and PDF files.
Privacy advantages of offline AI (and what you lose)
The big advantage is that your conversations don't leave the computer: there's no server keeping history, no company trains models with what you write, and nobody changes the AI without you knowing. In exchange, you accept a less intelligent model.
The Ollama FAQ is direct: running locally, the company doesn't see what you type or your data. LM Studio states the same. For those dealing with contracts, medical records, or client data, this makes a difference.
What you lose: intelligence (no 16 GB model matches paid ChatGPT, Claude, or Gemini in complex tasks), speed without a graphics card, disk space, and the convenience of having someone update everything for you.
Is it worth it?
It's worth it for those with a concrete reason: privacy, work without internet, technical curiosity, or savings on simple tasks. It doesn't replace ChatGPT for those who just want the best possible answer. For most people, the best approach is to use both.
| Profile | Worth it? | Where to start |
|---|---|---|
| Student with 8 GB notebook | Yes, for summaries and review | LM Studio with Qwen 3.5 4B |
| Those dealing with confidential data | Yes, it's the main reason | LM Studio or Ollama with 16 GB line model |
| Programmer | Yes, to test without paying per use | Ollama with gpt-oss 20B or Qwen 3.5 |
| Those who just want the smartest answer | Not as main tool | Stay in the cloud and use local as backup |
Frequently asked questions
Is a local AI really free and offline?
Yes. Ollama, LM Studio, and open weights models are free; what remains is the cost of hardware and energy. Internet is only needed to download the program and model.
Can you run it on a notebook with 8 GB of RAM?
Yes, with models up to about 4 billion parameters, like Qwen 3.5 4B. Close the browser first. The response will be slower and simpler than ChatGPT's, but works for summaries.
Do local models speak Portuguese well?
Larger and more recent models usually do well; very small ones make more mistakes and sometimes switch languages mid-response. Before adopting a model, test it with questions from your daily life, in Portuguese.
Is it safe to download models from the internet?
Downloading through official libraries, from within Ollama or LM Studio, is the safest path. Avoid files from unknown sites.
Running an AI on your own computer is no longer a specialist thing: check your PC's memory, find your line in the table, and do your first test today. To go further, follow Kalkazu.org's coverage of artificial intelligence.





