
# LLM Serving Frameworks: A Market Report

*October 27, 2026 · Thomas Miano · ⍾ An AI-Synthesized Report*

The infrastructure for running large language models has matured rapidly through 2026. What began as a handful of research prototypes is now a competitive market of production-grade serving engines, each optimized for different hardware, concurrency patterns, and deployment contexts. This report surveys the major frameworks available today, what each is good at, where each falls short, and how to choose between them.

---

## Market Context

The LLM serving landscape in October 2026 is shaped by three forces: the explosion of agentic workloads, the commercialization of open-source inference engines, and the diversification of hardware targets beyond NVIDIA data-center GPUs.

**Agentic workloads changed the game.** Multi-turn conversations, tool-calling chains, and long-running agent sessions share large prompt prefixes and accumulate context over many rounds. Frameworks that can cache and reuse KV state across requests — rather than recomputing from scratch each time — now hold a structural advantage. This is the primary axis of competition between vLLM and SGLang in 2026.<a href="#cite-1"><sup>1</sup></a>

**Open-source engines attracted serious capital.** Inferact, the commercial entity behind vLLM, launched in January 2026 with a $150M seed at an $800M valuation.<a href="#cite-2"><sup>2</sup></a> RadixArk, the company behind SGLang, raised $100M at a $400M valuation in May.<a href="#cite-3"><sup>3</sup></a> Ollama closed a $65M Series B in July, bringing total funding to $88M.<a href="#cite-4"><sup>4</sup></a> In February, ggml.ai — the team behind llama.cpp — joined Hugging Face, with creator Georgi Gerganov and the core maintainers becoming full-time employees while retaining full technical authority.<a href="#cite-5"><sup>5</sup></a> These are no longer side projects.

**Hardware targets multiplied.** Apple Silicon with unified memory, AMD Instinct GPUs with ROCm, Google TPUs, Intel Arc, and compact devices like the DGX Spark and Strix Halo mini PCs all need inference engines. The frameworks that support the broadest hardware matrix — llama.cpp and its downstream wrappers — command the largest user bases. The frameworks that squeeze the most throughput from NVIDIA data-center GPUs — vLLM, SGLang, TensorRT-LLM — dominate production serving.

The result is a layered ecosystem. No single framework is best at everything. The right choice depends on whether you are serving one user or a thousand, whether you need CUDA or Metal, and whether your workload looks like a chatbot, an agent, or a batch pipeline.

---

## Framework Profiles

### vLLM

vLLM is the most widely deployed production LLM serving engine. Originated at UC Berkeley's Sky Computing Lab in 2023, it introduced PagedAttention — a virtual-memory-inspired approach to KV cache management that eliminated the memory fragmentation plaguing earlier serving systems.<a href="#cite-6"><sup>6</sup></a> It became a PyTorch Foundation hosted project in 2025, and the commercial entity Inferact launched in January 2026.<a href="#cite-2"><sup>2</sup></a>

**Current version:** v0.32.0 (October 18, 2026). Biweekly release cadence — 19 releases shipped in 2026 so far. v0.31.0 alone contained 717 commits from 307 contributors.<a href="#cite-7"><sup>7</sup></a>

| | |
|---|---|
| **Architecture** | PagedAttention KV cache, continuous batching, two-process engine (ZeroMQ IPC) |
| **API** | OpenAI-compatible (`/v1/chat/completions`, `/v1/completions`, `/v1/embeddings`, `/v1/responses`), Anthropic Messages, gRPC |
| **Hardware** | NVIDIA (CUDA 12.9, Hopper/Blackwell optimized), AMD (ROCm, MI300X/MI355X), Apple Silicon (via vllm-metal plugin, MLX backend), CPU (x86, ARM), TPU (experimental) |
| **Parallelism** | Tensor, pipeline, expert, context, and data parallelism across multi-GPU and multi-node |
| **Quantization** | FP8, MXFP8/MXFP4, NVFP4, INT8, INT4, AWQ, GPTQ, GGUF, BitsAndBytes, compressed-tensors |
| **Models** | 200+ architectures, seamless Hugging Face integration |
| **Speculative decoding** | EAGLE-3 / EAGLE-3.1 (0.80–0.88 acceptance rate, 10–21% throughput gain)<a href="#cite-8"><sup>8</sup></a> |
| **License** | Apache 2.0 |
| **GitHub** | 95,600+ stars, 24,000+ forks, 3,100+ contributors<a href="#cite-9"><sup>9</sup></a> |

**The V1 engine rewrite** was the defining architectural shift. Alpha in January 2025, default by March, V0 deleted by October 2025. Key changes: a phase-free scheduler that treats prefill and decode identically under a fixed token budget; a two-process architecture connected by ZeroMQ that eliminates Python GIL contention; and prefix caching enabled by default with near-zero overhead.<a href="#cite-10"><sup>10</sup></a> V1 delivers up to 24% throughput improvement over V0 on generation-heavy workloads.<a href="#cite-11"><sup>11</sup></a>

**llm-d**, the Kubernetes-native disaggregated serving control plane, was accepted into the CNCF Sandbox in March 2026. Backed by Red Hat, Google, IBM, NVIDIA, and CoreWeave, it separates prefill and decode into independently scalable pod pools using vLLM's KV Connector API and NVIDIA NIXL for high-performance KV transfer.<a href="#cite-12"><sup>12</sup></a>

**Production users** include Anthropic, Meta, Google, Amazon, NVIDIA, OpenAI, Cohere, Hugging Face, Replicate, Character.AI, Mistral AI, Red Hat, and Databricks.<a href="#cite-13"><sup>13</sup></a>

