Guide / Tutorial

Run Local AI at Home: Ollama vs LM Studio vs oMLX, and the Right Model for Your Memory

The app barely changes speed; the file format, the context setting and your memory do. A plain-English guide to Ollama, LM Studio and oMLX, plus a memory-to-model table for twelve jobs.

OllamaThis guide is about Ollama.
Run Local AI at Home: Ollama vs LM Studio vs oMLX, and the Right Model for Your Memory

Pick the right free app, set it up in ten minutes, and choose a model that really fits your RAM or graphics-card memory. Includes a “your memory to model” table for twelve everyday jobs, from dictation to document reading.

Reading map

  • The short answer — which app for which person, and what matters more than the app.
  • Three words you need — model, file format, context window.
  • Ollama vs LM Studio vs oMLX — speed, memory, settings, connecting tools, models, extras.
  • Setup steps for each app — what to click and type, plus a 16 GB version.
  • Your memory to model — what a computer with 8, 16, 32, 128 or 512 GB can really do.
  • Job by job — the free pick for twelve everyday jobs and where local AI is not good enough.
  • FAQ, safety and what may be out of date.

The short answer

Pick the app by how you work, not by speed: Ollama if you want to connect coding agents with one command, LM Studio if you want every setting in a normal window, oMLX if you have a Mac and want the widest choice of models. On the same model file the three apps were within about 10% of each other in speed and memory. What changed the numbers a lot was something else: the file format (MLX on a Mac, GGUF on a PC), a feature that guesses ahead, and the “context window” setting.

What really decides if local AI works for you is memory. The main finding from one published test: 16 GB already covers dictation, transcription, voice cloning, picture generation, and reading photos and receipts. 32 GB is the big step, because it runs a 27-billion-parameter model that handles questions, writing, document reading, presentations, small tools and a simple agent. Building a big, real app locally is still not practical on a home computer; use a paid tool for that.

Our own overview picture: three apps, one model, one computer
Our own overview picture: three apps, one model, one computer
If you are… Use Why
On a Windows or Linux PC Ollama or LM Studio oMLX only runs on Macs
On a Mac and want the most options oMLX Widest range of models, web search without an account, everything on one dashboard
Connecting Claude Code or Hermes agent Ollama One command; fewest steps
A beginner who wants a normal app with all settings visible LM Studio Every common setting is in a window
Short of disk space LM Studio + oMLX together They can share one model folder, so no second copy

Three words you need

Model, file format and context window explain almost every “why is mine slow or full” question.

  • Model — the AI itself. “27B” means 27 billion parameters, roughly its size. A “Q4” copy is a compressed version that is much smaller and only a little worse; it is the most common choice.
  • File format — how the model is stored. GGUF runs on an engine called llama.cpp and works on any computer. MLX runs on Apple’s own engine and only works on a Mac, but it is often faster there and starts reading long text sooner. Ollama and LM Studio open both; oMLX opens only MLX.
  • Context window — how much text the model can hold in its head at once (counted in “tokens”, small pieces of words). A bigger window needs more memory. Coding agents such as Claude Code and Hermes want at least 64,000 tokens; for real agent work 128,000 to 256,000 is better.
One model file, two formats, the engines that run them
One model file, two formats, the engines that run them • 00:02:30

Ollama vs LM Studio vs oMLX

All three are free, all three can chat, read a PDF and look at pictures, and all keep your chats on your computer. One published test ran the same model (a 27B Qwen, Q4) in each on a MacBook Pro with 128 GB and scored six things.

