Hands-On & Local AIEvergreen guide7 min readLast reviewed: Prompted News Editorial
Answers search query: “how to run ai locally”

How to run AI locally on your PC or Mac with Ollama — without cloud subscriptions

Free apps like Ollama and LM Studio run capable open-weight models like Gemma 4 offline on your own desk. Here is what your RAM can realistically handle and how to start.

How to run AI locally on your PC or Mac with Ollama — without cloud subscriptions
Photo: Innovalabs via PixabayAI policy

The short answer (30 sec)

  • Local AI keeps every prompt and document on your own hard drive, eliminating monthly chat bills and third-party server exposure.
  • Free tools like Ollama and LM Studio get a working model such as Gemma 4 running cleanly in under ten minutes.
  • System memory (unified RAM on Mac, GPU VRAM on Windows/Linux) decides which model size runs fast; 16 GB to 32 GB is the realistic sweet spot.
  • Massive frontier models such as full DeepSeek V4 or Mistral Large 4 still demand server racks and will not fit on ordinary laptops.

Anyone summarizing confidential client contracts or simply tired of sending notes to remote servers does not have to sit AI out. Modern open-source AI weights now run straight off an ordinary MacBook or Windows desktop without internet access. Free apps like Ollama and LM Studio hide almost all setup friction.

That sounds effortless. Yet newcomers routinely hit one wall right away when downloading huge models: memory size. Pick weights larger than your available RAM and your machine freezes or crawls at one word every few seconds.

Interactive explainer

How it works: local AI vs. cloud AI

Switch between Local and Cloud to trace where your documents and prompts actually go.

Your own computer (offline)Works offline
01
Your document
You open a contract or note straight from your local drive.
02
Local AI model
Ollama processes the text right inside your own RAM or GPU.
03
Private reply
The summary appears on screen, even with Wi-Fi switched off.
External servers · 0 bytes sentZero outbound traffic
Outbound traffic
0 bytes
Internet connection
Not needed
Monthly cost
$0 / month

Because the model runs on your own chip, not a single byte leaves your desk.

Matching your computer memory to realistic local models

Desktop tools use 4-bit compression so weights take roughly a quarter of their full size with minimal drop in quality. Apple Silicon Macs (M1 through M4) shine here because CPU and GPU share one fast pool of unified memory. On Windows or Linux desktops, dedicated NVIDIA or AMD graphics card memory (VRAM) sets the pace.

Your hardware memoryWell-matched Ollama modelDownload sizeWhat it handles comfortably
8 GB RAM (entry laptop)Gemma 4 E4B (gemma4:e4b)~3 to 3.5 GBQuick emails, light summaries, basic Q&A
16 GB RAM / VRAMGemma 4 12B (gemma4:12b)~7 GBEveryday writing, meeting notes, modest code
32 GB RAM or 16–24 GB GPUGemma 4 26B MoE (gemma4:26b)~14 to 15 GBSnappy reasoning and long PDF queries
64–128 GB (Mac Studio / RTX Spark)Heavier 31B–120B weights18 GB+Deep software debugging and private research

Ignore viral claims suggesting every mega-model fits on any PC: full trillion-parameter weights like DeepSeek V4 or Mistral Large 4 require multi-GPU data center racks. Even dedicated prosumer rigs like Nvidia's compact RTX Spark AI desktops cap out around quantized 70B to 120B models.

Memory checker

Interactive memory check: which local AI model fits your machine?

Pick your computer's RAM or GPU memory (VRAM) to see which local model runs smoothly.

Best everyday pick

Gemma 4 12B (~7 GB download)

Well-balanced for daily writing, meeting notes, and modest code on a modern Mac or Windows PC.

Memory headroom on 16 GB RAM / VRAM16 GB total
OS & browser: ~30%AI model (4-bit): ~45%Free context room: ~25%
Mac / GPU speedFast
Reasoning & writing depthSolid
ollama run gemma4:12b
Large frontier cloud models still hold a clear edge on complex legal nuance or huge codebases.

Four quick steps to start locally with Ollama or LM Studio

If you prefer clicking inside a visual chat screen that checks memory compatibility automatically, LM Studio feels familiar from minute one. If you also want lightweight background automation or local coding integrations, pick Ollama—which now includes a clean desktop interface alongside its terminal command.

  1. Install one tool: Grab Ollama at ollama.com or LM Studio from lmstudio.ai for Windows, macOS, or Linux.
  2. Pull a size that fits your machine: Launch the app or run ollama run gemma4:e4b on 8 GB systems or ollama run gemma4:12b with 16 GB memory.
  3. Test offline with Wi-Fi switched off: Disconnect for peace of mind and test summarizing a sensitive document or rewriting an email.
  4. Add private document search (optional): Wire local folders through built-in file tools or lightweight RAG workflows without a single byte leaving your desk.

When cloud AI still makes sense alongside local tools

Local Edge AI apps win decisively on zero data leakage, zero subscription fees, and freedom from cloud rate caps. That said, compact 12B models still trail frontier cloud giants like Claude Fable 5.2 or Gemini 4 Neon when tackling gnarly legal edge cases or giant software repositories.

The most practical setup blends both: run sensitive contracts, medical notes, and private drafts locally, and switch to vetted cloud accounts when peak accuracy matters on non-confidential work. Weighing cloud plans too? Check our guide on free vs. paid AI plans and review real AI privacy risks and settings.

Frequently asked questions
Does local AI work completely offline once downloaded?+

Yes. After Ollama or LM Studio finishes downloading the model file once, you can turn off Wi-Fi completely and chat with zero data leaving your computer.

Can a 16 GB laptop match paid ChatGPT Plus or Claude quality?+

Compact open-weight models like Gemma 4 12B handle daily writing and summarizing surprisingly well on 16 GB machines, though frontier cloud models still hold a clear lead on tricky logic and multi-file coding.

Which is easier for beginners: Ollama or LM Studio?+

LM Studio offers helpful visual memory indicators inside a clean chat interface, while Ollama is lightweight, popular with developer extensions, and now ships its own desktop window too.

Will running AI locally drain my battery or overheat my laptop?+

Power spikes only during the few seconds the chip generates a reply, which may spin fans briefly; once text stops streaming, local apps sit idle and sip negligible energy.

More from the AI Knowledge Base

All guides

Latest news on this topic

Get caught up on AI in 3 minutes every morning

Essential AI updates and one practical tip you can use right away—zero jargon. Free in your inbox.

We only use your email address for our newsletter. Unsubscribe anytime in 1 click. Read our privacy policy.