Which runtime should I use?

4 min readMarkdown

For most people the answer is LM Studio if you want a window, Ollama if you want a background service, and llama.cpp or MLXMLXApple's machine learning framework for Apple silicon.Read more when you want every setting. Serving a team is a different job, and vLLM or SGLang does it.

The decision table

Find the row that matches you. The first match wins.

If youUseWhy
Want to chat today, no terminalLM StudioSearch, download and chat in one app, with MLX on a Mac
Want models available to every app and toolOllamaRuns in the background, one-line pulls, API always on
Need everything open source, with a GUIJan, or Open WebUI on OllamaOpen apps on open engines. See Which chat app should I use?
Are on a Mac and want the most speedMLX through mlx-lm or LM StudioBuilt for Apple silicon only
Have a Mac, a DGX Spark or a Strix Halo box and want to test another engineBaseRTBase Compute's engine for those chips. Speed claims are vendor-reported
Want every setting and the newest model supportllama.cpp with llama-serverThe engine directly, updated daily
Have an NVIDIA card and want peak single-user speedllama.cpp with CUDA, or ExLlamaV2 with TabbyAPISee What other runtimes are there?
Serve several people or many agents at oncevLLM or SGLangContinuous batching keeps throughput up under load
Have a Ryzen AI or Copilot+ PC and want the NPULemonade or Foundry LocalNPU support the others lack. See Can I run models without a GPU?
Want to hand someone a model with no installllamafileOne file that runs on most OSes

The same table by platform:

PlatformEasiestMost controlMany users
Mac, Apple siliconLM Studiomlx-lm or llama.cppNot a good fit. See Which tools run a model across machines? for linked Macs
Windows, NVIDIALM Studio or Ollamallama.cpp with CUDAvLLM under WSL or Linux
Windows, AMD or IntelLM Studiollama.cpp with VulkanNot a good fit
Linux, NVIDIA or AMDOllamallama.cppvLLM or SGLang
CPU onlyOllama or LM Studiollama.cppNot a good fit
Rule of thumb

Pick the highest layer of the stack that gives you the setting you need. Drop a layer only when something is missing.

The catch

LM Studio is free but closed source. Ollama is open source but hides settings and lags llama.cpp on new models. llama.cpp gives you everything and makes you set it.

Every option costs something, and the table only tells you which cost suits you.

The common progression

Most people move down the stack over a few weeks, one layer at a time. Each step trades convenience for control.

  1. 1GUI app
  2. 2Background service with an API
  3. 3The engine directly
  4. 4A serving engine
Most people stop at step 2. Step 4 is for teams.
  1. A GUI app: You download LM Studio or Jan, pick a model and chat. You learn what fits your machine and what speed feels like. Quick start: pick your machine starts here.
  2. A background service: You want a coding tool, a script or a second app to use the same model. You switch on LM Studio's server or install Ollama. Now you are using the How do I call a local model from code?.
  3. The engine directly: A setting you need is hidden, a new model will not load, or you want the last bit of speed. You run llama-server or mlx_lm.server yourself, with your own flags.
  4. A serving engine: Other people or many agents share the model. You move to vLLM or SGLang on a Linux box with a proper GPU. How do I set up a team server? covers the build.

You do not have to take every step. Plenty of people stay at step 2 for good. The step you need is set by what your apps ask of the model, and Part 5 starts with those apps at Apps.

Try it

If you already run Ollama or LM Studio, open a terminal and run curl http://localhost:11434/v1/models or curl http://localhost:1234/v1/models. If you get a list back, you are already at step 2.

Go deeperThat's enough

Running more than one

Nothing stops you running two runtimesRuntimeThe software that loads a model file and runs it.Read more. Many people keep LM Studio for chat and Ollama or llama-server for tools. Each holds its own copy of a model in memory while loaded, so do not load the same large model in both at once.

They also store files separately. LM Studio and llama.cpp read plain GGUFGGUFThe single-file model format used by llama.cpp and the apps built on it.Read more files you can share between them. Ollama keeps its own store, so a model pulled there is downloaded again for the others.

Open source as a requirement

If your organisation requires open source, the open path covers every layer: Jan or Open WebUI on top, Ollama or llama-server in the middle, llama.cpp, MLX or vLLM underneath. Check the model licence too. An open runtime does not make the model open. Can I use this model at work? covers that side.

When the answer changes

Runtimes move fast. A runtime that lags on new models one quarter can lead the next. We recheck this page every few months, and How do I benchmark my own setup? shows how to settle a close call on your own machine.