AI assistants don’t just live in the cloud anymore. Today you can download a language model and run it on your own computer, offline and without your questions ever leaving home. In this guide we look at what hardware you need, what quantization means and how to get your first model running with Ollama or LM Studio.
In short
- A local model works without internet and your data never leaves your computer.
- What matters most is memory: the graphics card’s VRAM, or unified memory on a Mac with Apple silicon.
- With 16 GB you can comfortably use small and medium models (7 to 14 billion parameters).
- Quantization (Q4, Q8…) shrinks the model in exchange for a small loss in quality.
- Ollama is ideal if you’re comfortable in the terminal; LM Studio, if you prefer a graphical interface.
What is a local AI model?
A language model (LLM) is, at heart, a huge file full of numbers: the parameters it learned during training. When you chat with a cloud service, that file sits on someone else’s server. With local AI, the file is on your drive and your processor or graphics card runs it.
Models are measured by their number of parameters: 7B means 7 billion. More parameters usually give better answers, but they need more memory and run slower.
Don’t expect the same level as the largest cloud models. For summarizing text, drafting, translating, explaining code or acting as a personal assistant, a medium local model performs surprisingly well.
What computer do I need? RAM and VRAM
The whole model has to fit in memory while it responds. The faster that memory, the more words per second it generates.
- VRAM (the graphics card’s memory): the fastest option. A card with 8, 12 or 16 GB makes a big difference.
- Unified memory (Macs with Apple silicon): the CPU and GPU share the same memory, so a Mac with 16 or 32 GB works very well.
- System RAM: if the model doesn’t fit in VRAM, part of it is loaded into RAM and the CPU does the math. It works, but much more slowly.
If you don’t know how much free memory you have, on a Mac you can check it in Activity Monitor. And if you want to understand why memory matters so much, go over how a computer works on the inside.
| Model size | Approximate memory (Q4) | Suggested hardware |
|---|---|---|
| 1B–4B | 1–3 GB | Almost any laptop with 8 GB |
| 7B–9B | 5–6 GB | 16 GB of RAM or an 8 GB graphics card |
| 12B–14B | 8–10 GB | 12–16 GB graphics card or a 16–24 GB Mac |
| 27B–32B | 17–20 GB | 24 GB graphics card or a 32 GB Mac |
| 70B | 40 GB or more | Very high-end machines |
Always add some headroom: the operating system and the context (the conversation the model remembers) also take up memory.

Quantization, explained simply
A model’s parameters are originally stored with 16 bits each (FP16). A 7B model in that format takes up about 14 GB: too much for many computers.
Quantization means storing each number with fewer bits. It’s similar to reducing a photo’s color palette: with fewer shades the file is much smaller and, at a glance, you barely notice.
- Q8: 8 bits per parameter. Practically identical quality, half the size.
- Q4 (for example,
Q4_K_M): about 4 bits. It’s the most common sweet spot: a quarter of the size with a small loss. - Q2–Q3: heavily compressed. It fits on almost anything, but the model gets clumsy.
You’ll see these names in GGUF files, the most widespread format for local AI. Rule of thumb: choose the largest model that fits in Q4 over a small one in Q8.

Ollama or LM Studio: which to choose?
Both are free, run on Windows, macOS and Linux, and download the models for you.
| Ollama | LM Studio | |
|---|---|---|
| Main use | Terminal and a simple app | Full graphical interface |
| Finding models | Its own catalog with short names | Built-in search with GGUF variants |
| Choosing quantization | Model tags | Visual list, warns you if it won’t fit |
| Server for other apps | Yes, at localhost:11434 | Yes, compatible with the OpenAI API |
| Ideal for | Automation, coding, servers | Trying models without touching the terminal |
Ollama also works well with containers, so you can set it up on a home server with Docker if it has enough memory (a Raspberry Pi can only run very small models).
Your first model, step by step
With Ollama
- Download the installer from Ollama’s official website (on Linux, a script is all you need).
- Open a terminal. If you’re not used to it, here are the basic terminal commands.
- Download and start a small model:
ollama run llama3.2
- Type your question and press Enter. To exit, type
/bye.
Other useful commands:
ollama list # downloaded models
ollama pull gemma3 # download another model without opening it
ollama rm llama3.2 # delete a model and free up space
ollama ps # which model is loaded and whether it uses the GPU
The catalog changes often: check Ollama’s website to see which models and sizes are available at any given time.
With LM Studio
- Install LM Studio from its official website.
- Open the model search and type a name (for example, a 7B or 8B model).
- Choose a Q4_K_M variant. The app marks the ones that fit on your computer.
- Go to the chat tab, load the model and start typing.
A tip for both: models weigh several gigabytes, so it’s a good idea to have free space on a fast SSD.
Privacy: what you gain with local AI
The big advantage is that the conversation never leaves your computer. You can paste work documents, personal notes or private code without sending them to any server.

Limits and best practices
Keep a few caveats in mind:
- You only need internet to download the app and the models. After that you can go offline and it will keep working.
- Only download models from the official catalogs or well-known repositories.
- A local model also makes mistakes and invents facts. Verify anything important, just as with any AI. To get more out of it, apply the same techniques for good prompts.
- If you open the Ollama or LM Studio server to your network, anyone on the network could use it. Leave it on
localhostunless you know what you’re doing.
Frequently asked questions
Do I need a graphics card to use local AI? It’s not required. Small models run on the CPU and RAM alone, though more slowly. A graphics card with plenty of VRAM or a Mac with Apple silicon greatly improves speed.
How much disk space do the models take up? Roughly the same as the memory they need: 2 to 10 GB for small and medium models in Q4, and over 40 GB for very large ones.
Is it legal to use these models? Yes. Open models are published under licenses that allow personal use. Some place conditions on commercial use, so check the license if you’re going to use it in a business.
Can I use Ollama and LM Studio at the same time? Yes, but each one keeps its own models, so you’ll be duplicating space. And if both load a model at the same time, they compete for the same memory.



