Skip to content

Compare LLM infrastructure

Pick up to four tools for running, serving or monitoring models and see them side by side. A row shows only when one of the picked tools documents it.

Popular comparisons

OllamaLM Studiollama.cppvLLM
DetailRun models locallyOllamaRun models locallyLM StudioRun models locallyllama.cppServing enginesvLLM
What it isA command-line tool and local server for running open models, with its own model library at ollama.com/library.A desktop app for downloading and chatting with models, with a local server for developers.An LLM inference engine in C/C++ built on the ggml library, with a CLI, a server and a built-in chat app (Llama Chat).A Python library and server for LLM inference and serving, started at UC Berkeley’s Sky Computing Lab.
LicenseMITClosed-source app, free to use at home and at work; its terms license it for personal and internal business use.MITApache 2.0
Operating systemsmacOS, Windows, Linux; official Docker image ollama/ollama.macOS on Apple Silicon (macOS 14+), Windows on x64 (AVX2 required) and ARM, Linux on x64 and ARM64 (AppImage).Install scripts for macOS/Linux (curl) and Windows (PowerShell), pre-built binaries, Docker, and a build guide for Android.Linux (Python 3.11-3.14). Not supported natively on Windows (WSL works); macOS through vLLM-Metal on Apple Silicon.
Model formatsModels from its library; imports GGUF and Safetensors through a Modelfile. Does not quantize GGUF on import.GGUF through its llama.cpp runtime; MLX models on Apple Silicon Macs.GGUF, downloadable straight from Hugging Face with -hf.Hugging Face models, 200+ architectures; quantized formats including FP8, INT8, INT4, GPTQ/AWQ and GGUF.
HardwareNVIDIA GPUs with compute capability 5.0+ (driver 550+), AMD Radeon through ROCm v7, Apple GPUs through Metal, and Vulkan.Runs on the llama.cpp and MLX runtimes. Recommends 16 GB+ RAM, and at least 4 GB of dedicated VRAM on Windows.CPU (with BLAS options), Apple Metal, NVIDIA CUDA, AMD HIP, Vulkan, SYCL, MUSA and CANN backends, and multi-GPU splitting.NVIDIA, AMD and Intel GPUs; x86, ARM and PowerPC CPUs; plugins for Google TPUs, Intel Gaudi, Huawei Ascend, Apple Silicon and others.
API and default addressOwn REST API plus OpenAI-compatible /v1 routes (chat completions, responses) at http://localhost:11434.OpenAI-compatible API; the docs’ examples use http://localhost:1234/v1.Server with OpenAI-compatible chat completions, responses and embeddings routes, listening on 127.0.0.1:9931 by default.OpenAI-compatible server, plus Anthropic Messages API and gRPC, at http://localhost:8000. Hosts one model at a time.
Serving many usersNot stated in the docs read.Not stated in the docs read.Server lists parallel decoding with multi-user support and continuous batching.PagedAttention, continuous batching, prefix caching, and tensor, pipeline, data and expert parallelism.
InstallNot listedNot listedNot listedpip or uv package (vllm); build from source.
Serving featuresNot listedNot listedNot listedPagedAttention, continuous batching, chunked prefill, prefix caching, speculative decoding, disaggregated prefill and decode; tensor, pipeline, data, expert and context parallelism; multi-LoRA.
TelemetryNot listedNot listedNot listedNot covered in the pages read.
Install command
curl -fsSL https://ollama.com/install.sh | sh   # macOS, Linux
irm https://ollama.com/install.ps1 | iex      # Windows PowerShell
Download the installer from lmstudio.ai
curl -LsSf https://llama.app/install.sh | sh   # macOS, Linux
irm https://llama.app/install.ps1 | iex       # Windows PowerShell
uv pip install vllm
vllm serve Qwen/Qwen2.5-1.5B-Instruct
SourcesOllama README, Hardware support, OpenAI compatibility, Importing a modelLM Studio docs, System requirements, OpenAI compatibility, LM Studio is free for use at work, App termsllama.cpp README, Build guide (backends), Server READMEvLLM README, Quickstart, GPU installation

Checked 25-27 November 2026, from each vendor’s or project’s own pages. Full write-up with FAQs: Ollama vs LM Studio vs llama.cpp vs vLLM.

Related: compare AI coding tools and app builders · OpenRouter vs direct API · GPU cloud pricing