Apps and Software

How to Run a Local AI Model on 8GB RAM, No GPU

run a local AI model on 8GB RAM

Here’s a small party trick for your old laptop: turn off the Wi-Fi, open a terminal, and ask an AI to summarize a paragraph. It answers. No account, no subscription, no data leaving your machine.

You don’t need a gaming rig for this. An ordinary laptop with 8GB of RAM and no graphics card can do it, as long as you pick the right size of model and set things up with a little care. This guide walks you through the whole thing, from checking your hardware to having your first conversation.

One honest warning before we start. A model that fits in 8GB won’t match the big cloud chatbots. It’s more like a quick, capable assistant than a genius. For summaries, rewrites, brainstorming and basic coding help, that’s plenty.

What 8GB can really handle

Windows and your background apps usually take up around half of an 8GB machine before you’ve opened anything. That leaves roughly 3 to 4GB for the AI. So the goal is a model that fits comfortably inside that gap.

Models are measured in parameters, which is a rough stand-in for size and brainpower. Most 8GB laptops do best with models between 1 billion and 4 billion parameters, compressed using a technique called quantization. Quantization shrinks a model’s file size so it fits in less memory, with a small loss in quality. You’ll often see it written as “Q4”, meaning 4-bit.

You can technically load 7B or 8B models on 8GB. Many guides say they fit. But they leave almost no room for anything else, and your laptop may start swapping to disk, which makes everything crawl. I’d skip them unless you’re patient.

As for speed, it’s measured in tokens per second. A token is roughly three-quarters of a word. Most reports for CPU-only 8GB machines land somewhere between 5 and 15 tokens per second for 3-4B models, with newer processors doing better. [VERIFY] At 10 tokens per second, text appears about as fast as you can read it. That’s a comfortable pace.

Pick the right brain for your laptop

Don’t download the first model you see. These four are good starting points for CPU-only machines. Sizes and speeds are approximate and vary with your processor. [VERIFY]

ModelSizeDownloadBest at
Phi-4 Mini3.8Baround 2.5GBReasoning, coding, general chat
Llama 3.2 3B3Baround 2GBEveryday writing and Q&A
Qwen3 1.7B1.7Baround 1.5GBSpeed on older laptops
Llama 3.2 1B1Baround 1.3GBVery old or very slow machines

My pick for most people is Phi-4 Mini. Several recent roundups name it the best CPU-only choice at this size. If it feels sluggish on your machine, drop to Llama 3.2 3B, then to a 1B or 2B model. Smaller is faster, but below about 2B the answers get noticeably weaker.

Step 1: Make some room

Close your browser. Seriously. Chrome with a dozen tabs can eat 2GB or more, which is a quarter of your total memory.

Then check your numbers. On Windows, press Ctrl + Shift + Esc, open the Performance tab, and click Memory. You want to see at least 3GB free once your usual apps are closed. Also make sure you have around 10GB of free disk space for the app and a model or two.

Step 2: Install Ollama

Ollama is a free tool that downloads and runs AI models for you. It handles the technical heavy lifting and works fine without a GPU.

  • Go to ollama.com and download the installer for your system.
  • Run it and follow the prompts. On Windows it’s a standard installer.
  • Open Command Prompt or PowerShell and type ollama –version. If you see a version number, you’re set.

On Linux, Ollama provides a one-line install script on its website. On a Mac, you download the app the same way as on Windows.

Step 3: Download and run your first model

Type this and press Enter:

ollama run phi4-mini

The first time, Ollama downloads the model, which takes a few minutes depending on your connection. When it finishes, you’ll get a prompt where you can type.

Try something simple: “Explain what a router does in three sentences.” Type /bye when you want to leave.

Congratulations. You now have an AI running entirely on your own laptop.

Step 4: Check your actual speed

Reviews are nice, but your laptop is what matters. Run the model with the verbose flag:

ollama run phi4-mini –verbose

After each reply, Ollama prints some stats. Look for the line called eval rate. That’s your tokens per second. Under 4 or 5 feels slow. Above 8 or 10 feels smooth.

If yours is too slow, try ollama run llama3.2:3b or a 1B model and compare.

Step 5: Squeeze out more performance

A few small habits make a big difference on 8GB.

Keep other apps closed: This is the single biggest win. Memory is your bottleneck, not your processor.

Free memory when you’re done: Ollama keeps a model loaded for a few minutes after your last message. To see what’s loaded, run ollama ps. To unload it right away, run ollama stop phi4-mini.

Keep prompts and chats short: Long conversations use more memory because the model has to hold the whole thread. If replies slow down, start a fresh chat.

Plug in your laptop: Many laptops throttle the processor on battery. Running on mains power can noticeably improve speed.

Update now and then: The Ollama team ships performance improvements regularly, so install the latest version every few weeks.

Step 6: Want a chat window instead of a terminal?

The command line is fine, but not everyone loves it. If you’d rather click than type, a few friendly apps run the same kinds of models:

  • Ollama’s own desktop app, which gives you a basic chat window.
  • Jan, a clean open-source chat app that’s good for beginners.
  • GPT4All, which is built with low-spec computers in mind.

One caution: skip heavier setups that require Docker, such as running a full web interface in a container. On 8GB, those eat memory you can’t spare.

Step 7: Give it jobs it’s good at

Small models shine when the task is clear and the input is short. Good uses:

  • Summarizing an article or email you paste in
  • Rewriting a paragraph in a friendlier or more formal tone
  • Brainstorming titles, outlines, or ideas
  • Explaining a code snippet or suggesting a quick fix
  • Drafting replies to messages

Weak spots to watch:

  • Facts and numbers. Small models make things up with total confidence. Never trust a date, statistic, or quote without checking it.
  • Long documents. Memory limits how much text the model can consider at once.
  • Complex math and multi-step logic. Expect mistakes.

Think of it as a fast drafting partner. You’re still the editor.

When it feels slow or crashes

If things go wrong, work through this list in order:

  • Close every other program, especially your browser.
  • Switch to a smaller model.
  • Restart Ollama, or restart your laptop, to clear any leftover memory.
  • Check for a stuck process in Task Manager and end it.
  • Make sure your system drive isn’t nearly full, since Windows uses disk space as backup memory.
  • If the laptop freezes entirely when you load a model, the model is simply too big. Go down a size.

Keep it private, and keep it closed

Running locally is a real privacy advantage. Your prompts and documents stay on your machine. That’s useful for drafts, personal notes, or anything you’d rather not paste into a website.Two safety habits are worth keeping. First, download models only from Ollama’s official library or other well-known sources. Second, don’t expose Ollama to the internet. By default it listens only on your own computer, and security researchers have flagged problems with public, misconfigured installs. Leave the defaults alone unless you know what you’re doing.

Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

The Latest

Latest Technology Innovations, Reviews and Gadgets

Leading tech magazine that keeps you updated about the latest technology news, Innovations, gadget, game, and much more. Best site to get in-depth coverage on the tech industry today. We are a leading digital publisher to explore recent technology innovations, product reviews, and gadgets guide.

Copyright © 2018-2026 Trotons.

To Top