**Key strength:** The broadest production ecosystem. Drop-in OpenAI API compatibility, the largest contributor base, and the deepest integration with cloud platforms (Google Vertex AI, Azure, AWS). The safe default for teams that need high-concurrency serving and don't have a strong reason to choose something else.

**Key limitation:** SGLang outperforms it by ~29% on small models (7–8B) and by 37% on TTFT for prefix-heavy workloads, where RadixAttention's tree-structured cache beats PagedAttention's flat prefix matching.<a href="#cite-1"><sup>1</sup></a> Memory fragmentation under sustained load can cause OOM errors that require server restart. Not suited for single-user local inference — overkill in complexity and startup time.

---

### SGLang

SGLang is a serving engine built around RadixAttention — a radix-tree (trie) index over the entire KV cache that shares prefix blocks across all requests automatically. Where vLLM's prefix cache matches a single shared prefix per request, RadixAttention walks a tree to find the longest computed prefix and only processes new tokens.<a href="#cite-14"><sup>14</sup></a> Originated at UC Berkeley's LMSYS group (the team behind Chatbot Arena), it spun out as RadixArk in January 2026.<a href="#cite-3"><sup>3</sup></a>

**Current version:** v0.5.22 (October 19, 2026). Biweekly cadence, 950 PRs and 245 contributors in the latest release alone.<a href="#cite-15"><sup>15</sup></a>

| | |
|---|---|
| **Architecture** | RadixAttention KV cache (trie-based), continuous batching, FlashInfer attention kernels, zero-overhead CPU scheduling |
| **API** | OpenAI-compatible, native `/generate` endpoint (lower latency), Anthropic-compatible (optional) |
| **Hardware** | NVIDIA (A100 through B300), AMD (MI300X–MI355X, officially adopted in ROCm 6.3), Google TPU (v6e/v7), Intel (Arc + Xeon), Apple Silicon (MLX), Huawei Ascend |
| **Parallelism** | Tensor, expert, data, pipeline, context parallelism; prefill-decode disaggregation (same-node and multi-node) |
| **Quantization** | FP8, FP4, NVFP4, MXFP, W4A8 MoE |
| **Structured output** | XGrammar — compressed FSM engine, single-digit microsecond logit mask updates<a href="#cite-16"><sup>16</sup></a> |
| **Speculative decoding** | EAGLE-2, MTP, NEXTN, DFLASH, DSpark (383.7 tok/s on DeepSeek-V4-Pro at TP8)<a href="#cite-15"><sup>15</sup></a> |
| **License** | Apache 2.0 |
| **GitHub** | 30,000+ stars, 1,700+ contributors<a href="#cite-17"><sup>17</sup></a> |

**RadixAttention is the differentiator.** On multi-turn chat at turn 20, only the newest message is computed — the prior 19 turns are served from the cache tree. Agent workloads with shared system prompts and tool definitions get computed once. Production deployments report 75–95% cache hit rates on multi-turn conversations.<a href="#cite-14"><sup>14</sup></a> On prefix-heavy workloads with 80% shared prefix, SGLang's TTFT is 195ms vs vLLM's 310ms — a 37% reduction.<a href="#cite-1"><sup>1</sup></a>

**The structured output story is strong.** XGrammar compiles JSON schemas and regexes into finite-state machines over the token vocabulary, with single-digit microsecond mask updates per step. Constrained spans where only one token is valid are emitted in a single step rather than token-by-token.<a href="#cite-16"><sup>16</sup></a>

SGLang is the **official recommended inference engine** for DeepSeek-V3 and DeepSeek-R1, and provides day-zero model support as a stated priority.<a href="#cite-18"><sup>18</sup></a> AMD officially adopted SGLang as the dominant LLM engine in ROCm 6.3.<a href="#cite-19"><sup>19</sup></a>

**Key strength:** Agentic and multi-tenant workloads where requests share prompt prefixes. RadixAttention's tree-structured cache delivers 2–5x effective throughput lifts in these scenarios — a structural advantage over flat prefix matching. The structured output engine is best-in-class.

**Key limitation:** The advantage evaporates on unique single-turn prompts with no prefix overlap — vLLM actually outperforms SGLang in that scenario (60 vs 52.7 tok/s in one benchmark).<a href="#cite-1"><sup>1</sup></a> Smaller ecosystem than vLLM, with less documentation and fewer community examples. Each server instance serves exactly one model. On single-GPU consumer hardware (RTX 4090), TTFT can be 5x worse than vLLM at default settings without tuning.<a href="#cite-20"><sup>20</sup></a>

---

### llama.cpp

llama.cpp is the foundational inference engine for local and edge AI. Created by Georgi Gerganov in March 2023 as a C/C++ port of Meta's LLaMA, it defined the GGUF model format that has become the de facto standard for quantized model distribution — over 70% of quantized model downloads on Hugging Face use GGUF.<a href="#cite-21"><sup>21</sup></a> The project hit 100K GitHub stars in March 2026, and Gerganov's team joined Hugging Face in February while retaining full technical authority.<a href="#cite-5"><sup>5</sup></a>

**Current version:** v0.7.0 (October 15, 2026). Rapid release cadence — often several versions per month.<a href="#cite-22"><sup>22</sup></a>

