Software
Local LLM runtimes compared
The same GPU can run a model in very different ways. Here is when to use which.
llama.cpp
The reference C++ engine behind many other tools, with the widest hardware and quantization support.
- Best for
- Single-user inference, mixed CPU and GPU offload, odd hardware.
- Model formats
- GGUF
Ollama
A friendly command-line and API wrapper that downloads and runs models for you, built on llama.cpp.
- Best for
- Getting started quickly and serving a local API to other apps.
- Model formats
- GGUF (pulled from its library)
LM Studio
A desktop app with a model browser, chat interface and local server.
- Best for
- People who want a graphical interface rather than a terminal.
- Model formats
- GGUF, plus MLX on Apple silicon
vLLM
A high-throughput serving engine that batches many requests at once.
- Best for
- Serving several users or agents, where aggregate throughput matters more than single-stream latency.
- Model formats
- Hugging Face safetensors, AWQ, GPTQ, FP8
ExLlamaV2
A fast single-user engine focused on NVIDIA GPUs and its own EXL2 quantization.
- Best for
- Squeezing the most single-stream speed from a model that fits entirely in VRAM.
- Model formats
- EXL2, GPTQ
MLC LLM
A compiler-based engine that targets many backends, including Vulkan and mobile.
- Best for
- Unusual targets such as phones, browsers or less common GPUs.
- Model formats
- MLC-compiled weights