How To Run Local AI Models on Your Laptop (Explained)
What local AI actually is, how to tell if your laptop can run a model, how to get one running with LM Studio or Ollama, how it stacked up against ChatGPT in three tests, and three privacy checks before you trust it with sensitive stuff.
It took me just a few minutes to get an AI running on my laptop, for free. Then I switched my Wi-Fi completely off, and it kept going. It wrote me a whole email with zero internet.
Thatâs local AI. Instead of your prompts going off to some companyâs servers, the AI model runs right on the computer you already own. No monthly bill, and no engineering background required. If you use ChatGPT every day and there are things youâd rather not paste into a chatbot, this oneâs for you.
Iâve had local AI set up on this laptop for months now. And if privacy is the reason youâre here, stick around for the end, because thereâs something important you need to know before you trust a local model with your sensitive info.
What even is local AI?
When you type into ChatGPT, your message travels over the internet to OpenAIâs servers. Those servers work out the answer and send it back to you.
With local AI, you download the AI model itself, and your own computer does all of that work. That gets you:
- Privacy: your prompts donât have to leave your machine
- Offline access: once the model is downloaded, it doesnât need the internet to answer you. Planes, the ocean, terrible hotel Wi-Fi, all fine. (As someone whoâs always traveling, this one comes in handy.)
- Control over your data
- No monthly subscription
Can your laptop actually run one?
My favorite way to check is canirun.ai. It reads your computerâs hardware right in your browser, no account needed, and grades which models should run well on it. Think of those grades as a really good first guess, not a promise. It detected my M1 Pro Mac with 16 GB of memory and gave me quite a few options.
Two things matter here: storage and memory.
An AI model is basically a big file full of learned patterns. When you download one, youâre downloading the modelâs brain onto your machine, and that file takes up storage space just like an app or a game would.
But when you actually run the model, your computer has to load it into memory (RAM) so it can think and respond. If the model is too big for your available memory, it might run super slow, fail to load, or crash altogether.
In short: storage is where the model lives, and memory is how it runs.
How to read those model names
Model names look like someone fell asleep on the keyboard, but theyâre easier than they look. I promise.
Take Qwen2.5-7B, a coding model from Alibaba. That 7B means 7 billion parameters. Parameters are the numbers a model learns during training. More parameters usually means a more capable model, but it also needs more memory. On canirun.ai, a 3B model needs around 2 GB of memory, a 7B around 4 GB, and a 70B around 36 GB, which is why that last one is not happening on most laptops.
Then there are labels like Q4 and Q8. Thatâs quantization, which is basically compressing the model so it fits on normal computers, kind of like compressing a big photo. Lower numbers take less memory and lose a little quality. Higher numbers keep more quality and need more memory. Q4 is usually a good place to start. The Q4 version of that Qwen model needs around 4.1 GB, and itâs graded to run really well on my laptop. If youâve got 8 GB, try the smaller Q2_K, which needs about 2.9 GB.
Donât grab the biggest model that technically fits. Your other apps and the AIâs conversation need memory too. A model can be free and still be too heavy for your laptop, and ask me how I know this.
My golden rule: start with the smallest model that does your task well. You can always download a bigger one and compare later.
If you want a more detailed breakdown of parameters, quantization, and the different types of models you can run, I wrote that up in A Beginnerâs Guide to Running AI Models Locally.
Option 1: LM Studio (no code)
A model on its own is just a very big file. You need an app that can open it and let you talk to it. LM Studio gives you a chat window, just like ChatGPT.
- Go to lmstudio.ai/download, pick your operating system, and install it.
- Open it and click Get Started.
- Download the model it recommends. Mine suggested Googleâs Gemma 4 E4B, about a 6.9 GB download. Yours might be different, and thatâs totally fine. Just remember the download size is storage. It still needs enough memory to run.
Inside, Chat is where you talk to your models, Model Search finds new ones, and the Library shows what youâve already got.
I said hi, Gemma said hello back. Then I turned off my Wi-Fi and asked it to draft a quick follow-up email about a shoe order. I asked for one quick email and Gemma decided I needed three versions and a whole checklist. The enthusiasm, though. But honestly? They were usable, and it didnât invent an order number. It did spend 23 seconds thinking about it, so weâre not breaking any speed records.
If a model wonât load or itâs painfully slow, close your other apps and try again. Still struggling? Go back and pick a smaller or quantized model.
Option 2: Ollama (in the terminal)
If youâve never used a terminal: itâs just giving your computer instructions by typing commands instead of clicking buttons. Youâre only copying a couple of them.
- Go to ollama.com/download and find the install instructions for your operating system.
- Open your terminal. On a Mac, press Command + Space and type âTerminal.â On Windows, open PowerShell.
- Paste the install command from Ollamaâs site and press Enter. Youâre pasting something into your computer, so make sure it came from Ollamaâs official website.
- Head to Ollamaâs model library, pick a model, and copy the run command it gives you. I tried Alibabaâs Qwen 3.5, the 9B version. The command looks like this:
ollama run <model-name>Ollama downloads the model, loads it up, and you chat right there in the terminal.
With the Wi-Fi off, I asked it todayâs date and time. It thought. And thought. And then told me it doesnât know what day it is. I asked that on purpose, because it shows something important: an offline model only knows what it learned during training. For news, weather, or even the current time, it needs a tool or data source connected to it, and we hadnât set any of that up.
Local AI vs. ChatGPT: three tests
I gave Gemma (on my 16 GB Mac) and ChatGPT the exact same tasks.
1. Rewrite a long client email to be friendly, under 110 words, keeping every important detail. Gemma kept the details (screenshots expected Tuesday, two videos on hold, Friday deadline at risk), though âour Friday handoff deadline is becoming at riskâ is not a sentence Iâd send a client. ChatGPT was noticeably faster and read more naturally. ChatGPTâs round, but Gemma wasnât far off.
2. Add up nine payment emails with traps: a duplicate receipt, a pending authorization, and one refund that hadnât gone through. Both landed on $100.60 and caught every trap. Gemma didnât follow my signed-amount formatting (charges positive, refunds negative), and ChatGPT did, faster. Both got the math right. Gemma held it down.
3. Schedule an impossible workshop. 9:00 to 10:15, seven activities with exact durations in a set order, and a guest presenter only free 9:40 to 9:50. Everything before the guest takes 45 minutes, so the plan canât work. After almost two minutes, Gemma spotted that, but its fix deleted the five-minute welcome and ended at 10:10, breaking the rules I gave it. ChatGPT spotted the same conflict faster and told me what would actually have to change instead: move the guestâs window later, or start the whole workshop earlier. ChatGPTâs round.
Overall Iâm impressed with Gemma. ChatGPT was faster across all three and I preferred it for writing and scheduling. But this is one local model on one laptop, so yours could look very different. Local AI doesnât have to beat ChatGPT at everything to be useful. It just has to handle the work you actually need it for.
Three privacy checks before you trust it
Local AI processing your prompts on your own laptop is great. But running AI locally and keeping your info private arenât automatically the same thing. Before you throw sensitive documents at it:
- Make sure youâre actually using a local model. Ollama also supports cloud models, and if you pick one, your prompts go to somebody elseâs servers. Easy check: disconnect from the internet and see if it still chats.
- Watch where you download models from. Stick to trusted publishers and reputable model libraries, not random files somebody online swears are amazing.
- Check whatâs allowed to connect to your model. LM Studio has a model server feature that lets other programs use your local AI, and it can be set to accept connections from other devices on your network. If youâre just chatting, you donât need it on. Cisco security researchers found more than 1,100 Ollama servers sitting open on the public internet. If you ever need this feature, learn who can connect before you turn it on.
You donât need to be paranoid about everything. The whole point is that local AI gives you more control over where your information goes.
So, is it worth it?
Absolutely. We got two AI models running on a regular laptop, completely offline, with no subscription. I still use cloud AI when I need something faster or more capable, and thatâs the nice part: you get options.
Try it and tell me in the YouTube comments which model you end up running. Iâm genuinely curious what your laptop can handle. And if you want AI that actually does things for you, Iâve got a video exploring Hermes agents where we install a local model too.
Want more breakdowns like this in your inbox? Join my newsletter.
Happy building!
Kedasha
This post was written with the help of AI from a human-written YouTube script.
-
How to Use Handy: Free Speech-to-Text That Runs on Your Own Computer
-
Teaching My Jamaican Mom How to Vibe Code
-
Stop Treating Claude Code Like a Chatbot
Related Posts:
Written by
Kedasha Kerr
Software Developer
in Chicago
I write about building with AI.
Let's stay connected! đ
Get the next post delivered to your inbox and follow me on Instagram for daily AI tips and coding content.
See you on Instagram!