Scoreboard: Ollama 3 points, LM Studio 2, oMLX 4
Scoreboard: Ollama 3 points, LM Studio 2, oMLX 4 • 00:29:45
Ollama LM Studio oMLX
What it is Started as a terminal tool; now also has a chat app Desktop app from the start: search, download, chat Newest (this year); built for Macs and agents
Works on Mac, Windows, Linux Mac, Windows, Linux Mac only
File formats GGUF and MLX GGUF and MLX MLX only
Speed on the same file About 28 tokens/s (GGUF) About 26 tokens/s (GGUF) About 29 tokens/s (MLX)
Speed with its own “guess ahead” 54 tokens/s, turned on automatically with its MLX version 33 tokens/s after you pick MTP in a menu (GGUF only) Setting exists, greyed out for the MLX file tested
Memory with the model loaded 17–18 GB 17–18 GB 17–18 GB (did not grow while reading a long file)
Settings live in Mostly the terminal or a “Modelfile” Every common one in the window (turn on developer mode) Every one on a browser dashboard
Connect Claude Code ollama launch claude (1 step) A few steps: start server, three lines, shortcut omlx launch claude (1 step)
Web search Free account needed; goes through ollama.com Free plugin Built in, no account
Other extras Speech models “LM Link” to use a model on your home Mac from a laptop (preview) Speech models, MCP page, saved profiles
Open source Yes App closed, engine open Yes (mostly one maintainer)

What the numbers mean in plain words

  1. The app is not what makes it fast. With nothing special switched on, every setup wrote 26 to 32 tokens a second. A tie.
  2. “Guessing ahead” is. Some models can guess the next few words and check themselves, so you get two or three words for the work of one. Ollama turns it on for its own MLX copy automatically, which is why it showed 54 tokens a second. The other apps can do it too, but only if the file has the extra part and you switch it on.
  3. Memory is about the same, but the context setting is bigger than the app choice. On one test, lowering Ollama’s context from 256,000 to 64,000 freed about 14 GB.
  4. MLX uses memory as it reads; GGUF reserves it up front. After a long document both end up similar.
  5. Ollama unloads the model after five minutes of silence by default; oMLX only when memory runs out.

Setup steps for each app

The three settings that matter in every app: pick the right file format, set the context window, and keep the memory safety guard on.

Ollama

  • Step 1 — Install it from ollama.com.
  • Step 2 — Open Settings. Move the Context length slider to 64k (more if you have plenty of memory, less on a small computer).
  • Step 3 — Download a model. On a Mac take the version tagged MLX (names ending in mlx or nvfp4); on a PC take the normal GGUF one.
  • Step 4 — Leave Expose Ollama to the network off. It lets anyone on your network use the model, and there is no password.
  • Step 5 — The Cloud switch only lets you choose Ollama’s cloud models or web search. Those go to Ollama’s servers. Turn it off if you want everything local.
  • Step 6 — To check what is loaded: ollama ps (it shows the context size).
  • Step 7 — To keep a model loaded longer than five minutes, set the keep-alive time with a terminal command (it resets after a restart).
Ollama settings: context slider, Cloud switch, network switch
Ollama settings: context slider, Cloud switch, network switch • 00:24:35

LM Studio

  • Step 1 — Install it from lmstudio.ai and turn on developer mode in settings, otherwise some settings are hidden.
  • Step 2 — On the model search page open the download options and pick MLX on a Mac, GGUF on a PC.
  • Step 3 — Keep the model loading guardrails on. They stop a model that is too big from freezing your computer.
  • Step 4 — When you load the model, set the context to 64,000 and tick “remember settings”. Check what was really loaded with lms ps.
  • Step 5 — Save your instructions and settings as a preset to reuse.
  • Step 6 — For Claude Code: start the server on the model server page, then save the three connection lines as one shortcut. For Hermes, pick LM Studio inside the Hermes app.
  • Step 7 — Leave Serve on the local network off, or turn on authentication.

oMLX (Mac only)

  • Step 1 — Install it from its GitHub page and set an API key the first time; keep the key on.
  • Step 2 — Leave the memory guard on Balanced (use Safe on a 16 GB Mac) and put a cap on the SSD cache, which otherwise can grow to half of your free disk.
  • Step 3 — Add LM Studio’s models folder so both apps share one copy of each model.
  • Step 4 — Say yes when it offers to enable its command-line tool, then run omlx launch claude or omlx launch hermes.
  • Step 5 — Set an idle timer on the model so it unloads itself and gives memory back.

