The short answer
LM Studio is the easiest way for most people to run AI on their own Mac, Windows or Linux computer: it is free, including at work, and estimates the memory a model needs before it loads. Developers and coding agents are better served by the open-source Ollama. On a phone, use Locally AI on iPhone and PocketPal AI on Android. Running models locally is free in all of them.
Which app should you use to run AI locally?
Pick by the device and by what you want the model for. Every app below is free for running models on your own hardware; the paid plans some of them sell are mostly for cloud models. Facts are as of November 2026.
- Most people on a Mac, Windows or Linux computer: LM Studio. A point-and-click app that searches and downloads models, estimates how much memory each needs before it loads, and runs them with llama.cpp or, on Apple silicon Macs, Apple's MLX. It is free at home and at work, but not open source.
- Developers, scripts and coding agents: Ollama. Open source (MIT), with a desktop app for Mac and Windows, a command line and a local API; one command connects it to Claude Code, OpenAI Codex or OpenCode.
- The lightest open-source app: llama.app. The llama.cpp team's menu bar app for Mac and tray app for Windows 11 chooses the model files and settings that fit your computer for you. MIT-licensed and new: the Windows version launched in October 2026.
- An open-source ChatGPT replacement that mixes local and cloud models: Jan. Apache 2.0, for Mac, Windows and Linux, with MCP tools and an agent mode.
- Linux servers, CPU-only boxes and full control: llama.cpp. The engine most of these apps are built on, used directly from the command line.
- iPhone and iPad: Locally AI. LM Studio's free mobile app runs small models offline and can reach the bigger models on your own computer.
- Android: PocketPal AI. Free and open source, on Android and iPhone; it runs any GGUF model from Hugging Face.
Pick the model with as much care as the app. On a computer with 16 GB of memory, start with Qwen3.5 9B or Gemma 4 12B; the model section below covers other amounts.
What each app costs and what it is free for
All seven picks run models locally for free with no usage limit. What differs is whether the app is open source, what its license lets a business do, and what the company sells on top.
| App | Runs on | Open source | Use at work | What you can pay for | Engine |
|---|---|---|---|---|---|
| LM Studio | Mac (Apple silicon), Windows, Linux | No | Free for personal and internal business use | Cloud models in Bionic: Bionic+ $20 a month, Pro $100 a month; an Enterprise plan | llama.cpp, MLX |
| Ollama | Mac, Windows, Linux (app on Mac and Windows) | Yes, MIT | Yes | Cloud models: pay as you go, Pro $20 a month or $200 a year, Max $100 a month, Team $500 a month | Its own engine, llama.cpp, MLX on Mac |
| llama.app | Mac, Windows 11 (Linux: command line) | Yes, MIT | Yes | Nothing | llama.cpp |
| Jan | Mac, Windows, Linux | Yes, Apache 2.0 | Yes | Nothing (it connects to cloud APIs with your own keys) | llama.cpp, MLX on Mac |
| llama.cpp | Mac, Windows, Linux, servers | Yes, MIT | Yes | Nothing | Itself |
| Locally AI | iPhone, iPad, Mac (macOS 26) | No | Not addressed in its terms | Nothing; no in-app purchases | MLX |
| PocketPal AI | Android, iPhone | Yes, MIT | Yes | PocketPal Plus for hands-free voice, a one-time purchase from $3.99; paid community Pals | llama.cpp |
Sources, read in November 2026: LM Studio pricing, enterprise page, terms and system requirements; Ollama pricing and GitHub; llama.app; Jan docs and changelog; llama.cpp; the US App Store listings for Locally AI and PocketPal AI; and PocketPal's README.
"Free for commercial use" needs care with LM Studio. LM Studio dropped its separate commercial license in July 2025, so a company can use it without asking. Its terms still license the app only "for Your personal and / or internal business purposes" and forbid redistributing it or offering it as a hosted service. To ship local AI inside your own product, use one of the open-source engines (Ollama, llama.cpp, Jan) instead.
The model has its own license, separate from the app's. Gemma 4, Qwen3.5, Qwen3.6, Qwen3.8 and gpt-oss are all released under Apache 2.0, per their Hugging Face model cards and llama.app's catalog, so they can be used commercially. Check the license on any other model before you build on it.
Which model to run on 8, 16 or 32 GB of memory
The model you load decides how good and how fast the answers are; the app mostly decides how easy it is to get there. A model needs room for its file plus a working memory (the KV cache) that grows with how much text it can hold at once, so pick a file that leaves a few gigabytes free. Our sister site The Next Token's guide to how much memory a local model needs works through the arithmetic with measured runs.
| Your memory | Start with | 4-bit download in Ollama | Notes |
|---|---|---|---|
| 8 GB (Mac, or a PC with no graphics card) | Qwen3.5 4B, or Gemma 4 E2B | 3.3 to 4.0 GB; 4.3 GB (QAT build) | Fine for drafting, summaries and quick questions |
| 16 GB of RAM, no graphics card | Qwen3.5 4B, or Qwen3.5 9B if you can wait | 3.3 to 4.0 GB; 6.6 to 7.6 GB | The 9B answers better but generates noticeably slower on a CPU |
| 16 GB Mac, or a 12 GB graphics card | Qwen3.5 9B, or Gemma 4 12B | 6.6 to 7.6 GB; 7.7 to 8.0 GB | The everyday sweet spot; both read images |
| 16 GB graphics card | gpt-oss-20b | 14 GB | OpenAI says it runs within 16 GB; on a 16 GB Mac, whose GPU can use about 12 GB, it is too tight to leave room for context |
| 24 GB graphics card, or a 32 GB Mac | Qwen3.8 27B, or Gemma 4 26B | 18 GB; 16 to 19 GB | The sizes Qwen and Google aim at coding agents and long documents |
| No graphics card, 32 GB of RAM | Gemma 4 26B, or Qwen3.6 35B | 16 to 19 GB; 23 GB | Mixture-of-experts models stay usable on a CPU (why) |
| 48 GB or more (Mac or workstation) | Gemma 4 31B, or Qwen3.8 27B with a long context | 19 to 20 GB; 18 GB | gpt-oss-120b needs about 96 GB, per llama.app |
Sizes: Ollama's library pages for Qwen3.5, Gemma 4, gpt-oss, Qwen3.8 and Qwen3.6, November 2026, and the OpenAI gpt-oss-20b model card. Where the table gives a range, Ollama offers several builds of the same model (GGUF, MLX for Macs, NVFP4) and the download is one of them, not the whole range. The same model can be a different size in another app, depending on its quantization and whether the image encoder is included.
Speed depends on the hardware more than the app. On the 16 GB M2 Pro Mac The Next Token measured, a 4B model at 4-bit generated about 40 to 57 tokens a second, faster than most people read; bigger models and computers without a graphics card are slower.
Three things the sizes alone don't tell you:
- A Mac's graphics can't use all of its memory. macOS lets the GPU use only part of the unified memory: on The Next Token's 16 GB M2 Pro it was 12,124 MiB, about 74%. That is why a 14 GB model that fits a 16 GB graphics card is a squeeze on a 16 GB Mac.
- The text the model holds costs memory too. Each extra token of context adds to the KV cache, and runtimes reserve it when the model loads. A small model with a long context window can fill memory before it reads a word.
- Apps size things differently. Ollama gives models a 4,096-token context below 24 GiB of graphics memory, while llama.cpp on its own fills the GPU with as much context as fits. llama.app's model pages list 8-bit files first, so its memory figures run higher than this table (Gemma 4 12B shows as needing 24 GB); turn on "Show smaller quantizations" to see 4-bit sizes. gpt-oss comes only in its native MXFP4 format, 12.1 GB, which llama.app lists for 24 GB or more (llama.app models).
LM Studio: the easiest app for most people
LM Studio is the pick for most people because it takes a non-technical person from download to a working local chat with the least guesswork. You search for a model inside the app, download one and chat, and LM Studio estimates the memory a model needs before loading it and checks that against its resource guardrails (docs). On Apple silicon Macs it runs MLX builds, which are made for that hardware, as well as llama.cpp's GGUF files. It also serves the loaded model to other apps through OpenAI-compatible and Anthropic-compatible endpoints, chats with your documents offline, and runs headless on a server as llmster (LM Studio docs, download page).
It is free, including at work, since LM Studio removed its commercial license requirement in July 2025. Version 0.4.28 was current in early November 2026.
Know two things before you start:
- There are now two LM Studio apps. In July 2026 the company launched LM Studio Bionic, "a new, separate app" that adds an agent for documents, code and computer control, offline voice typing, and optional US-hosted cloud models. The download page offers both. For simply running and serving models, the classic LM Studio app is the one this guide recommends; Bionic runs the same local models, and its cloud models are what Bionic+ ($20 a month) and Pro ($100 a month) pay for (pricing).
- Older Macs and PCs are left out. LM Studio needs an Apple silicon Mac with macOS 14 or later (Intel Macs aren't supported), and on Windows and Linux an x64 processor with AVX2 or an Arm chip. It recommends 16 GB of RAM (system requirements).
Skip LM Studio if you need open-source software, if you want to ship local AI inside a product, or if you are on an Intel Mac; Ollama covers all three.
Ollama: best for developers and coding agents
Ollama is the pick when a model has to serve other software: your scripts, an editor or a coding agent. It installs a background service with a local API on port 11434 that speaks Ollama's own API plus OpenAI- and Anthropic-compatible ones, and ollama launch claude, ollama launch codex or ollama launch opencode sets up and starts Claude Code, OpenAI Codex or OpenCode with a local model, with no config files (Ollama quickstart); its docs list about two dozen more integrations. On a Mac, its app can also connect Claude Desktop to Ollama's models (docs). Ollama is MIT-licensed; the desktop app is for Mac and Windows, and Linux gets the command line. Intel Macs run it on the CPU only (macOS requirements). On Apple silicon it has run on Apple's MLX since June 2026, after a March preview.
The desktop app's chat is basic next to LM Studio's, and most setup still happens in a terminal. Two defaults catch people out:
- The default context window is small. Below 24 GiB of graphics memory, Ollama gives models a 4,096-token window unless you change it, and its docs say coding tools and agents need at least 64,000 tokens (context length). A conversation that runs past the window loses its older messages without an error, as The Next Token describes. Raise it with the slider in the app's settings or
OLLAMA_CONTEXT_LENGTH, and check the CONTEXT column inollama ps. - Some models are not local. A model whose name ends in
:cloudruns on Ollama's servers (below).
Ollama or LM Studio? Both run the same open models, and both now have a desktop app, a command line, a local API and optional cloud models, so the old "command line versus app" split is smaller than most comparisons say. Choose LM Studio to browse and try models in a window; choose Ollama to plug a model into other software, or when you need open source.
llama.app: the lightest open-source app
llama.app is the pick for anyone who wants local AI with no settings to learn and no company upsell. It comes from the llama.cpp team and Hugging Face, lives in the Mac menu bar or the Windows 11 tray, suggests models that fit your computer, and sets the quantization, context size and image input for each one based on how much memory you have. Chat opens in your browser, and other apps share the same models through an OpenAI- and Anthropic-compatible API on localhost port 9931. Models load on request and unload after five minutes idle (llama.app).
It is free and MIT-licensed, the Mac download is 1 MB, and Hugging Face says the Windows app needs no admin rights and runs on Windows on Arm (Hugging Face). Models sit in the standard Hugging Face cache, so llama.cpp and other tools can use the same files without a second download. The Windows app says it sends no telemetry (GitHub).
Skip it if you want a full chat app with projects, document libraries or agents: llama.app is a launcher with llama.cpp's web chat, not a workspace. It is also weeks old on Windows, so expect rough edges.
Jan: an open-source ChatGPT replacement
Jan is the pick if you want an open-source app that looks and works like ChatGPT, and that can switch between a local model and ChatGPT, Claude or Gemini with your own API keys in the same window. It runs models with llama.cpp on Mac, Windows and Linux, and with MLX on Macs since February 2026; it needs no account, connects MCP tools, serves a local OpenAI-compatible API, and has an agent mode, Cowork, in preview (Jan docs, changelog). It is Apache 2.0 licensed and updated often: version 0.8.8, a security release, shipped in late October 2026.
Choose Jan over LM Studio when open source matters to you or you want local and cloud models side by side. Choose LM Studio when you want the more polished model browser and its memory estimates before a model loads.
llama.cpp: for Linux servers, CPU-only boxes and full control
llama.cpp is the engine under llama.app, LM Studio, Jan and PocketPal AI, and the one to use directly on a Linux server, a headless box or a computer with no graphics card. One install command gives you llama cli for chat in the terminal and llama serve for an OpenAI-compatible server with a built-in web chat, and either can download a model straight from Hugging Face (README). It supports Apple Metal, NVIDIA CUDA, AMD HIP, Vulkan and SYCL, and can split a model between the graphics card and system memory when it doesn't fit. It is MIT-licensed and free; prebuilt binaries, Docker images and source builds are also offered.
The best apps to run AI on a phone
Use Locally AI on an iPhone or iPad and PocketPal AI on Android. Both are free and run models with no internet connection and no account once a model is downloaded. A phone has much less memory to spare than a computer, so stick to models of about 1 to 4 billion parameters: good for drafting, rewording and quick questions, weak at long documents.
- iPhone and iPad: Locally AI. LM Studio bought the app in April 2026 and made it LM Studio's mobile app. It runs Gemma, Qwen, Llama and other models with Apple's MLX, with no login and, the developer says, no data collection. Its distinguishing feature is LM Link: if LM Studio runs on a computer at home, Locally can use that computer's larger models from anywhere over an end-to-end encrypted connection, while your chats stay on your devices. LM Link needs an internet connection and the same free LM Studio account signed in on both devices (LM Studio docs). Locally is free with no in-app purchases, needs iOS 18.1 or later, and is rated 4.7 from about 1,900 ratings on the US App Store (App Store).
- Android: PocketPal AI. It runs llama.cpp on the phone and downloads any GGUF model from Hugging Face, with GPU acceleration on Qualcomm Adreno and experimental support for Qualcomm's NPU. It adds on-device dictation with Whisper, offline voices and saved assistants called Pals. It is MIT-licensed and also on iPhone. Chatting is free; the optional PocketPal Plus purchase adds hands-free voice conversation, and some community Pals cost extra (README, Google Play, App Store).
Android is where assistants are weakest. When we asked Perplexity in November 2026, it named Locally AI for iPhone but said it couldn't name an Android app.
Can you run AI locally without a GPU?
Yes. Ollama, llama.cpp, llama.app, Jan and LM Studio fall back to the processor and system RAM when there is no supported graphics card. Apple silicon Macs are a different case: their built-in GPU uses the same memory as the processor, so they never need a separate card. A computer without a graphics card is slower, and its speed is set mainly by how fast it can read the model from memory.
That is why the model type matters more than the app on a CPU. In a mixture-of-experts model, the total size sets how much memory you need, but only the "active" parameters are read for each word, so it generates far faster than a dense model of the same size (The Next Token). Gemma 4 26B uses about 4 billion of its parameters per token, and Qwen3.6 35B about 3 billion, per their names (A4B, A3B). On a laptop with 32 GB of RAM and no graphics card, one of those will usually be more useful than a dense 27B model that crawls; on 16 GB, stay with Qwen3.5 4B or 9B.
Two compatibility checks:
- LM Studio needs a processor with AVX2 on x64 Windows and Linux and doesn't run on Intel Macs, while Ollama runs on Intel Macs using the CPU (LM Studio, Ollama).
- A PC with AMD or Intel graphics may not need the CPU fallback at all: Ollama turned on Vulkan by default in June 2026, which extends GPU acceleration to those cards without vendor libraries (Ollama).
How to use a local model with a coding agent
Use Ollama or LM Studio, give the model at least 64,000 tokens of context, and use the biggest model your machine holds. ollama launch claude starts Claude Code against a local model, and ollama launch codex and ollama launch opencode do the same for OpenAI Codex and OpenCode (Ollama quickstart). LM Studio added an Anthropic-compatible endpoint in version 0.4.1, so Claude Code can point at it with two environment variables; LM Studio suggests starting at 25,000 tokens of context and going higher (LM Studio). llama.app also serves an Anthropic-compatible API.
Set expectations. Coding agents send long prompts and many tool calls, so small models lose track quickly; a 24 GB graphics card or a 32 GB Mac running Qwen3.8 27B or Qwen3.6 27B (which has a coding build in Ollama) is a sensible floor. Ollama's own setup prompt for AI agents tells them to recommend its cloud models when local models would be slow on your computer (Ollama download page). For the agents themselves, see Claude Code, Cline and OpenCode.
Check that your local app is really running locally
The big local apps now sell cloud models too, in the same window as local ones, so "I use Ollama" no longer means your prompts stay on your computer. Look at the model, not the app.
- Ollama: a model whose name ends in
:cloud(such asgemma4:cloud) runs on Ollama's servers, mainly in the US. Ollama says it doesn't see your prompts when you run locally and doesn't log or train on cloud prompts. To block cloud use completely, setOLLAMA_NO_CLOUD=1or"disable_ollama_cloud": truein~/.ollama/server.json(Ollama FAQ, pricing). - LM Studio Bionic: cloud models run on LM Studio Secure Cloud in the US, need an account, and LM Studio commits to zero data retention (LM Studio). Local models in the classic LM Studio app need no account.
- Jan and PocketPal AI: cloud models and web search are off until you turn them on. Jan uses API keys you add; PocketPal's opt-in web search sends your query to an outside search service.
For the strictest privacy, download the model, then disconnect from the internet and check it still answers.
Is Ollama Pro or LM Studio Bionic+ worth paying for?
Not for running models locally: local use is free and unlimited in both Ollama and LM Studio. The paid plans buy access to large open models on the companies' servers, which is useful only when your hardware can't run the model you need.
- Ollama Pro: $20 a month or $200 a year, with $60 of usage credits a month at per-token prices; Max is $100 a month with $300 of credits and 10 requests at a time. Unused credits don't roll over. You don't need a plan to try them: Ollama also bills cloud models per token with no subscription (Ollama pricing).
- LM Studio Bionic+: $20 a month for US-hosted open models such as Kimi K3, GLM 5.3 and DeepSeek V4 Flash, plus web search; Pro is $100 a month with five times the usage (LM Studio pricing).
Both are reasonable ways to try very large open models without buying hardware. If you mostly want the best answers rather than open models specifically, a ChatGPT, Claude or Gemini plan at about $20 a month is the more direct comparison.
Local AI apps we didn't pick
- GPT4All: still recommended by many guides and by Perplexity, but its last release, v3.10.0, came out in February 2025 (GitHub), and Nomic's site now leads with its business platform.
- Msty Studio: a workspace for local and online models with a free plan; its paid Aurum plan is $149 per user a year, and it isn't open source (Msty pricing).
- AnythingLLM: MIT-licensed and built for chatting with a library of documents (GitHub); it is a workspace that sits on top of a model runner rather than the simplest way to start.
- Open WebUI: a browser chat interface for Ollama and other model servers that several people can sign in to. Its own "Open WebUI License" requires keeping its branding (GitHub).
- Lemonade: an open-source (Apache 2.0) local server built by its community with optimizations from AMD engineers, which can use the NPU and GPU in Ryzen AI and Radeon PCs (GitHub). Worth a look on that hardware; it is a server for other apps rather than a first app to start with.
- Microsoft Foundry Local: built for developers who ship on-device AI inside their own apps, and its command-line tool is under Microsoft's license terms and may send usage data to Microsoft (GitHub).
- Google AI Edge Gallery: Google's free showcase for its on-device models on Android and iPhone, with offline transcription and image questions; Google calls it an "experimental Beta release" (GitHub).
- Enclave and Private LLM (iPhone): both run models on the device; Enclave is free with a paid plan for cloud models, and Private LLM is a one-time $4.99 (Enclave, Private LLM). Locally AI does the core job for free and adds LM Link.
- MLC Chat: still recommended for Android in some guides, but its iPhone app was last updated in September 2024 (App Store).
To generate images rather than text, the local option is ComfyUI with an open model; see the best free AI image generators. For offline speech to text, see the best AI transcription tools and the best AI dictation apps.
What to try first
Install LM Studio and load the model the memory table gives for your machine: Qwen3.5 9B or Gemma 4 12B on a 16 GB computer. Use it for a week on real tasks. If it is too slow, drop to the 4B size. If its answers are too weak, the fix is more memory, a mixture-of-experts model such as Gemma 4 26B if you have 32 GB of RAM, or a cloud model, not a different app. Move to Ollama when you want the model inside a coding agent or your own scripts, and try llama.app if you'd rather not choose settings at all.
How this guide was made
Magpie Index considered about 20 apps for running AI models on a computer or phone, using the makers' download pages, docs, pricing pages, license terms, changelogs, GitHub release history and App Store listings, plus the model sizes in Ollama's library and llama.app's catalog. Memory guidance draws on measured llama.cpp runs published by our sister site The Next Token; Perplexity's Sonar model was asked five reader questions to see what assistants answer today (answers kept in the test library). No app was installed or run for this guide. Research and writing were AI-assisted.
Built from the makers’ own documentation and pricing pages and from attributed outside sources. Magpie Index did not test these tools for this guide. Prices and plans were checked on the makers’ sites on November 4, 2026; they change often, so check before you buy. No tool paid to appear here, and links to tools carry no affiliate code. How Magpie Index works