Local AI · Free and private on your own computer

What AI can I run on my computer?

It comes down to memory. The highest-scoring a Mac runs well, by memory size: from 8 GB, Gemma 4 E4B; from 24 GB, Qwen3.8-27B; from 192 GB, Qwen3.8-Flash-Next; from 512 GB, Inkling 2 Small. On a PC with a graphics card, the model has to fit in the card’s memory to run at full speed.

Tell us about your computer and what you want to do to see every model that fits, how fast it will feel, and a setup guide for each.

Checked 24 Nov 2026 · How we estimate this

16 GB Mac · ChatAn example: tap Change to set your computer

5 good fits

For chat on a 16 GB Mac, with about 12 GB usable. This is an example: set your own computer to see what fits it.

Best match

Gemma 4 12B

GoogleBest small model for images and chat

Estimated fit

Fits with about 4 GB to spare.

Memory while running7.1–7.9 GBDownloadQ4_K_M · UnslothSpeedAdd your chip or device
Set it up Cost vs cloud
Technical details
Why
Needs about 7.1–7.9 GB; you have about 12 GB usable.
Build
Q4_K_M · Unsloth · download page · 7.1 GB download
Your memory
About 12 GB usable: 16 GB minus about a quarter that macOS keeps for itself by default.
Estimate
  • Weights: about 7.12 GB, the size of the download.
  • Conversation memory (KV cache) isn’t published; at a short context it is small.
  • Plus 8% (at least 0.75 GB) for the app’s own working memory.
Speed
Pick your device, or your Mac’s chip, for a speed estimate. No measured speed for this setup.

Sources: Unsloth GGUF repos — file sizes from HF tree API

Qwen3.5-9B

QwenEveryday workhorse for 8–12 GB machines

Estimated fit

Fits with about 5 GB to spare.

Memory while running6–6.7 GBDownloadQ4_K_M · UnslothSpeedAdd your chip or device
Set it up Cost vs cloud
Technical details
Why
Needs about 6–6.7 GB; you have about 12 GB usable.
Build
Q4_K_M · Unsloth · download page · 5.7 GB download
Your memory
About 12 GB usable: 16 GB minus about a quarter that macOS keeps for itself by default.
Estimate
  • Weights: about 5.68 GB, the size of the download.
  • Conversation memory (KV cache) for 8K tokens: about 0.3 GB, scaled from the report’s 8K figure.
  • Plus 8% (at least 0.75 GB) for the app’s own working memory.
Speed
Pick your device, or your Mac’s chip, for a speed estimate. No measured speed for this setup.

Sources: Unsloth GGUF repos — file sizes from HF tree API

Nemotron 3.5 Bolt E4B

NVIDIATiny text model for 8 GB laptops

Estimated fit

Fits with about 4 GB to spare.

Memory while running6.5–7.2 GBDownloadQ4_K_M · lmstudio-communitySpeedAdd your chip or device
Set it up Cost vs cloud
Technical details
Why
Needs about 6.5–7.2 GB; you have about 12 GB usable.
Build
Q4_K_M · lmstudio-community · download page · 6.2 GB download
Your memory
About 12 GB usable: 16 GB minus about a quarter that macOS keeps for itself by default.
Estimate
  • Weights: about 6.18 GB, the size of the download.
  • Conversation memory (KV cache) for 8K tokens: about 0.3 GB, scaled from the report’s 8K figure.
  • Plus 8% (at least 0.75 GB) for the app’s own working memory.
Speed
Pick your device, or your Mac’s chip, for a speed estimate. No measured speed for this setup.

Sources: lmstudio-community — Nemotron 3.5 Bolt E4B GGUF (Q4_K_M 6.18 / Q6_K 6.22 / Q8_0 8.03 GB)

With 24 GB you could also run Qwen3.8-27B and Muse Glimmer 30B and 2 more. Hardware that runs Qwen3.8-27B

Not shown: 26 need more memory · 1 need a different app or setup · 1 lack the evidence to judge. Browse all 33 models
Fit is an estimate from download size and published memory figures, not a test on your machine. How we judge fitResearch checked 24 Nov 2026 · US prices before tax

Installed memory isn’t usable memory

A model has to fit in the memory it can actually use. On a , the system keeps part for itself: a 128 GB Mac gives a model about 96 GB by default, and a 128 GB Ryzen AI Max box can give its graphics up to 96 GB. On a PC with a graphics card, what counts is the card’s , not the computer’s RAM.