If you only have 16 GB

  • Set the context to 16,000–32,000, not 64,000.
  • Use a small model of about a third of the 27B size (for example a small Gemma or a 9B model).
  • Keep the safety guard on. A 16 GB machine may not fit a big model plus 64,000 tokens of context.

Connecting Claude Code or Hermes to a local model

  • Claude Code (Anthropic’s coding agent) can run on your downloaded model at no cost per request. It talks to the model through the app’s local server.
  • Both agents want at least 64,000 tokens of context. oMLX refuses to launch if it is too small.
  • With Ollama, use a model from its own library for Claude Code. A GGUF file brought over from LM Studio failed after three minutes in the test because its chat format rejected one of Claude Code’s settings.
  • ollama launch hermes rewrites Hermes settings, so back them up first.

Your memory to model

The simplest rule: 16 GB for the small jobs, 32 GB for the big step, and more memory mostly means longer documents, not new abilities. On a PC with a graphics card, the number that counts is the card’s own memory, because the model has to fit in it.

Your memory What you can do Model picks used in the test
8 GB Dictate into any app; transcribe a normal recording Parakeet (listening) inside the free Handy app; MacParakeet
16 GB Add: voice cloning, reading receipts and photos, small-model questions and writing (with web search on), pictures if other apps are closed Ming 3.0 (voice), Qwen 3.5 9B (images to text), a small Gemma, FLUX.3 klein (tight at 16)
24 GB Pictures comfortably, and the same jobs with your other apps open FLUX.3 klein
32 GB The big step. Answers, writing, reading long documents, making slide decks, small tools, simple agents, meeting transcripts with several speakers Qwen 3.8 27B (Q4); Nemotron 3.5 Transcribe for crosstalk
48–64 GB Same jobs with more room: longer files, a more precise version, agent with your apps open Same model, bigger context
128 GB No new job types; a bigger model with more speed and precision Qwen 3.8 Flash-Next
512 GB (a computer costing about $22,000) The only way to try serious app building locally GLM-5.3 — paying was still judged the better choice
The twelve jobs and the smallest machine for each, from the source's final board
The twelve jobs and the smallest machine for each, from the source’s final board • 00:44:15

Job by job: the free pick and the catch

Each job below lists the model, the memory it needs, and the main thing to watch.

# Job Free pick Memory Watch out for
1 Dictate into any app (replaces paid cloud dictation) Handy app with Parakeet V3; cleanup via Apple Intelligence on a Mac 8 GB Check your language; Parakeet covers about 25 European languages, Qwen3-ASR about 30 incl. Chinese and Japanese, Whisper about 100
2 Transcribe recordings MacParakeet (labels speakers); Nemotron 3.5 Transcribe when people talk over each other 8 GB; 32 GB for Nemotron (22 GB download) Simple recordings: small model is enough. Crosstalk: the big one is clearly better.
3 Turn text into your cloned voice Ming 3.0, or the free Vocello app 16 GB Takes about 17 s of your voice; spell numbers and dates out; some artifacts
4 Generate pictures FLUX.3 klein 24 GB (16 with apps closed) Free for businesses under a revenue cap; paid tools still look better; edits may change extra things
5 Read photos, receipts, scans Qwen 3.5 9B (use 27B for dense or messy charts) 16 GB Check every number; a tiny OCR model reads lines but does not build a table
6 Answer questions Qwen 3.8 27B + web search 32 GB It makes things up less than it admits, but it does invent. Start the question with “search the web”, otherwise it answers from memory.
7 Write, proofread, translate Qwen 3.8 27B (rules and style); Gemma translates better and fits smaller machines 32 GB; Gemma for 16–24 Proofread: one run invented a phrase about a partnership that did not exist
8 Read your own documents Qwen 3.8 27B in LM Studio, thinking on 32 GB (9B for short files) Set a context window big enough for the file. With a small one the app only shows the model three pieces of the contract.
9 Make a presentation Qwen 3.8 27B writing a single HTML file, saved as PDF 32 GB No PPTX; a high thinking level looks far better than low; slow (about 24 minutes in the test)
10 Build a small tool (budget tracker, calculator) Qwen 3.8 27B, high thinking 32 GB It thought 28 minutes before writing; small glitches such as a floating date picker
11 Run a simple agent (tidy a folder) Hermes + Qwen 3.8 27B, sandboxed, approvals on 32 GB; bigger is better Complex, long jobs fail more; turn off the “fall back to a cloud model” setting if you want to stay local
12 Build a big real app Not recommended locally 512 GB Use a paid tool
The 27B model finishes about half of long business chores; most small models almost none
The 27B model finishes about half of long business chores; most small models almost none • 00:39:00