| | |
|---|---|
| **Architecture** | Single-process C/C++ inference engine, GGUF model format, optional HTTP server mode |
| **API** | OpenAI-compatible (`/v1/chat/completions`, `/v1/completions`, `/v1/embeddings`), Anthropic-compatible (`/v1/messages`), native llama.cpp routes |
| **Hardware** | NVIDIA CUDA, Apple Metal, AMD ROCm + Vulkan, Intel SYCL + Vulkan, Qualcomm OpenCL, ARM Neon, x86 AVX-512/AMX, CPU-only fallback |
| **Quantization** | Legacy block (Q4_0–Q8_0), K-quants (Q2_K–Q6_K), I-quants (IQ1–IQ4). Q4_K_M is the recommended default.<a href="#cite-23"><sup>23</sup></a> |
| **Server capabilities** | Parallel decoding, continuous batching, multimodal, schema-constrained JSON, function calling, speculative decoding (EAGLE-3, DFlash), Prometheus metrics, built-in chat UI |
| **Speculative decoding** | EAGLE-3 and DFlash via `--spec-type` flag (build b11100+)<a href="#cite-22"><sup>22</sup></a> |
| **License** | MIT |
| **GitHub** | 128,500+ stars, 19,800+ forks, 1,500+ contributors<a href="#cite-24"><sup>24</sup></a> |

**The GGUF ecosystem is enormous.** llama.cpp is the engine inside Ollama (~185K stars), LM Studio (~2M users), GPT4All, KoboldCpp, Jan, and llamafile. Roughly 40% of mobile AI apps use libllama for on-device inference.<a href="#cite-21"><sup>21</sup></a> Any model published in GGUF format runs on llama.cpp and its entire downstream ecosystem without modification.

**The server mode (`llama-server`)** has matured into a capable HTTP server with OpenAI-compatible and Anthropic-compatible endpoints, parallel decoding, speculative decoding, and continuous batching. As of July 2026, `llama-cli` launches `llama-server` in the background rather than running standalone.<a href="#cite-22"><sup>22</sup></a> It fits teams of up to ~16 concurrent users from a ~50MB binary.

**Hardware breadth is unmatched.** llama.cpp runs on every major accelerator and every major CPU architecture. A Ryzen 9 9950X runs 7B Q4_K_M at 23.1 tok/s on CPU alone. An RTX 4090 hits 71.9 tok/s on the same model. Apple Metal is competitive with consumer NVIDIA GPUs for small-to-mid models.<a href="#cite-23"><sup>23</sup></a>

**Key strength:** Runs everywhere, on everything. The broadest hardware support of any framework, the most portable model format, and the simplest deployment model — a single binary. The natural choice for local inference, edge deployment, and any scenario where you need a model running on heterogeneous hardware without a complex stack.

**Key limitation:** Not built for high-concurrency production serving. At 64 concurrent users, vLLM generates ~44x more tokens per second.<a href="#cite-25"><sup>25</sup></a> Multi-GPU tensor parallelism is experimental and optimized mainly for 2 equal GPUs. No native PagedAttention — continuous batching was retrofitted rather than designed in. The crossover point where vLLM/SGLang become worth the complexity is roughly 15–16 concurrent users.<a href="#cite-25"><sup>25</sup></a>

---

### Ollama

Ollama wraps llama.cpp (and, since September 2026, Apple MLX) in a Go binary that bundles inference, model management, and an HTTP API server into a single self-contained process. It is the simplest path from zero to running a model locally — `ollama run llama3.1:8b` pulls the model and starts generating. Founded by Jeffrey Morgan and Michael Chiang (both ex-Kitematic/Docker), Ollama closed a $65M Series B in July 2026 at 8.9 million monthly active developers.<a href="#cite-4"><sup>4</sup></a>

**Current version:** v0.40.10 (October 23, 2026). Aggressive cadence — often several patch releases per week.<a href="#cite-26"><sup>26</sup></a>

| | |
|---|---|
| **Architecture** | Go binary wrapping llama.cpp (CUDA/ROCm/Vulkan) and MLX (Apple Silicon). Internal model registry, adaptive model paging, hardware-aware scheduling. |
| **API** | Native REST (`/api/generate`, `/api/chat`, `/api/embeddings`), OpenAI-compatible (`/v1/chat/completions`), Anthropic Messages-compatible (`/v1/messages`, since v0.14.0) |
| **Hardware** | NVIDIA (CUDA 5.0+, auto multi-GPU layer split), AMD (ROCm 7, RDNA3/RDNA4), Apple Silicon (MLX default since v0.40.0), CPU-only fallback, Vulkan fallback |
| **Model library** | ~239 curated models, ~1,200+ total including community GGUF. 2.5 billion+ lifetime model pulls.<a href="#cite-27"><sup>27</sup></a> |
| **Concurrency** | `OLLAMA_NUM_PARALLEL` (default 4), `OLLAMA_MAX_LOADED_MODELS` (default 1 per GPU). No continuous batching or PagedAttention. |
| **Agent mode** | Since v0.32.0 — bare `ollama` starts an interactive agent with code generation, web search, and task delegation<a href="#cite-28"><sup>28</sup></a> |
| **License** | MIT |
| **GitHub** | ~185,000 stars, 18,600+ forks<a href="#cite-29"><sup>29</sup></a> |

**The MLX transition.** Preview in v0.19.0 (March 2026), default in v0.40.0 (September 2026). MLX replaced the Metal backend on Apple Silicon, delivering ~93% decode speed improvement and ~57% prefill improvement in benchmarks — one test showed 58 to 112 tok/s.<a href="#cite-30"><sup>30</sup></a>

