AI for Developers
llama.cpp logo

Best llama.cpp alternatives

7 tools developers use instead of llama.cpp, ranked by popularity. 4 offer a free plan and 5 are open source. Updated November 2026.

Free Open source Clear Showing 1–5 of 5
  1. Ollama logo

    Ollama

    Free Open source

    The default way to run open-weight LLMs locally: a single command pulls and runs a model like Llama, DeepSeek, or Qwen on your own machine, with an OpenAI-compatible API.

  2. vLLM logo

    vLLM

    Free Open source

    Open-source, high-throughput inference engine for serving LLMs at scale, using PagedAttention to significantly cut memory waste and boost GPU utilization.

  3. SGLang logo

    SGLang

    Free Open source

    High-performance open-source serving framework for LLMs and multimodal models, with RadixAttention prefix caching and structured output support.

  4. LocalAI logo

    LocalAI

    Open source

    Self-hosted, OpenAI-compatible API for running LLMs, image and audio models locally on consumer hardware.

  5. MLX LM logo

    MLX LM

    Open source

    Run and fine-tune LLMs on a Mac with Apple's MLX framework. Pull models from Hugging Face and serve them locally from a simple CLI.