How good is “free” really? On an independent test, the free 27B model scored about 20, a free chat model with thinking scored 28, and the best paid models about 60. In one published hands-on assessment, it was roughly as good as a top paid model of six months earlier for simple and medium jobs. It falls behind on long, many-step jobs.

What we would do (our own suggestion)

  • Step 1 — Start with what you own. Check your computer’s memory (on a PC, the graphics card’s memory) and use the table above to see which jobs you can cover.
  • Step 2 — Install LM Studio first if you are a beginner — everything is a window. Install Ollama later if you want Claude Code or Hermes on a local model.
  • Step 3 — Always change the context window on purpose. It is the setting that most often makes a good model look bad (documents cut off) or a computer run out of memory.
  • Step 4 — Check every number and fact the model produces, especially receipts, contracts and dates.
  • Step 5 — Do the simple jobs locally and keep one paid tool for long, complicated work.

What may be out of date

  • Model names (Qwen 3.8, Gemma 4, Nemotron 3.5, FLUX.3 klein) and scores are from November 2026. Newer models arrive every few weeks, so check the model list in your app.
  • Speed numbers come from one very large Mac. A smaller Mac or a PC will be slower.
  • Ollama, LM Studio and oMLX update every few days; menu names and defaults (such as Ollama’s default context) change.
  • Prices mentioned here (cloud dictation, note-takers, ElevenLabs, ChatGPT plans) change often; treat them as examples only.

FAQ

Is Ollama or LM Studio better?

Neither is faster on the same file. Ollama is easier to connect to coding agents; LM Studio is easier if you want every setting in a window.

Can I run local AI on a PC?

Yes, with Ollama or LM Studio. Use the GGUF version, and count your graphics card’s memory, not the computer’s RAM.

Is oMLX available for Windows?

No. It runs only on Macs because it uses Apple’s MLX engine.

How much memory do I need?

8 GB for dictation and transcription, 16 GB for pictures, voice and receipts, 32 GB for a general assistant that can read documents, write and run a small agent.

What is the context window and why does it matter?

It is how much text the model can keep in mind at once. Too small and the app cuts your document into pieces; too large and you run out of memory. Use 64,000 as a starting point for agents.

Is my data private?

Chats stay on your computer in all three apps. Anything that uses web search or a cloud model (such as Ollama’s Cloud switch) sends data out, so keep private text away from those features.

Can a local model replace ChatGPT or Claude?

For simple and medium everyday jobs, often yes. For long, complex coding or agent work, not yet.

Final perspective

Local AI is no longer a toy: for dictation, transcription, receipts, writing help and reading your own files, a free model on a normal computer is enough, private, and has no usage limit. Choose the app that matches your habits, set the context window deliberately, match the model to your memory, and keep a paid tool for the hardest jobs.

Quick reference

  • PC: Ollama or LM Studio, GGUF. Mac: oMLX, LM Studio or Ollama, MLX.
  • Context window: 64,000 for agents, 16,000–32,000 on 16 GB.
  • 8 GB dictation and transcripts; 16 GB voice, pictures, receipts; 32 GB the all-round 27B model.
  • ollama launch claude and omlx launch claude start Claude Code on a local model.
  • Keep “expose to the network” and “serve on local network” off.
  • Always check numbers, names and dates the model gives you.

Speeds and memory numbers were measured on one high-end MacBook Pro in November 2026 and will differ on your computer; model names and versions change every few weeks, so check the app’s model list before downloading.

Ollama GUIDES

More Ollama guides

Continue with practical guides about Ollama.

View all Local AI guides