Local model runtimes

Run open-weight LLMs on your own hardware and expose an OpenAI-compatible API.

Quick answer

We track 17 self-hostable local model runtimes apps: Ollama, llama.cpp, vLLM, LocalAI, TextGen (text-generation-webui), SGLang, llamafile, KTransformers, TensorRT LLM, Xinference, llama-swap, Lemonade, GPUStack, Text Embeddings Inference, Harbor (local LLM stack), RamaLama, Infinity. Most GitHub stars: Ollama (189k). Lowest official hardware: Harbor (local LLM stack) (minimum 8 GB RAM · 10 GB disk (recommended 16 GB RAM · 50 GB disk)), from about €30.49/month on our reference server.

Last updated

Local model runtimes: side-by-side

AppLicenseOfficial hardwareEst. server costGitHub starsStatus
OllamaMIT (Permissive)Not published (measured by us: 1.9 GiB RAM while working)from €16.99/mo (based on our test, not official)189kActive
llama.cppMIT (Permissive)Not published (measured by us: 489 MiB RAM while working)from €9.99/mo (based on our test, not official)138kActive
vLLMApache-2.0 (Permissive)Not publishedGPU server (not estimated)98.3kActive
LocalAIMIT (Permissive)Not publishedNot estimated (no official RAM figure)50.7kActive
TextGen (text-generation-webui)AGPL-3.0 (Network copyleft (AGPL))Not publishedNot estimated (no official RAM figure)47.8kActive
SGLangApache-2.0 (Permissive)Not publishedGPU server (not estimated)39.5kActive
llamafileApache-2.0 (Permissive)Not publishedNot estimated (no official RAM figure)26.8kActive
KTransformersApache-2.0 (Permissive)Not publishedNot estimated (no official RAM figure)19.7kActive
TensorRT LLMApache-2.0 (Permissive)Not publishedGPU server (not estimated)15.2kActive
XinferenceApache-2.0 (Permissive)Not publishedNot estimated (no official RAM figure)9.7kActive
llama-swapMIT (Permissive)Not publishedNot estimated (no official RAM figure)6.4kActive
LemonadeApache-2.0 (Permissive)Not publishedNot estimated (no official RAM figure)6.4kActive
GPUStackApache-2.0 (Permissive)Not publishedGPU server (not estimated)6.2kActive
Text Embeddings InferenceApache-2.0 (Permissive)Not publishedNot estimated (no official RAM figure)5.2kActive
Harbor (local LLM stack)Apache-2.0 (Permissive)minimum 8 GB RAM · 10 GB disk (recommended 16 GB RAM · 50 GB disk)from €30.49/mo3.3kActive
RamaLamaMIT (Permissive)Not publishedNot estimated (no official RAM figure)3.1kActive
InfinityInfinity Restricted MIT License 1.0 (v3); MIT (Python packages) (Custom / conditional)Not publishedGPU server (not estimated)3.0kActive

All local model runtimes apps

Ollama

Active

The simplest way to download and run open-weight LLMs locally behind an API.

  • ★ 189k
  • ⟳ Dec 4, 2026
  • Permissive
  • 1.9 GiB RAM measured
  • from €16.99/mo measured

llama.cpp

Active

Lightweight C/C++ engine that runs quantized open models on CPU or GPU, with an OpenAI-compatible server.

  • ★ 138k
  • ⟳ Dec 6, 2026
  • Permissive
  • 489 MiB RAM measured
  • from €9.99/mo measured

vLLM

Active

High-throughput LLM inference server for GPUs with an OpenAI-compatible API.

  • ★ 98.3k
  • ⟳ Dec 6, 2026
  • Permissive
  • RAM: n/a
  • GPU server

LocalAI

Active

OpenAI-compatible API for LLMs, vision, voice and images on any hardware.

  • ★ 50.7k
  • ⟳ Dec 6, 2026
  • Permissive
  • RAM: n/a
  • Cost: n/a

SGLang

Active

Fast serving engine for LLMs and multimodal models on GPU servers, with an OpenAI-style API.

  • ★ 39.5k
  • ⟳ Dec 6, 2026
  • Permissive
  • RAM: n/a
  • GPU server

llamafile

Active

Mozilla.ai's single-file executables that bundle an open LLM with llama.cpp and run on most OSes with no install.

  • ★ 26.8k
  • ⟳ Dec 1, 2026
  • Permissive
  • RAM: n/a
  • Cost: n/a

KTransformers

Active

CPU and GPU inference kernels with a model-serving CLI and SGLang integration.

  • ★ 19.7k
  • ⟳ Nov 26, 2026
  • Permissive
  • RAM: n/a
  • Cost: n/a

TensorRT LLM

Active

NVIDIA GPU inference toolkit with an OpenAI-compatible serving command.

  • ★ 15.2k
  • ⟳ Dec 6, 2026
  • Permissive
  • RAM: n/a
  • GPU server

Xinference

Active

Model-serving platform for LLM, embedding, rerank, speech and image models behind one OpenAI-compatible API.

  • ★ 9.7k
  • ⟳ Dec 6, 2026
  • Permissive
  • RAM: n/a
  • Cost: n/a

llama-swap

Active

Hot-swap proxy that runs many local AI servers behind one OpenAI- and Anthropic-compatible API.

  • ★ 6.4k
  • ⟳ Dec 5, 2026
  • Permissive
  • RAM: n/a
  • Cost: n/a

Lemonade

Active

Local OpenAI-compatible server for chat, speech and image models on CPU, GPU or AMD NPU.

  • ★ 6.4k
  • ⟳ Dec 6, 2026
  • Permissive
  • RAM: n/a
  • Cost: n/a

GPUStack

Active

GPU cluster manager that deploys vLLM, SGLang and other engines behind an OpenAI-compatible API.

  • ★ 6.2k
  • ⟳ Dec 4, 2026
  • Permissive
  • RAM: n/a
  • GPU server

One CLI to start a pre-wired local AI stack, such as Open WebUI with llama.cpp, Ollama or vLLM, plus 50+ services.

  • ★ 3.3k
  • ⟳ Nov 11, 2026
  • Permissive
  • min 8 GB RAM
  • from €30.49/mo

RamaLama

Active

Run and serve AI models as OCI containers with Podman or Docker, using an image matched to your GPU.

  • ★ 3.1k
  • ⟳ Nov 30, 2026
  • Permissive
  • RAM: n/a
  • Cost: n/a

Infinity

Active

High-throughput REST server for embeddings, reranking and classification models.

  • ★ 3.0k
  • ⟳ Dec 4, 2026
  • Custom / conditional
  • RAM: n/a
  • GPU server

Plan your deployment

Use these guides to check the model, hardware and operating decisions alongside the app comparison.

Head-to-head comparisons

Alternatives and SaaS replacements

Jump to ranked open-source alternatives or to pages that map these apps onto commercial SaaS products.

All alternatives · All SaaS alternatives · Compare hub