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.

How To Run Local AI Models on Your Laptop (Explained)

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.

  1. Go to lmstudio.ai/download, pick your operating system, and install it.
  2. Open it and click Get Started.
  3. 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.

  1. Go to ollama.com/download and find the install instructions for your operating system.
  2. Open your terminal. On a Mac, press Command + Space and type “Terminal.” On Windows, open PowerShell.
  3. 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.
  4. 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:
Terminal window
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:

  1. 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.
  2. Watch where you download models from. Stick to trusted publishers and reputable model libraries, not random files somebody online swears are amazing.
  3. 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.

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!