LibreAI / Local LLM / llama.cpp
// local-llm · ggml-org/llama.cpp

llama.cpp

LLM inference in C/C++

★ 130.2k stars⑂ 24.0k forksMITupdated 2026-10
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

llama.cpp is an open-source local llm project by ggml-org (ggml-org/llama.cpp on GitHub). It has 130,229 GitHub stars and 24,047 forks, is released under the MIT license, and was last updated on GitHub on 3 October 2026.

GitHub stars
130,229
Forks
24,047
License
MIT
Last updated on GitHub
3 October 2026
Category
Local LLM
Listing
Full install guide
Official site
Official site
// how it works

How it works

  1. Install the runtime

    One binary or app gets you a working local model setup.

  2. Download a model

    Pick a size that fits your RAM/VRAM; smaller models run on laptops.

  3. Chat or integrate

    Use the built-in UI, or point OpenAI-compatible clients at it.

  4. Go private

    Airplane mode works — your prompts never leave the device.

// features

Why people love it

OpenAI-compatible APIs

Existing tools plug in by changing one URL.

Document chat

Ask questions over your PDFs, notes, and codebases.

No subscriptions

Pay nothing per token, ever.

100% private

Prompts and documents stay on your hardware, always.

Extensible

RAG, tools, and agents build on the same base.

Quantized efficiency

Smart compression runs big models on modest hardware.

Advertisement
// run it

Run it yourself

  1. Step 1 — Clone the repo

    Download the source and move into the project folder.

    git clone https://github.com/ggml-org/llama.cpp.git
    cd llama.cpp
  2. Step 2 — Check the README

    Every project documents its own setup; start with install requirements.

    cat README.md | head -60
  3. Step 3 — Run it

    Follow the project's launch command — Docker, pip, npm, or a binary release.

    # see README for the exact launch command
// use cases

What you can build

Advertisement
// faq

Questions, answered

Who maintains llama.cpp?

It is an open-source project at ggml-org/llama.cpp with 24,047 forks. Check the repo's contributors and recent commits to see how active maintenance is.

Is llama.cpp free for commercial use?

MIT licensed — use it commercially, no strings attached.

Are local models as good as GPT-4?

Close on many tasks now; frontier cloud models still lead on hard reasoning.

What hardware do I need?

8B models run on 16GB RAM; bigger models want a real GPU.

Which model should I start with?

A recent 8–32B instruct model is the sweet spot for most machines.

// keep exploring

Similar tools

Local LLM

llm

Access large language models from the command-line

★ 12.6k starsApache-2.0
View guide →
Local LLM

ext-apps

Official repo for spec & SDK of MCP Apps protocol - standard for UIs embedded AI chatbots, served by MCP servers

★ 2.9k starsUnknown
View guide →
RAG & Knowledge

ragflow

RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context…

★ 91.6k starsApache-2.0
View guide →
Local LLM

shimmy

⚡ Pure-Rust WebGPU inference engine — OpenAI-API compatible, GGUF native, runs on any GPU. No Python. No llama.cpp. Single binary.

★ 5.9k starsApache-2.0
View guide →
Local LLM

omlx

A fast LLM inference server for Apple Silicon, managed from the macOS menu bar

★ 22.6k starsApache-2.0
View guide →
Local LLM

ChatGLM2-6B

Open bilingual (Chinese-English) 6B chat LLM with 32K-context variant and low-memory INT4 inference.

★ 15.5k starsApache-2.0
View guide →
// alternatives

Alternatives in Local LLM

The most-starred other Local LLM projects in the LibreAI catalogue — the realistic shortlist if llama.cpp is not the right fit.

Get llama.cpp

Free and open — grab the source, star the repo, and start creating.