**Three API surfaces** make Ollama a flexible local backend. The Anthropic Messages-compatible endpoint (since v0.14.0) means Claude Code, Goose, and Cline can use Ollama without proxy middleware.<a href="#cite-31"><sup>31</sup></a> The `ollama launch` command sets up coding agents (Claude Code, Codex, OpenCode) against local models with one command.<a href="#cite-32"><sup>32</sup></a>

**Key strength:** The lowest barrier to entry. One command to install, one command to run a model. The model registry handles downloads, templates, and lifecycle. 67,000+ integrations reported. If you need a local model running in under a minute and don't want to think about CUDA versions or Python environments, Ollama is the answer.

**Key limitation:** Production concurrency. Ollama pre-allocates fixed KV cache per sequence and processes requests largely sequentially. Under 50 concurrent users, vLLM delivers ~6x the throughput; at scale the gap reaches 10–20x.<a href="#cite-33"><sup>33</sup></a> P99 latency at 50 users: Ollama ~3,200ms TTFT vs vLLM ~145ms. No continuous batching, no PagedAttention, no prefix caching. The Go wrapper adds 5–30% overhead vs raw llama.cpp depending on workload.<a href="#cite-34"><sup>34</sup></a> Appropriate for development and low-concurrency production only.

---

### TensorRT-LLM

TensorRT-LLM is NVIDIA's inference engine, optimized for NVIDIA GPUs and nothing else. It compiles model graphs into GPU-specific kernels using the TensorRT compiler, producing the fastest possible inference on supported hardware — at the cost of compilation time, portability, and operational complexity.<a href="#cite-35"><sup>35</sup></a>

**Current version:** v1.2.1 stable, v1.3.0 in release candidates (rc14/rc15 as of late October 2026).<a href="#cite-36"><sup>36</sup></a>

| | |
|---|---|
| **Architecture** | TensorRT compiler producing GPU-architecture-specific engines. In-flight batching, paged KV caching, fused kernels. |
| **API** | OpenAI-compatible via Triton Inference Server or `trtllm-serve`. NIM containers provide turnkey deployment. |
| **Hardware** | NVIDIA only: Blackwell (SM100, FP4/NVFP4), Hopper (SM90, FP8), Ada Lovelace (SM89), Ampere (SM80/86), Turing (SM75 minimum). Linux x86_64 or aarch64.<a href="#cite-37"><sup>37</sup></a> |
| **Quantization** | FP4/NVFP4 (Blackwell), FP8 (Hopper/Ada), INT8, INT4, MXFP8. 3–4x throughput gain on Blackwell with FP4 vs FP16.<a href="#cite-38"><sup>38</sup></a> |
| **Speculative decoding** | EAGLE-3, up to 3.6x faster generation<a href="#cite-36"><sup>36</sup></a> |
| **Serving** | Two paths: PyTorch/LLM API (no build step, `trtllm-serve`) and compiled TensorRT engine (opt-in, maximum performance). Triton backend for multi-model orchestration. |
| **License** | Apache 2.0 |

**The v1.0 rewrite (September 2025)** was a watershed. `trtllm-serve` now serves supported Hugging Face checkpoints directly with no engine-build step — the older checkpoint-to-engine workflow persists as an opt-in path for maximum performance.<a href="#cite-35"><sup>35</sup></a> This dramatically lowered the barrier to entry, though the compiled path remains the reason to choose TensorRT-LLM.

**Performance on compiled engines.** On one H100 80GB with Llama 3.3 70B FP8 at 50 concurrent requests: TensorRT-LLM ~2,100 tok/s vs vLLM ~1,850 tok/s vs SGLang ~1,920 tok/s.<a href="#cite-39"><sup>39</sup></a> The advantage grows with concurrency — +16% over vLLM at 100 concurrent. Single-stream per-token latency is 10–30% lower than vLLM on H100.<a href="#cite-40"><sup>40</sup></a>

**The compilation tax.** Engine compilation takes ~28 minutes for a 70B model, vs vLLM's ~62 seconds and SGLang's ~58 seconds to start serving.<a href="#cite-39"><sup>39</sup></a> Engines are architecture-locked — a model compiled on A100 won't run on H100 without recompilation. Batch sizes are frozen at compile time. This makes TensorRT-LLM unsuitable for teams iterating on model versions daily, but ideal for stable production workloads where the compilation cost is amortized over weeks of serving.

**NIM containers** (NVIDIA Inference Microservices) package TensorRT-LLM with pre-compiled engines for specific model–GPU combinations, sold as part of the NVIDIA AI Enterprise subscription. They eliminate the compilation step for supported configurations.<a href="#cite-41"><sup>41</sup></a>

**Key strength:** The fastest raw throughput on NVIDIA GPUs once compiled. If you run H100s or Blackwell hardware at sustained load with a stable model, TensorRT-LLM extracts the most tokens per dollar from that hardware.

**Key limitation:** NVIDIA lock-in — no ROCm, no TPU, no CPU path. The 28-minute compilation step per model–GPU–quantization combination. Engines must be rebuilt for each configuration change. On prefix-heavy workloads, vLLM's prefix caching actually delivers 2.8x higher throughput because TensorRT-LLM's PyTorch backend saturates.<a href="#cite-42"><sup>42</sup></a> Significant operational complexity compared to vLLM or SGLang.

---

### Notable Others

