What other runtimes are there?
Most of these are wrappers around an engine you already know, packaged for one kind of user. A few are engines in their own right, mostly for NVIDIA GPUs. Sort them with What is a runtime, and what sits under my app? in mind and the list gets short.
| Runtime | Layer | Engine underneath | Best fit |
|---|---|---|---|
| KoboldCpp | App and runtime | llama.cpp fork | Fiction and role-play |
| LocalAI | Runtime | Several, including llama.cpp | One API for many model types |
| Lemonade | Runtime | llama.cpp and others | AMD Ryzen AI PCs |
| Docker Model Runner | Runtime | llama.cpp | Teams already on Docker |
| Foundry Local | Runtime | ONNX Runtime | Windows apps and NPUs |
| ExLlamaV2 with TabbyAPI | Engine and server | ExLlama | Fast single-user NVIDIA |
| TensorRT-LLM | Engine | NVIDIA's own | Maximum NVIDIA throughput |
| llamafile | Single file | llama.cpp | A model that runs with no install |
KoboldCpp
KoboldCpp is a single executable built on a fork of llama.cpp, with a web UI aimed at fiction writing and role-play. It adds story memory, world info and character cards, and it also serves an OpenAI-compatible API. It runs GGUFGGUFThe single-file model format used by llama.cpp and the apps built on it.Read more files on Windows, Linux and Mac with no install.
Use it when you write fiction or run characters and want those tools built in.
LocalAI
LocalAI is an open-source server that copies the OpenAI API across many model types at once: text, images, speech and embeddingsEmbeddingA list of numbers that captures a text's meaning, used for search.Read more. It runs several engines behind one endpoint, including llama.cpp. It is usually run as a Docker container.
Use it when you want one local endpoint that stands in for the whole OpenAI API, not just chat.
Lemonade
Lemonade is an open-source local server from AMD. It targets Ryzen AI laptops, where it can run models on the NPU, the integrated GPU or both, and it also runs llama.cpp on other AMD and non-AMD hardware. It serves an OpenAI-compatible API. Can I run models without a GPU? covers what NPUs are good for.
Use it when you have a Ryzen AI machine and want to use the NPU.
Docker Model Runner
Docker Model Runner is built into Docker Desktop and Docker Engine. It pulls models as OCI artifacts from Docker Hub and runs them with llama.cpp, exposing an OpenAI-compatible API to your containers.
docker model pull ai/smollm2
docker model run ai/smollm2 "Say hello in five words."Use it when your app already runs in Docker Compose and you want the model to be one more service.
Foundry Local
Foundry Local is Microsoft's local runtimeRuntimeThe software that loads a model file and runs it.Read more for Windows and macOS. It runs models in ONNX format through ONNX Runtime and picks the best build for your hardware, including NPUs on Copilot+ PCs. It has a CLI and an OpenAI-compatible API.
Use it when you build Windows apps and want Microsoft's supported path to local models, or want to use a Windows NPU.
ExLlamaV2 with TabbyAPI
ExLlamaV2 is an engine for NVIDIA GPUs with its own quantizationQuantizationStoring each weight with fewer bits so the model takes less memory.Read more format, EXL2, which can target any average bit rate such as 4.65 bits per weight. TabbyAPI is the server that wraps it with an OpenAI-compatible API. The pair is known for fast single-user speed on consumer NVIDIA cards.
A successor, ExLlamaV3 with the EXL3 format, is under active development.
Use it when you have an NVIDIA GPU, the model fits fully in VRAMVRAMMemory on a graphics card. On a PC with a GPU, it is your model budget.Read more and you want to squeeze the most quality into exactly that much memory.
TensorRT-LLM
TensorRT-LLM is NVIDIA's open-source inference library. It compiles a model into an engine tuned for one specific GPU, with NVIDIA's fastest kernels and support for formats such as FP8 and FP4. It serves many users well and sits underneath NVIDIA's own deployment tools.
Use it when you serve at scale on NVIDIA data-centre GPUs and are ready for a heavier setup than vLLM or SGLang.
llamafile
llamafile, from Mozilla, packs llama.cpp and a model into one file that runs on Windows, macOS, Linux and BSD. You download it, mark it executable and run it. It opens a chat page in the browser and serves an OpenAI-compatible API.
Use it when you want to hand someone a model that runs with zero install, or keep a copy that depends on no service or installer.
If a runtime here names llama.cpp as its engine, its speed will be close to llama.cpp's. Pick it for its features, not for speed.
Smaller projects come and go. Before you build on one, check when its last release shipped and whether its bundled engine is recent. A stale engine means slow support for new models.
Go deeperThat's enough
Why so many wrappers
llama.cpp is a library with a permissive licence, so wrapping it is cheap. Each wrapper picks an audience and adds what that audience needs: a story UI, Docker packaging, an NPU path, a single file. The maths underneath is shared.
NVIDIA-only engines
ExLlama and TensorRT-LLM trade portability for speed. They write kernels for one GPU family and use quantization formats nothing else reads. That makes them fast on the right card and useless on any other. Which NVIDIA card should I get? covers the hardware side.
Formats as lock-in
Every runtime here has a preferred format: GGUF, ONNX, EXL2, TensorRT engines. Switching runtime often means downloading the model again in another format. Which runtime should I use? puts format next to platform in the decision.