qmetrics.net
llama.cppLLM inference engine in C/C++ for local and cloud hardware vLLMHigh-throughput, memory-efficient inference and serving engine for LLMs

llama.cpp vs vLLM

How llama.cpp and vLLM compare on popularity, activity, license and platforms: two open-source Machine Learning Infrastructure projects, both alternatives to OpenAI API.

At a glance

Side by side

llama.cppvLLM
GitHub stars★ 136,491★ 97,706
Forks26,18025,373
Last committodaytoday
Latest versionv1.1.0v0.34.0
Repository startedMarch 2023February 2023
LicenseMIT · permissiveApache-2.0 · permissive
Self-hostedDesktop/CLI appYes
PlatformsLinux, macOS, Windows, Android, Docker, CLI, WebDocker
Main languageC++Python
Alternative toOpenAI APIOpenAI API

Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 27 November 2026.

llama.cpp

llama.cpp runs large language models and multimodal models locally or in the cloud with minimal setup. It includes a CLI, an OpenAI-compatible server with a built-in chat app, and a C library API.

Key features

  • Local and cloud LLM inference on many hardware types
  • Command-line chat tool with vision model support
  • Built-in server with REST API and browser chat app
  • OpenAI- and Anthropic-compatible endpoints
  • Streaming, tool calling and structured output
  • GBNF grammars for constrained output

vLLM

vLLM is a library and server for running and serving large language models. It uses PagedAttention and continuous batching for throughput, offers an OpenAI-compatible API, and runs on many GPU, CPU and accelerator types.

Key features

  • PagedAttention memory management
  • Continuous batching and chunked prefill
  • Prefix caching
  • Speculative decoding
  • Quantization (FP8, NVFP4, INT4, GPTQ, AWQ, GGUF)
  • OpenAI-compatible API server

More comparisons

Report a mistake on this page