**ExLlamaV3** — Successor to ExLlamaV2 (now archived), by Turboderp. Introduces the EXL3 quantization format based on trellis-coded quantization from Cornell's QTIP research. Llama 3.1 70B stays coherent at 1.6 bits per weight, fitting in under 16GB VRAM. DFlash speculative decoding delivers up to 3x speedup (59 to 178 tok/s in coding benchmarks). CUDA-only, served via TabbyAPI (OpenAI-compatible). The choice for extreme compression on consumer NVIDIA GPUs.<a href="#cite-43"><sup>43</sup></a>

**LM Studio** — Desktop application by Element Labs. Grew from a model runner into a local AI development platform in 2026: continuous batching, headless `llmster` daemon, LM Link (Tailscale-encrypted remote access), MCP tool use, and LM Studio Bionic (agent product with coding workflows and voice input). Uses llama.cpp on Windows/Linux and MLX on Mac, with MLX reported 2–2.5x faster than llama.cpp on Qwen 3.5. OpenAI- and Anthropic-compatible API. Free for personal and business use.<a href="#cite-44"><sup>44</sup></a>

**KTransformers** — From Tsinghua MADSys Lab. Specialized in CPU-GPU heterogeneous inference for giant MoE models. Keeps attention and routing on GPU; pages 654B parameters of routed experts to CPU DRAM. Runs DeepSeek-R1 671B on a single GPU + system RAM. 17,000+ stars, published at ACM SIGOPS 2026. October 2026 added DeepSeek-V4-Flash LoRA fine-tuning with native MXFP4.<a href="#cite-45"><sup>45</sup></a>

**llamafile** — By Justine Tunney, originally a Mozilla Builders project. Uses Cosmopolitan Libc to produce a single binary that runs natively on macOS, Linux, Windows, and BSD simultaneously — the simplest possible distribution model. GPU via Metal, CUDA, ROCm, Vulkan. 25,900+ stars.<a href="#cite-46"><sup>46</sup></a>

**oMLX** — Apple Silicon-only inference server (macOS 15.0+, M1–M5). Key differentiator: paged SSD KV caching that drops agent TTFT from 30–90 seconds to under 5 seconds by persisting cache blocks to disk. The only Mac backend with genuine concurrent request batching (Ollama serializes on its MLX runner). Specifically optimized for coding agent workflows.<a href="#cite-47"><sup>47</sup></a>

**HuggingFace TGI** — In maintenance mode since December 2025. Feature set frozen at v3.3.7. HuggingFace concluded that vLLM and SGLang had matured sufficiently, and now recommends them as alternatives. Still powers HuggingFace's own infrastructure and remains a robust engine (Rust core, continuous batching, Flash Attention), but no new features are being developed.<a href="#cite-48"><sup>48</sup></a>

---

## Comparison Matrix

| Framework | Primary Target | Hardware Breadth | Concurrency | API Compatibility | Quantization | License | Stars |
|---|---|---|---|---|---|---|---|
| **vLLM** | Production serving | NVIDIA, AMD, CPU, Apple (plugin), TPU (exp.) | Best at scale | OpenAI, Anthropic, gRPC | FP8, FP4, AWQ, GPTQ, GGUF, INT8/4 | Apache 2.0 | 95.6K |
| **SGLang** | Agents, structured output | NVIDIA, AMD, TPU, Intel, Apple (MLX) | High (prefix-heavy) | OpenAI, Anthropic (opt.), native | FP8, FP4, W4A8 | Apache 2.0 | 30K |
| **llama.cpp** | Local/edge, broadest HW | Everything | ~16 users | OpenAI, Anthropic, native | GGUF K-quants, I-quants | MIT | 128.5K |
| **Ollama** | Simplest local setup | NVIDIA, AMD, Apple, CPU | ~4 parallel | OpenAI, Anthropic, native | GGUF (via llama.cpp) | MIT | 185K |
| **TensorRT-LLM** | Max NVIDIA throughput | NVIDIA only | High (compiled) | OpenAI (via Triton/trtllm-serve) | FP4, FP8, INT8/4, MXFP | Apache 2.0 | — |
| **ExLlamaV3** | Ultra-low bitrate | NVIDIA CUDA only | Few users | OpenAI (via TabbyAPI) | EXL3 (trellis-coded) | MIT | — |
| **LM Studio** | Desktop UX | All (via llama.cpp/MLX) | Small team | OpenAI, Anthropic | GGUF, MLX | Proprietary | — |
| **KTransformers** | Giant MoE, limited GPU | NVIDIA, AMD, Intel, Ascend | Few users | — | BF16, FP8, MXFP4 | Apache 2.0 | 17K |
| **llamafile** | Zero-install distro | All (via Cosmopolitan) | Low | OpenAI | GGUF | Apache 2.0 | 25.9K |

---

## Cross-Platform Benchmarks

Benchmarks cited from multiple sources.<a href="#cite-33"><sup>33</sup></a><a href="#cite-39"><sup>39</sup></a><a href="#cite-25"><sup>25</sup></a><a href="#cite-1"><sup>1</sup></a> Numbers are output token generation rates unless noted. Hardware and model details specified per row.

### Single-Request Latency (Tokens/sec, 1 Concurrent User)

| Model | llama.cpp | Ollama | vLLM | SGLang | TRT-LLM |
|---|---|---|---|---|---|
| **Llama 3.3 8B Q4** (RTX 4090) | ~72 | ~62 | ~71 | ~65 | — |
| **Llama 3.3 70B FP8** (H100) | — | — | ~120 | ~115 | ~130 |
| **8B class** (M4 Ultra, MLX) | ~150 | ~112 | N/A | — | N/A |

### Throughput Under Concurrency (Total Tokens/sec)