The model also needs room for the conversation (), which grows with the context. That’s why a model that fits for a chat may not fit for a long document.

Verified configuration
Someone published a run of this exact build on this hardware.
Estimated fit
Our estimate leaves at least 10% of your usable memory free.
Tight fit
It should fit, with little to spare. Close other apps.
May exceed available memory
The top of our estimate is more than you have, so it’s not recommended.
Insufficient evidence
Something we need, like a file size, isn’t published yet.

Is local AI right for you?

Running a model yourself trades some quality and setup for privacy and no limits.

Compare cloud AI apps
TopicOn your computerA cloud app (ChatGPT, Claude, Gemini)
PrivacyYour prompts stay on your computerSent to the company’s servers
Works offlineYes, once downloadedNo
CostFree models; you pay for the computer and powerFree tier or a monthly plan
QualityGood for everyday work, below the very bestThe strongest models available
Getting startedInstall an app and download a modelSign in and start typing
Usage limitsOnly what your computer can doCaps on most plans

Common questions

How much memory do I need to run AI locally?

About the size of the model’s download, plus room for the conversation and the app. Small models run on 8 GB; the strongest that fit one computer need 512 GB. On a Mac (macOS keeps about a quarter of memory for itself by default), the highest-scoring model on Artificial Analysis’ Intelligence Index that runs well at each size is: from 8 GB, Gemma 4 E4B; from 24 GB, Qwen3.8-27B; from 192 GB, Qwen3.8-Flash-Next; from 512 GB, Inkling 2 Small. On a PC with a graphics card, the model has to fit in the card’s VRAM to run at full speed.

Can a Mac run AI models locally?

Yes. Apple silicon Macs share one pool of fast memory between the processor and graphics, so they run open models well. The memory size decides which ones fit: see the answer above, or pick your Mac in the checker.

What’s the best local model for coding?

It depends on your memory. The highest-scoring coding model on Artificial Analysis’ Intelligence Index that runs well on a Mac of each size: from 24 GB, Qwen3.8-27B; from 192 GB, Qwen3.8-Flash-Next; from 512 GB, Inkling 2 Small. For coding agents, use one with tool calling and at least 64K of context.

Should I use Ollama or LM Studio?

Both are free and run the same kinds of builds. LM Studio is a desktop app with a model browser, the easiest place to try a model. Ollama runs in the background with a simple command line, and is the usual choice when other apps and agents, such as Claude Code or Codex, use the model.

Can I use Claude Code with a local model?

Yes. Ollama and LM Studio both offer an Anthropic-compatible endpoint, so you point Claude Code at it with ANTHROPIC_BASE_URL and name a local model. Use a model with tool calling and at least 64K of context. The setup page has the exact commands.

Is running AI locally cheaper than a cloud API?

Not if you buy a computer just for it: it usually takes years to pay for itself against cloud API prices for the same open models. On a computer you already own you pay only for electricity, so local often costs less each month. Local also wins on privacy, offline use and no rate limits. The cost calculator prices both for your workload.

Is it really private?

The model runs on your computer, so your prompts and files are not sent to an AI company to get an answer. Some apps add features that do go online, such as web search, cloud models or update checks, so look at each app’s settings. In Ollama, tags with “cloud” in the name run on Ollama’s servers, not yours.

Will it slow down my computer?

While it is writing an answer it uses most of your graphics and memory, so other heavy apps run slower. The model can stay loaded in memory between questions; quitting the app, or letting it unload the model, frees that memory again.

Is it as good as ChatGPT or Claude?

The strongest cloud models are still better, especially at hard reasoning and long coding tasks. Models that fit a laptop are good for everyday writing, summaries, questions about your own documents and coding help. Each model page shows its independent score where one exists.

Do I need the internet?

Only to download the app and the model. After that it runs offline, unless you turn on a feature that goes online.

What do “4-bit” and “Q4” mean?

They describe how much a model has been compressed. A 4-bit build stores most numbers in about 4 to 5 bits instead of 16, so it needs roughly a third of the memory, with a small loss in quality. Lower-bit builds fit smaller computers but lose more.

Can I use it for work?

It depends on the model’s licence. Apache-2.0 and MIT allow commercial use; other licences add conditions, such as limits for very large companies or rules on acceptable use, and some forbid commercial use altogether. Every model page links its licence, so read it before using a model in a business.