Independent, documentation-based guides to AI tools and smart home tech. How we research

Home › AI Coding & APIs › Running AI Models Locally: Ollama and LM Studio

Running AI Models Locally: Ollama and LM Studio

📚 Part of our AI API pricing guide · all coding guides

Checked November 12, 2026 against ollama.com, docs.ollama.com, lmstudio.ai/pricing and the LM Studio system requirements docs (US prices). This is a documentation-based guide, not a hands-on test.

Quick verdict

Both are free for local use. Neither charges you to run open models on your own hardware.

Developers and terminal users: Ollama installs with one command and exposes a local API that other tools can call.

People who want an app with a window: LM Studio lets you download models inside the app and now ships with an agent called Bionic.

Hardware matters most. Plan on 16 GB of memory for a comfortable start.

Flat illustration of a desktop computer with a small glowing chip inside, a padlock and a house icon, in soft pastel colors

Illustration: AI Tool Audit, created with Google Gemini

On this page
  1. Why run AI locally at all?
  2. Ollama vs LM Studio at a glance
  3. Hardware: what you actually need
  4. Getting started with Ollama
  5. Getting started with LM Studio
  6. Free vs paid: when the bill starts
  7. Which should you choose?
  8. FAQ

Why run AI locally at all?

A local model runs on your own computer. Your prompts don't leave the machine, there is no monthly bill for basic use, and it works on a plane or anywhere without internet once the model is downloaded. The trade-off is speed and size. The biggest frontier models need far more memory than a laptop has, and smaller local models are less capable than top cloud chatbots.

Local AI makes the most sense for private documents, offline work, coding helpers you want to keep in-house, and learning how models work.

Ollama vs LM Studio at a glance

OllamaLM Studio
Local useFree, unlimited, no subscriptionFree plan: run local LLMs on your machine
PlatformsmacOS, Windows, LinuxmacOS (Apple Silicon), Windows (x64 and ARM), Linux (x64 and ARM64)
Install styleOne-line script or installerDesktop app; AppImage on Linux
Model enginesNot specified on the pages we checkedllama.cpp and MLX
Paid cloud add-onsPro $20/month, Max $100/month, Team $500/monthBionic+ $20/month, Pro $100/month
ExtrasSame app and API reach cloud modelsBionic agent, offline voice transcription, LM Link for up to 5 devices

Hardware: what you actually need

LM Studio publishes clear requirements, and they are a good rule of thumb for any local tool:

  • Mac: Apple Silicon (M1, M2, M3 or M4) and macOS 14.0 or newer. Intel Macs aren't supported. About 16 GB of memory is advised; 8 GB Macs can run smaller models with modest context sizes.
  • Windows: x64 or ARM, including Snapdragon X Elite. x64 processors need AVX2 support. 16 GB of RAM and at least 4 GB of dedicated graphics memory are recommended for GPU use.
  • Linux: x64 or ARM64, shipped as an AppImage, Ubuntu 20.04 or newer.

Ollama's download page doesn't list minimum specs. It points you to its GPU docs and warns that large models are slow without a strong GPU. The practical lesson is the same for both tools: memory decides which models you can load, and the graphics chip decides how fast they answer.

Getting started with Ollama

Ollama runs on macOS, Linux and Windows. On Mac and Linux, the download page gives a one-line install script. On Windows there is a PowerShell command or a regular installer, and Mac users can also grab a .dmg file. After install, you pull a model and chat with it from the terminal, or point another app at Ollama's local API.

That local API is Ollama's biggest strength. Many coding assistants and chat front ends can talk to it, so Ollama often acts as the engine behind other tools. If you use Continue or Aider for coding, a local Ollama model is one way to run them without paying for an API.

Ollama also sells cloud plans for models too big for your machine. You reach them through the same app, and you can turn cloud features off if you want everything to stay local. Our Ollama Cloud plans explainer covers the prices.

Getting started with LM Studio

LM Studio is a desktop app. You browse and download models inside it, then chat in a window, with no terminal needed. Under the hood it uses llama.cpp and Apple's MLX framework, so Mac users get a runtime built for Apple chips.

The app now centers on Bionic, which LM Studio calls its agent for open models. Bionic can create and edit documents, handle coding tasks and automations, and control the computer. Voice input is transcribed on your device; LM Studio says that audio "never leaves your device."

The free plan includes the Bionic agent, local models, offline voice transcription, LM Link for up to five devices and limited web search. Paid plans add hosted models:

  • Bionic+ at $20 a month adds US-hosted open-source models, discounted bulk tokens and web search with page extraction.
  • Pro at $100 a month adds five times the usage limits and early access to new features.

LM Studio says its cloud services use zero data retention. If you only want local models, you don't need either paid plan.

Free vs paid: when the bill starts

For both tools, the bill starts only when you use their hosted models. Running a model you downloaded costs nothing beyond electricity. That makes local AI a cheap way to cut a chatbot subscription for simple tasks, though it won't match the best cloud models on hard problems. Our subscription vs API cost guide helps you compare the options.

One note for businesses: the LM Studio pages we checked don't spell out licensing terms for workplace use, beyond offering team organizations and an enterprise contact form. Read the current terms before rolling it out at work.

Which should you choose?

  • Choose Ollama if you are comfortable in a terminal, want a local API for other tools, or run Linux servers.
  • Choose LM Studio if you want a point-and-click app, model downloads in one place and a built-in agent.
  • Use both if you like: they don't conflict, and many people browse models in one and serve them from the other.
  • Stay with a cloud chatbot if your computer has 8 GB of memory or less and you need top-tier answers. See our best free AI tools list.

For coding picks, see our AI coding tools guide, and for current plan prices, the AI tool price table.

FAQ

Is Ollama free?

Yes. Running models locally with Ollama is free and has no usage cap. Only its cloud models cost money.

Is LM Studio free?

LM Studio has a $0 plan for running local models, including the Bionic agent and offline voice transcription. Bionic+ ($20 a month) and Pro ($100 a month) add hosted models.

How much RAM do I need to run AI locally?

LM Studio recommends about 16 GB. Macs with 8 GB can run smaller models with modest context sizes.

Does LM Studio work on Intel Macs?

No. LM Studio's requirements say macOS needs Apple Silicon (M1 to M4) and macOS 14.0 or newer.

Sources