llama.cpp: LLM Inference in C/C++

Repositoryggml-org/llama.cppTool

llama.cpp is an open-source C/C++ project by ggml-org dedicated to LLM inference. Boasting over 127,000 GitHub stars, it provides pre-built binaries, Docker containers, REST APIs, and C library bindings for executing language models.

Key points

  1. Specialised in LLM inference, written in C/C++ around the GGML ecosystem.
  2. Multiple installation paths: pre-built binaries, Docker, Winget, or building from source.
  3. Provides both a native C library (lib llama API) and a HTTP server (llama-server REST API).
  4. Published under the MIT licence with over 127,000 stars and 22,000 forks on GitHub.

Why it matters

It offers developers a lightweight, dependency-free method to run LLMs natively in C/C++ without requiring heavy Python environments. The bundled REST server and Docker support make local or self-hosted deployment straightforward.

Analysis

llama.cpp solves the challenge of running efficient, portable LLM inference in C/C++. Using C++ and the GGML tensor library, it targets developers, system integrators, and infrastructure engineers running local or server-side inference. With over 127,000 stars, 22,000 forks, continuous releases, an active maintainer team, and structured APIs for both C and REST, the repository exhibits an exceptionally high degree of maturity.

Found in

Summary generated by AI (Gemini 3.8 Flash, 27 September 2026). It may contain errors – the original source is authoritative.

Similar in content, found by the AI search.

  • Repository:google-ai-edge/LiteRT-LM

    LiteRT-LM: Google's Open-Source Inference Framework for On-Device LLMs

    LiteRT-LM is an open-source inference orchestration layer from Google designed to run large language models directly on edge devices. It leverages GPU and NPU acceleration and powers on-device generative AI features in Chrome, Pixel Watch, and Chromebook Plus.

    6.4kstarsC++

    AI & LLMs· Tool

  • Repository:ashhart/TensorFold

    TensorFold: LLM Inference Engine for Apple Silicon and Modern NVIDIA GPUs

    TensorFold is an open-source inference engine designed to serve large language models on Apple Silicon (via MLX/Metal) and newer NVIDIA GPUs (Compute Capability 8.9+). It provides OpenAI- and Anthropic-compatible endpoints with model-tailored kernels and speculative draft verification.

    1.1kstarsPython

    AI & LLMs· Tool

  • Link:Samarveer Singh

    llama.cpp WebUI vs Ollama: Trading Convenience for Speed and Control

    Samarveer Singh compares llama.cpp's built-in WebUI with Ollama for local LLM hosting. While Ollama remains king of convenience for model switching and installation, llama.cpp provides noticeably faster inference and granular inference controls.

    AI & LLMs· Opinion

  • Repository:drumih/turbo-fieldfare

    TurboFieldfare: Gemma 4 26B-A4B Inference in 2 GB RAM on Apple Silicon

    TurboFieldfare is a dedicated Swift and Metal runtime designed to run Google's Gemma 4 26B-A4B on Apple Silicon Macs within an approximately 2 GB RAM budget. It avoids loading the full 14.3 GB model into memory by keeping only the 1.35 GB core and KV cache in RAM while streaming the required mixture-of-experts weights from SSD on demand.

    6.6kstarsSwift

    AI & LLMs· Tool

Let's talk about your project

Locations

  • Mattersburg
    Johann Nepomuk Bergerstraße 7/2/14
    7210 Mattersburg, Austria
  • Vienna
    Ungargasse 64-66/3/404
    1030 Wien, Austria

Parts of this content were created with the assistance of AI.