| Scenario | Ollama | llama.cpp | vLLM | SGLang | TRT-LLM |
|---|---|---|---|---|---|
| **8B Q4, 10 concurrent** (RTX 4090) | ~148 | — | ~485 | — | — |
| **8B Q4, 50 concurrent** (RTX 4090) | ~155 | — | ~920 | — | — |
| **70B FP8, 50 concurrent** (H100) | ~420 | — | ~1,850 | ~1,920 | ~2,100 |
| **70B FP8, 100 concurrent** (H100) | — | — | ~2,400 | — | ~2,780 |
| **8B, 32 concurrent** (RTX 4090) | ~310 | — | ~2,800 | — | — |

### Prefix-Heavy Workloads (80% Shared Prefix, H100)

| Metric | vLLM | SGLang |
|---|---|---|
| **TTFT p50** (50 concurrent) | 310ms | 195ms |
| **Throughput lift from caching** | Moderate | 2–5x |
| **Cache hit rate** (production multi-turn) | ~60–75% | ~75–95% |

The key takeaway: under concurrency, vLLM and SGLang are 6–20x faster than Ollama and llama.cpp. TensorRT-LLM leads by 8–16% over vLLM on compiled engines at high concurrency on NVIDIA hardware. SGLang's advantage is specific to prefix-heavy workloads — on unique prompts, it and vLLM are within 5% of each other.

---

## How They Relate

The frameworks form a dependency tree, not a flat list:

```
llama.cpp ─────────────────────────── standalone engine
  ├── Ollama ──────────────────────── wraps llama.cpp + MLX
  ├── LM Studio ───────────────────── wraps llama.cpp + MLX
  ├── llamafile ───────────────────── wraps llama.cpp (Cosmopolitan)
  ├── KoboldCpp ───────────────────── wraps llama.cpp (creative focus)
  └── GPT4All, Jan, etc. ─────────── wrap llama.cpp

vLLM ──────────────────────────────── standalone engine
  └── llm-d ───────────────────────── Kubernetes control plane for vLLM

SGLang ────────────────────────────── standalone engine

TensorRT-LLM ─────────────────────── standalone engine (NVIDIA)
  └── NIM containers ──────────────── pre-compiled TRT-LLM packaging

ExLlamaV3 ─────────────────────────── standalone engine (NVIDIA)
  └── TabbyAPI ────────────────────── OpenAI-compatible server

KTransformers ─────────────────────── standalone engine (heterogeneous)
oMLX ──────────────────────────────── standalone engine (Apple MLX)
```

Choosing Ollama vs llama.cpp is not a framework-vs-framework decision — it's a question of whether you want the wrapper's convenience (model registry, API, one-command setup) or the engine's raw performance and flexibility. Similarly, choosing vLLM vs llm-d is about deployment topology, not inference capability.

---

## Decision Guide

### By Use Case

| Scenario | Recommended | Why |
|---|---|---|
| **Solo developer, local models** | Ollama | One command, zero config, model registry |
| **Solo developer, maximum speed** | llama.cpp (or LM Studio) | No wrapper overhead, direct GPU access |
| **Solo developer, extreme compression** | ExLlamaV3 | EXL3 at 1.6 bpw fits 70B in 16GB VRAM |
| **Solo developer, Apple Silicon** | Ollama (MLX) or oMLX | MLX is 2x faster than Metal; oMLX adds SSD KV caching |
| **Small team, ≤15 concurrent** | llama.cpp server | Simple binary, good performance, broad hardware |
| **Production API, high concurrency** | vLLM | Best ecosystem, broadest cloud integration |
| **Production API, agentic workloads** | SGLang | RadixAttention dominates prefix-reuse scenarios |
| **Production API, NVIDIA fleet, stable model** | TensorRT-LLM | Highest throughput once compiled |
| **Giant MoE, limited GPU** | KTransformers | Runs DeepSeek-R1 671B on 1 GPU + system RAM |
| **Cross-platform distribution** | llamafile | One binary, any OS, no install |
| **Batch processing, unique prompts** | vLLM | PagedAttention scales best without prefix reuse |

### By Hardware

| Hardware | Best Framework | Notes |
|---|---|---|
| **NVIDIA data-center (H100/B200)** | vLLM or SGLang (or TRT-LLM for max throughput) | All three are competitive; choose by workload pattern |
| **NVIDIA consumer (RTX 40/50)** | llama.cpp or Ollama | vLLM works but is overkill for 1–2 users |
| **Apple Silicon (M1–M5)** | Ollama (MLX) or oMLX | MLX backend is 2x faster than Metal; oMLX for agent TTFT |
| **AMD Instinct (MI300X/MI355X)** | SGLang | AMD's official recommendation (ROCm 6.3) |
| **AMD consumer (RDNA3/4)** | Ollama or llama.cpp | ROCm support, Vulkan fallback |
| **Google TPU** | SGLang | RadixArk + Google partnership for v6e/v7 |
| **Intel (Arc/Xeon)** | llama.cpp | SYCL + Vulkan backends, broadest Intel support |
| **CPU-only** | llama.cpp | AVX-512, AMX optimizations; ~23 tok/s on Ryzen 9 for 7B |
| **DGX Spark** | SGLang or llama.cpp | SGLang has NGC containers; llama.cpp ships with DGX OS |
| **Mobile / browser** | MLC LLM | WebGPU, Metal, Vulkan from one codebase |

---

## Summary

The LLM serving market in October 2026 has settled into clear layers:

