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

llama.cpp

llama.cpp é um projeto de LLM local de código aberto de ggml-org (ggml-org/llama.cpp no GitHub). Tem 130.229 estrelas no GitHub e 24.047 forks, é publicado sob a licença MIT e foi atualizado pela última vez no GitHub em 3 de outubro de 2026.

LLM inference in C/C++

★ 130,2 mil estrelas⑂ 24,0 mil forksMITatualizado out 2026
▦ visual: o README deste projeto não inclui nenhuma captura incorporável,
então aqui vai um marcador. O guia abaixo está completo mesmo assim.
// dados do projeto

Dados do projeto

Repositório
ggml-org/llama.cpp
Estrelas no GitHub
130.229
Forks
24.047
Licença
MIT
Última atualização no GitHub
3 de outubro de 2026
Categoria
LLM local
Tipo de ficha
Guia de instalação completo
Site oficial
Official site
// como funciona

Como funciona

  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.

// recursos

Por que as pessoas gostam tanto

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
// execute você mesmo

Execute você mesmo

  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
// casos de uso

O que você pode criar

Also on this shelf: api-relay-audit — local security auditor for AI API relays — catches injection and swaps. The Local LLM shelf also holds agents — open-source marketing agents for Claude, ChatGPT, and Codex. The Local LLM shelf also holds ai-text-detector — a cautious, explainable AI-like text risk analysis tool for local workflows and coding.

Advertisement
// perguntas frequentes

Perguntas frequentes

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.

// continue explorando

Ferramentas semelhantes

LLM local

llm

Access large language models from the command-line

★ 12,6 mil estrelasApache-2.0
Ver o guia →
LLM local

ext-apps

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

★ 2,9 mil estrelasUnknown
Ver o guia →
RAG e conhecimento

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,6 mil estrelasApache-2.0
Ver o guia →
LLM local

shimmy

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

★ 5,9 mil estrelasApache-2.0
Ver o guia →
LLM local

omlx

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

★ 22,6 mil estrelasApache-2.0
Ver o guia →
LLM local

ChatGLM2-6B

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

★ 15,5 mil estrelasApache-2.0
Ver o guia →
// alternativas

Alternativas em LLM local

Os outros projetos de LLM local com mais estrelas no catálogo do LibreAI — a lista realista de alternativas se llama.cpp não for o ideal para você.

// mais em local-llm

Mais em LLM local

Projetos de LLM local próximos no catálogo, os mais próximos em estrelas de llama.cpp: continue explorando dos dois lados dele.

Baixe o llama.cpp

Grátis e aberto: pegue o código-fonte, dê uma estrela no repositório e comece a criar.