Skip to main content

OSS · Scene 03

Local Inference & Serving

Run models on hardware you control: check quantisation, memory fit, concurrency and serving API before choosing.

15selected repos
For privacy-sensitive work, offline use or predictable long-running cost.Who it is for

How to choose

• First local run: Ollama; production serving: vLLM or SGLang.
• Mac or small VRAM: check quantised formats and unified memory.
• Measure tokens/s and time-to-first-token on your own workload.
Not for: Do not assume a 7B model replaces a frontier model on hard reasoning.

15 repos

Ordered by onboarding, not stars
Local Inference & ServingStart here

Ollama

ollama / ollama

Pull and run local models with one command, with a built-in model library and an OpenAI-compatible API.

Language
Go
Licence
MIT
Stars
187.6k
Updated
2026-11-18
Open repo card →
Local Inference & ServingLocal-first

llama.cpp

ggml-org / llama.cpp

A C/C++ inference engine that runs on CPUs, Apple Silicon and consumer GPUs, with a wide range of quantisation formats.

Language
C++
Licence
MIT
Stars
135.6k
Updated
2026-11-18
Open repo card →
Local Inference & ServingScale / performance

vLLM

vllm-project / vllm

A high-throughput inference and serving engine with PagedAttention, continuous batching and multi-GPU support.

Language
Python
Licence
Apache-2.0
Stars
97.2k
Updated
2026-11-18
Open repo card →
Local Inference & ServingScale / performance

SGLang

sgl-project / sglang

A high-performance inference runtime strong at structured generation, prefix caching and multi-GPU serving.

Language
Python
Licence
Apache-2.0
Stars
39.0k
Updated
2026-11-19
Open repo card →
Local Inference & ServingLocal-first

LocalAI

mudler / LocalAI

A local OpenAI-compatible API supporting text, image and speech backends.

Language
Go
Licence
MIT
Stars
50.4k
Updated
2026-11-18
Open repo card →
Local Inference & ServingProduction

Text Generation Inference

huggingface / text-generation-inference

Hugging Face’s production text-generation service with tensor parallelism, quantisation and streaming.

Language
Python
Licence
Apache-2.0
Stars
10.9k
Updated
2026-03-21
Open repo card →
Local Inference & ServingScale / performance

TensorRT-LLM

NVIDIA / TensorRT-LLM

NVIDIA’s LLM inference optimisation stack: custom kernels, quantisation, in-flight batching and multi-GPU for production throughput.

Language
Python
Licence
Apache-2.0
Stars
15.1k
Updated
2026-11-20
Open repo card →
Local Inference & ServingLocal-first

Text Generation WebUI

oobabooga / textgen

A local LLM web UI supporting llama.cpp, Transformers and ExLlama backends, with model loading, chat and extensions on one page.

Language
Python
Licence
AGPL-3.0
Stars
47.7k
Updated
2026-08-17
Open repo card →
Local Inference & ServingProduction

Open WebUI

open-webui / open-webui

A self-hosted AI chat and workbench for Ollama and OpenAI-compatible APIs, with RAG, web search, multi-user permissions and tool extensions.

Language
Svelte
Licence
NOASSERTION
Stars
159.1k
Updated
2026-11-19
Open repo card →
Local Inference & ServingProduction

LMDeploy

InternLM / lmdeploy

A high-throughput inference and deployment toolkit with TurboMind and PyTorch engines, KV quantisation, multi-GPU and an OpenAI-compatible API.

Language
Python
Licence
Apache-2.0
Stars
8.2k
Updated
2026-11-20
Open repo card →
Local Inference & ServingLocal-first

MLC LLM

mlc-ai / mlc-llm

A TVM-based compiler and deployment engine that compiles LLMs to CUDA, ROCm, Metal, Vulkan and WebGPU backends.

Language
Python
Licence
Apache-2.0
Stars
23.4k
Updated
2026-11-20
Open repo card →
Local Inference & ServingLightweight

llamafile

Mozilla-Ocho / llamafile

Package llama.cpp and model weights into a single executable that runs on macOS, Windows, Linux and BSD without Python.

Language
C++
Licence
NOASSERTION
Stars
26.7k
Updated
2026-11-09
Open repo card →
Local Inference & ServingProduction

LiteLLM

BerriAI / litellm

A gateway and SDK that normalises 100+ model APIs into an OpenAI-compatible format, with a Rust core, virtual keys, cost tracking, rate limits, load balancing, guardrails, logging and caching, self-hostable.

Language
Python
Licence
MIT + Enterprise
Stars
63.6k
Updated
2026-11-20
Open repo card →
Local Inference & ServingProduction

Transformers

huggingface / transformers

Hugging Face’s model library and unified interface: AutoModel / AutoTokenizer cover text, vision, audio and multimodal models across PyTorch, TensorFlow and Flax; load Hub weights directly or hand them to PEFT, vLLM or TGI.

Language
Python
Licence
Apache-2.0
Stars
169.3k
Updated
2026-11-20
Open repo card →
Local Inference & ServingProduction

Outlines

dottxt-ai / outlines

Structured generation: constrain token sampling with regex, JSON schema or a CFG so output is parseable; supports Transformers, vLLM, llama.cpp and other backends.

Language
Python
Licence
Apache-2.0
Stars
16.0k
Updated
2026-09-21
Open repo card →
Ollamallama.cppvLLMSGLangLocalAIText Generation InferenceTensorRT-LLMText Generation WebUIOpen WebUILMDeployMLC LLMllamafileLiteLLMTransformersOutlines
GoC++PythonPythonGoPythonPythonPythonSveltePythonPythonC++PythonPythonPython
MITMITApache-2.0Apache-2.0MITApache-2.0Apache-2.0AGPL-3.0NOASSERTIONApache-2.0Apache-2.0NOASSERTIONMIT + EnterpriseApache-2.0Apache-2.0
Stars187.6k135.6k97.2k39.0k50.4k10.9k15.1k47.7k159.1k8.2k23.4k26.7k63.6k169.3k16.0k
2026-11-182026-11-182026-11-182026-11-192026-11-182026-03-212026-11-202026-08-172026-11-192026-11-202026-11-202026-11-092026-11-202026-11-202026-09-21
Mac CPUAPIHF /TokenizersNVIDIA GPUGGUF / safetensorsOllama OpenAI APITurboMind + KV servingNVIDIA AMD Apple kerneldemomodel fallbackcheckpoint
vLLM/SGLangvLLMOllamavLLM/SGLangOllamaNVIDIA AMD/CPUvLLM/TGIBSD-3 + Open WebUI LICENSEday-0 vLLMserving vLLMserving batchingvLLM OllamavLLM SGLang TGI