- **Convenience layer.** Ollama (185K stars) and LM Studio own the "run a model in one command" space. They wrap llama.cpp and MLX, adding model management and API surfaces at the cost of 5–30% overhead. Neither is suited for high-concurrency serving, but that's not what they're for.

- **Engine layer.** llama.cpp (128.5K stars) is the universal engine — it runs on every platform, defines the GGUF format, and powers the entire convenience layer above it. For local inference on any hardware, nothing else has its reach.

- **Production layer.** vLLM (95.6K stars) and SGLang (30K stars) compete for high-concurrency serving. vLLM has the larger ecosystem and broader cloud integration. SGLang has the structural advantage on agentic and prefix-heavy workloads. Both release biweekly and are converging on each other's strengths. TensorRT-LLM wins on raw throughput for stable models on NVIDIA hardware, at the cost of compilation time and portability.

- **Specialist layer.** ExLlamaV3 (extreme compression), KTransformers (giant MoE on limited GPU), oMLX (Apple Silicon agent serving), and llamafile (zero-install distribution) each solve a problem no general-purpose framework handles well.

The most important decision is not which framework is "best" but which layer your workload lives in. A solo developer running Qwen 32B on a Mac Studio has different needs than a team serving DeepSeek-V4 to 10,000 concurrent users on H100s. The frameworks reflect this: they are not interchangeable alternatives but tools built for different parts of the same ecosystem.

---

## Endnotes

