ggml-org/llama.cpp

▲ 3,642 stars today★ 128,922⑂ 23,481

LLM inference in C/C++

About ggml-org/llama.cpp

ggml-org/llama.cpp is an open-source project on GitHub, mainly written in C++. LLM inference in C/C++ It currently holds 128,922 stars and 23,481 forks with 2,523 open issues, and was last pushed on 2026-09-20 (repository created 2023-03-10).

Project Overview

Git Homed tracks it on the Today's Trending board.

GitHub Repository Details

Repository ggml-org/llama.cpp · default branch master · size 443497 KB · watchers 843 · source: GitHub REST API and repository README

README

llama.cpp

llama

LLM inference in C/C++

License: MIT Release Nightly Server Docker Winget

ggml / ops / maintainer PRs%20sort%3Aupdated-desc) / dev stats / lib llama API / llama-server REST API

Quick start

A few options to get llama.cpp installed on your machine:

# curl
curl -LsSf https://llama.app/install.sh | sh

powershell

irm https://llama.app/install.ps1 | iex
Once installed:
# Download and run a model directly from Hugging Face
llama cli -hf ggml-org/Qwen3.5-0.8B-GGUF

Launch OpenAI-compatible API server

llama serve -hf ggml-org/Qwen3.5-0.8B-GGUF
https://github.com/ggml-org/llama.cpp/blob/HEAD/VLM session with `llama cli` VLM session with llama cli https://github.com/ggml-org/llama.cpp/blob/HEAD/Built-in web UI against `llama serve` running Qwen 3.6 Built-in web UI against llama serve

Description

The main goal of llama.cpp is to enable LLM (and VLM) inference with minimal setup and state-of-the-art performance on a wide range of hardware - locally and in the cloud.

The llama.cpp project is build on top of the ggml library.

Supported backends

| Backend | Target devices | | --- | --- | | BLAS | All | | BLIS | All | | CANN | Ascend NPU | | CUDA | Nvidia GPU | | HIP | AMD GPU | | Hexagon | Snapdragon | | IBM zDNN | IBM Z & LinuxONE | | MUSA | Moore Threads GPU | | Metal | Apple Silicon | | OpenCL | Adreno GPU | | [OpenVINO [In Progress]](docs/backend/OPENVINO.md) | Intel CPUs, GPUs, and NPUs | | RPC | All | | SYCL | Intel GPU | | VirtGPU | VirtGPU APIR | | Vulkan | GPU | | WebGPU | All | | ZenDNN | AMD CPU |

Documentation

Tools

Development

Contributing

Acknowledgements

GitHub Stars & Activity

128,922Stars
23,481Forks
2,523Open issues
C++Language

GitHub Popularity

GitHub stars128,922
Forks23,481
Open issues2,523
Primary languageC++
LicenseMIT
Stars gained today3,642
Created2023-03-10
Last pushed2026-09-20

Trending History

Monthly boardrank #53 · ▲ 3,642 stars

Related GitHub Projects

More Trending Repositories