Best Open Source AI Models to Run Locally on Your PC
Skillpedia team · updated 2026-12-01 · 11 min read
Short answer: To run local AI on an average PC, start with a small model of 3 to 8 billion parameters, such as Llama 3.2 3B, Gemma 2 9B, Qwen 2.5 7B, or Mistral 7B. With 8 GB of RAM, you can already run the smallest ones. With 16 GB or a decent graphics card, you can run the 7B to 14B models comfortably.
Local AI means using an artificial intelligence model installed on your own computer. It doesn't depend on the internet, has no monthly fee, and your text never leaves your machine. A few years ago, this required a lab computer. Today, an ordinary laptop can handle the smaller models.
The question everyone asks is which model to download. There is no single best one for everyone. The choice depends on three things: your computer, the task you want to do, and whether the model handles your language well. This guide will help you make that choice. For installing and setting up the tool, see our Ollama guide.
Table of Contents
- Why use AI on your own PC?
- What do you need to run local AI?
- How do you choose the best model for you?
- Step by step: how to install and run
- Table of popular models for beginners
- What else can you do?
- Skills that help with this
- Frequently asked questions
Why use AI on your own PC?
ChatGPT, Claude, and Gemini run on servers owned by large companies. A server is a very powerful computer, running all the time, that processes your request and sends back the answer. It's like ordering food at a restaurant: the kitchen is far away, and you only get the plate.
Local AI is cooking at home. You download the model (the ingredients), use your computer (the stove), and do everything right there. The advantages are:
- Privacy: contracts, client data, and personal notes never leave your computer.
- No cost per use: once downloaded, there is no monthly fee and no charge per question. You only use electricity.
- Works offline: you can summarize a document on a plane or somewhere with no signal.
- You set the rules: nobody changes the model or your daily usage limit overnight.
There is a downside, too. The models that fit on an average PC are smaller than the large online models. They make more mistakes on hard questions, reason less, and can be slow on weak machines. For everyday tasks, like rewriting an email, summarizing a text, or brainstorming ideas, they work well.
If you want to understand what a language model is on the inside, see what is an LLM.
What do you need to run local AI?
Before downloading anything, check whether your computer can handle it. There are three parts.
1. Hardware
- RAM: this is the computer's workbench. The entire model has to fit in it, or in the graphics card's memory, while it runs. With 8 GB, you can run small models. With 16 GB, it's comfortable. With 32 GB or more, you can try the larger ones.
- Graphics card (GPU): it speeds up responses a lot. NVIDIA cards are the most widely used for this, and Macs with Apple chips also perform well. Without a dedicated graphics card, the processor does the work, just more slowly.
- Disk space: each model takes between 1 GB and more than 40 GB. To get started, set aside about 10 to 20 GB.
2. A program to run the model
You don't talk directly to the model file. You need a program that loads that file and shows a chat window. The best-known ones are Ollama, LM Studio, and GPT4All. They are all free and hide the complicated parts.
3. The model itself
This is the file that holds the AI's knowledge. It's downloaded from a repository, which works like an online library of models. Hugging Face is the largest one, and Ollama has its own library with ready-to-use models.
A rule of thumb for memory
Almost every local model is quantized. Quantization is a kind of compression: the model becomes much smaller and loses a bit of quality. The most common version, called Q4, takes up roughly 0.6 GB for each billion parameters. In practice:
| Model size | Approximate file (Q4) | Recommended RAM |
|---|---|---|
| 1B to 3B | 1 to 2 GB | 8 GB |
| 7B to 9B | 4 to 6 GB | 8 to 16 GB |
| 12B to 14B | 7 to 9 GB | 16 GB |
| 27B to 34B | 16 to 20 GB | 32 GB |
| 70B | about 40 GB | 64 GB or more |
These are approximate values. The system and other open programs also use memory, so leave some room.
How do you choose the best model for you?
Set aside complicated rankings for now. The right question is: does it run well on my computer for what I want to do? Answer three questions.
What is your main task?
- Chatting and writing: choose general-purpose models that do well in your language, such as Qwen, Gemma, and Llama.
- Programming: choose a model trained for code, such as the Coder versions of Qwen and DeepSeek.
- Reading and summarizing long documents: choose models with a large context window. Context is the AI's short-term memory, meaning how much text it can read at once.
- Understanding images: you need a multimodal model, which can see photos and screenshots. These tend to be heavier.
How much can your PC handle?
The number followed by B in the name is the number of parameters, in billions. The bigger it is, the smarter and heavier the model.
- Basic laptop, 8 GB of RAM: models from 1B to 4B. Examples: Llama 3.2 3B, Gemma 2 2B, Phi-3 mini.
- Mid-range PC, 16 GB of RAM: models from 7B to 14B. Examples: Qwen 2.5 7B, Mistral 7B, Gemma 2 9B.
- Gaming PC or Mac with plenty of memory, 32 GB or more: models from 27B to 34B. The 70B models need a lot of memory.
Does it understand your language?
Many models were trained mainly on English. Smaller models struggle most with this: they understand the question but answer with awkward sentences or mix in English. Try a simple test. Ask it to rewrite one of your paragraphs in a more formal tone. If the text comes out natural, the model is a good fit.
For a mid-range PC, a good starting point is Qwen 2.5 7B or Gemma 2 9B for text, and Llama 3.2 3B if your computer is weaker.
New versions of these families come out often. Before downloading, take a look at the Ollama library and check the most recent generation of the model you chose. The rules for size and memory stay the same.
5 new skills a week. 1 minute to read.
The most viewed skills of the week, explained simply. Free.
Step by step: how to install and run
The simplest path is Ollama. Here is the summary:
- Download the installer from the official Ollama website and install it like any other program.
- Open the Terminal. On Windows, that's PowerShell or Command Prompt. On a Mac, it's Terminal.
- Type
ollama run llama3.2and press Enter. It downloads the 3B model and opens the chat. - Type your question in your language after the
>>>prompt. - To exit, type
/bye.
To switch models, use the name shown in the Ollama library, for example ollama run qwen2.5:7b or ollama run gemma2:9b.
The full step-by-step guide is in our Ollama guide. There you'll learn how to delete models you no longer use, how to use a chat screen similar to ChatGPT's, and how to connect Ollama to MCP and skills.
If you'd rather not use the Terminal, LM Studio does everything with clicks. You search for a model in a list, download it, and chat in the app window.
Table of popular models for beginners
| Model (lightweight version) | Approx. size | Good for | Note |
|---|---|---|---|
| Llama 3.2 (1B or 3B) | 1 to 2 GB | Conversations, short texts, ideas | From Meta. Lightweight and a good first test. |
| Qwen 2.5 (7B) | ~5 GB | Text, summaries, reasoning | From Alibaba. Works well in many languages, including Portuguese. |
| Gemma 2 (2B or 9B) | 1.5 to 6 GB | Conversations and writing | From Google. The 9B version has good quality for its size. |
| Mistral (7B) | ~4 GB | General use, following instructions | Very efficient. Portuguese is decent. |
| Phi-3 mini | ~2 GB | Very weak computers | From Microsoft. Impressive for its size, but better in English. |
| Qwen 2.5 Coder or DeepSeek-Coder | 1 to 5 GB | Programming only | Code specialists. For general chat, choose the others. |
The sizes are for the most common compressed versions. If a model freezes or becomes too slow, step down to a smaller size.
A note on the open source label. Many of these models have open weights. This means you can download and use them freely, but each has its own license. For personal use, there is almost never a problem. If you plan to use one inside a product for your company, read the model's license first.
What else can you do?
Once you get the hang of it, you can go beyond simple chat:
- Chat with your documents: instead of pasting in the whole text, you use a technique called RAG. The AI finds the right passages in your files and answers based on them. Learn more in RAG in AI.
- Connect to other tools with MCP: MCP is a standard that links AI to programs and services, like a universal cable. This lets it read files or save notes. See what is MCP.
- Use skills: skills are instruction packages that teach the AI to do a task in a specific way, such as following your brand's tone. Start with Claude skills and the open Agent Skills standard.
- Mix local and online: use the local model for what is confidential or repetitive, and a stronger online model for what is difficult. It's the best of both worlds.
An honest warning. Small models handle tools and long instructions worse than the large online models. If a task requires many steps, test it first on a 7B model or bigger.
Skills that help with this
These skills help people who combine local AI with online models get more out of both:
- council-multi-model-affaan-m: has the AI consult more than one model and compare the answers before concluding. Useful when you want a second opinion on an answer from your local model.
- cost-aware-llm-pipeline-affaan-m: helps decide when to use a cheap or local model and when it's worth paying for a stronger one. Good for anyone who wants to control costs.
- prompt-optimizer-affaan-m: rewrites your requests more clearly. This makes a difference with small models, which understand less when the request is vague. To learn to do this on your own, see prompt engineering.
Want to see more options? Search for skills in the directory.
Frequently asked questions
Do I need to be a programmer to use local AI? No. LM Studio works entirely with clicks. Ollama requires a few short commands, which you can copy and paste.
Is it illegal to download these models? No, as long as you download them from official sources, such as the Ollama library, Hugging Face, or the website of the model's creator. They are released openly on purpose. Just check the license if you plan to use them commercially.
Is local AI as good as ChatGPT or Claude? The models that fit on an average PC fall short of the largest online models, especially in reasoning and long tasks. For summarizing, rewriting, and generating ideas, they do the job well. To compare online options, see best AI models.
Will local AI slow down my computer? If the model is too big for your memory, the PC will slow down or the program will close. Start with 3B or 7B models and move up in size only if you have room to spare.
Can I run it on a phone? Some apps run very small models on phones, but the experience is limited and the phone heats up. For real use, a computer is still the better option.
Read also
- Ollama: complete guide: install, run models, and connect to MCP and skills.
- What is an LLM: understand what's inside an AI model.
- Best AI models in 2026: which online model to use for each task.
- Best free AIs: no-cost options for people who don't want to install anything.
- Best AI for programming: if your focus is code.
Free MCP
Give your AI 15,000+ skills, for free
Plug the Skillpedia MCP into Claude, Cursor, Codex or any AI. Before each task, it finds the right skill on its own.
- 01Get your free key
- 02Paste one line into your AI
- 03Ask for any task
Full guide on this topic: Best AI Models in 2026: Which One to Use for Each Task
5 new skills a week. 1 minute to read.
The most viewed skills of the week, explained simply. Free.