<a id="cite-1"></a>1. Spheron, "vLLM vs SGLang 2026: RadixAttention vs PagedAttention." [spheron.network](https://www.spheron.network/blog/vllm-vs-sglang-2026/)

<a id="cite-2"></a>2. SiliconANGLE, "Inferact launches with $150M in funding to commercialize vLLM." [siliconangle.com](https://siliconangle.com/2026/01/22/inferact-launches-150m-funding-commercialize-vllm/)

<a id="cite-3"></a>3. TechCrunch, "Sources: Project SGLang spins out as RadixArk with $400M valuation." [techcrunch.com](https://techcrunch.com/2026/01/21/sources-project-sglang-spins-out-as-radixark-with-400m-valuation-as-inference-market-explodes/)

<a id="cite-4"></a>4. TechCrunch, "Popular open-source AI developer tool Ollama raises $65M, grows to nearly 9M users." [techcrunch.com](https://techcrunch.com/2026/07/09/popular-open-source-ai-developer-tool-ollama-raises-65m-grows-to-nearly-9m-users/)

<a id="cite-5"></a>5. Hugging Face Blog, "ggml joins Hugging Face." [huggingface.co/blog](https://huggingface.co/blog/ggml-joins-hf)

<a id="cite-6"></a>6. vLLM Blog, "vLLM V1 Alpha Release." [vllm.ai/blog](https://vllm.ai/blog/2025-01-27-v1-alpha-release)

<a id="cite-7"></a>7. vLLM GitHub Releases. [github.com/vllm-project/vllm/releases](https://github.com/vllm-project/vllm/releases)

<a id="cite-8"></a>8. vLLM Blog, "EAGLE 3.1 announcement." [vllm.ai/blog](https://vllm.ai/blog/2026-05-26-eagle-3-1)

<a id="cite-9"></a>9. TechAIMag, "vLLM open-source LLM serving engine hits 95K stars." [techaimag.com](https://www.techaimag.com/ai-news/vllm-open-source-llm-serving-engine-hits-95k-stars)

<a id="cite-10"></a>10. rohitghumare.com, "Inside the vLLM Engine." [rohitghumare.com/guides/inside-vllm](https://rohitghumare.com/guides/inside-vllm/)

<a id="cite-11"></a>11. Red Hat Developers, "Performance boosts in vLLM 0.8.1: switching to V1 engine." [developers.redhat.com](https://developers.redhat.com/articles/2025/04/28/performance-boosts-vllm-081-switching-v1-engine)

<a id="cite-12"></a>12. llm-d.ai, "Announcing llm-d." [llm-d.ai/blog](https://llm-d.ai/blog/llm-d-announce)

<a id="cite-13"></a>13. Futurum Group, "vLLM becomes production infrastructure at PyTorch Conference 2026." [futurumgroup.com](https://futurumgroup.com/insights/vllm-becomes-production-infrastructure-at-pytorch-conference-2026/)

<a id="cite-14"></a>14. SGLang, "SGLang: The Complete Guide." [inference.net](https://inference.net/content/sglang-complete-guide/)

<a id="cite-15"></a>15. SGLang GitHub Releases. [github.com/sgl-project/sglang/releases](https://github.com/sgl-project/sglang/releases)

<a id="cite-16"></a>16. Zhongzhu Zhou, "SGLang Technical Review." [zhongzhuzhou.org](https://www.zhongzhuzhou.org/blog/2026-05-21-sglang-technical-review-en/)

<a id="cite-17"></a>17. SGLang GitHub. [github.com/sgl-project/sglang](https://github.com/sgl-project/sglang)

<a id="cite-18"></a>18. SGLang documentation, "DeepSeek Models on SGLang." [docs.sglang.io](https://sgl-project-sglang-93.mintlify.app/models/deepseek)

<a id="cite-19"></a>19. LMSYS Blog, "SGLang on Google TPU." [lmsys.org/blog](https://www.lmsys.org/blog/2026-07-30-sglang-google-tpu/)

<a id="cite-20"></a>20. Particula Tech, "SGLang vs vLLM in 2026." [particula.tech](https://particula.tech/blog/sglang-vs-vllm-inference-engine-comparison)

<a id="cite-21"></a>21. Presenc.ai, "llama.cpp Ecosystem State 2026." [presenc.ai](https://presenc.ai/research/llama-cpp-ecosystem-state-2026)

<a id="cite-22"></a>22. Freedom.tech, "llama.cpp release history." [freedom.tech](https://freedom.tech/project/llama-cpp/)

<a id="cite-23"></a>23. MarkAICode, "llama.cpp inference benchmark." [markaicode.com](https://markaicode.com/benchmarks/llamacpp-inference-benchmark/)

<a id="cite-24"></a>24. Wikipedia, "Llama.cpp." [en.wikipedia.org](https://en.wikipedia.org/wiki/Llama.cpp)

<a id="cite-25"></a>25. Ertas.ai, "llama.cpp vs vLLM comparison." [ertas.ai](https://www.ertas.ai/compare/llama-cpp-vs-vllm)

<a id="cite-26"></a>26. Releasebot, "Ollama releases." [releasebot.io](https://releasebot.io/updates/ollama)

<a id="cite-27"></a>27. Medium, "Ollama model library by the numbers." [medium.com](https://medium.com/@amareswer/ollama-model-library-by-the-numbers-472085f60a6b)

<a id="cite-28"></a>28. LocalAIMaster, "Ollama agent mode." [localaimaster.com](https://localaimaster.com/blog/ollama-agent-mode)

<a id="cite-29"></a>29. GitHub, "ollama/ollama." [github.com/ollama/ollama](https://github.com/ollama/ollama)

<a id="cite-30"></a>30. StrideNote, "Ollama MLX merger 2026." [stridenote.net](https://stridenote.net/ollama-mlx-merger-2026/)

<a id="cite-31"></a>31. Angelo Lima, "Ollama 2026: State of the Art." [angelo-lima.fr](https://angelo-lima.fr/en/ollama-2026-state-of-the-art-en/)

<a id="cite-32"></a>32. Stackademic, "Ollama launch with Claude Code, Codex, Droid, OpenCode." [blog.stackademic.com](https://blog.stackademic.com/ollama-launch-with-claude-code-codex-droid-opencode-8d621e819c78)

<a id="cite-33"></a>33. SitePoint, "Ollama vs vLLM performance benchmark 2026." [sitepoint.com](https://www.sitepoint.com/ollama-vs-vllm-performance-benchmark-2026/)

<a id="cite-34"></a>34. NemesisNet, "Ollama vs llama.cpp vs vLLM vs SGLang: Choosing the right LLM inference engine in 2026." [blog.nemesisnet.co.za](https://blog.nemesisnet.co.za/ollama-vs-llama-cpp-vs-vllm-vs-sglang-choosing-the-right-llm-inference-engine-in-2026/)

<a id="cite-35"></a>35. WillItRun, "TensorRT-LLM deep dive." [willitrun.dev](https://willitrun.dev/engine-tensorrt-llm)

<a id="cite-36"></a>36. TensorRT-LLM GitHub, "Q3 2026 Roadmap." [github.com/NVIDIA/TensorRT-LLM/issues/15044](https://github.com/NVIDIA/TensorRT-LLM/issues/15044)

<a id="cite-37"></a>37. TensorRT-LLM, "Supported hardware." [github.com/NVIDIA/TensorRT-LLM](https://github.com/NVIDIA/TensorRT-LLM/blob/main/docs/source/supported-hardware.md)

<a id="cite-38"></a>38. Spheron, "TensorRT Model Optimizer quantization guide." [spheron.network](https://www.spheron.network/blog/tensorrt-model-optimizer-modelopt-quantization-guide/)

<a id="cite-39"></a>39. Spheron, "vLLM vs TensorRT-LLM vs SGLang: H100 Benchmarks." [spheron.network](https://www.spheron.network/blog/vllm-vs-tensorrt-llm-vs-sglang-benchmarks/)

<a id="cite-40"></a>40. Spheron, "vLLM vs TensorRT-LLM 2026." [spheron.network](https://www.spheron.network/blog/vllm-vs-tensorrt-llm-2026/)

<a id="cite-41"></a>41. Spheron, "NVIDIA NIM self-host deployment guide." [spheron.network](https://www.spheron.network/blog/nvidia-nim-self-host-deployment-guide/)

<a id="cite-42"></a>42. arXiv, "PrefixBench-H100." [arxiv.org](https://arxiv.org/pdf/2609.19657)

<a id="cite-43"></a>43. LocalAINews, "ExLlamaV3 supercharges home AI with triple-speed DFlash decoding." [localainews.co](https://www.localainews.co/news/tools/exllamav3-supercharges-home-ai-with-triple-speed-dflash-decoding/)

<a id="cite-44"></a>44. PromptQuorum, "LM Studio Review 2026." [promptquorum.com](https://www.promptquorum.com/power-local-llm/lm-studio-review)

<a id="cite-45"></a>45. KTransformers GitHub. [github.com/kvcache-ai/ktransformers](https://github.com/kvcache-ai/ktransformers)

<a id="cite-46"></a>46. PromptQuorum, "llamafile explained." [promptquorum.com](https://www.promptquorum.com/power-local-llm/llamafile-explained)

<a id="cite-47"></a>47. oMLX. [omlx.ai](https://omlx.ai/)

<a id="cite-48"></a>48. HuggingFace, "Text Generation Inference." [huggingface.co/docs](https://huggingface.co/docs/inference-endpoints/en/engines/tgi)
