CreateWithAIHub

Library ggml-org

llama.cpp

C/C++ engine for running LLMs and multimodal models locally on a wide range of hardware, with a built-in server.

Local inference engineFreeOpen source
Visit website ↗
Save

What it is

llama.cpp is an open-source C/C++ project for LLM and multimodal model inference with minimal setup on a wide range of hardware, locally or in the cloud. Built on the ggml library, it can download GGUF models directly from Hugging Face, run them in a terminal chat and serve them through an OpenAI-compatible API with a built-in chat web app. Many local AI tools, including Ollama and LM Studio, build on it.

What it's useful for

Running quantized open models on a laptop or consumer GPU, serving a local OpenAI-compatible endpoint, or embedding LLM inference in a native app.

Key features

  • LLM and multimodal inference in C/C++
  • Runs GGUF models pulled directly from Hugging Face
  • OpenAI-compatible API server
  • Built-in chat web app (Llama Chat)
  • Install scripts, Docker images, prebuilt binaries or source build

How to use it

Install (macOS/Linux)
curl -LsSf https://llama.app/install.sh | sh
Install (Windows PowerShell)
irm https://llama.app/install.ps1 | iex
Run a model from Hugging Face
llama cli -hf ggml-org/Qwen3.5-0.8B-GGUF
Start OpenAI-compatible server
llama serve -hf ggml-org/Qwen3.5-0.8B-GGUF

Commands are copied from the official documentation. Check the docs for the latest version before running them.

Limitations to know

  • Models must be in the GGUF format; models in other formats can be converted with the convert_*.py scripts in the repo

Alternatives

Free desktop app for downloading and running LLMs locally, with chat, document RAG and an OpenAI-compatible local server.

Free

Open-source tool to download and run open models locally with one command, plus optional cloud models.

Free plan + paidOpen source

Free, Apache-2.0 desktop app for downloading and running LLMs offline, with optional cloud models and a local OpenAI-compatible server.

FreeOpen source

High-throughput open-source engine for serving LLMs, with PagedAttention and an OpenAI-compatible API server.

FreeOpen source

MCP servers for this

AWS Labs' collection of open-source MCP servers for AWS docs, the AWS API, infrastructure as code, databases, costs and more.

FreeOpen source

MCP reference server that gives an AI client controlled read/write access to chosen local directories.

FreeOpen source

Community MCP server and Blender addon that let an AI agent model, light and render scenes in a running Blender.

Free plan + paidOpen source

Skills for this

Anthropic skill for generative art in p5.js with seeded randomness and an interactive viewer for exploring parameters.

FreeOpen source

Hugging Face's Agent Skills for the Hub CLI, datasets, model training, evaluation, Spaces and SageMaker deployment.

FreeOpen source

Vercel's collection of Agent Skills for React/Next.js performance, UI review, writing style and Vercel deploys.

FreeOpen source

Related resources

Arize's source-available, self-hosted AI observability tool for OpenTelemetry tracing, evals, datasets and prompts.

Free

Meta's family of downloadable open-weight language models, including the multimodal mixture-of-experts Llama 4.

Free

Self-hosted, offline-capable chat interface for local models via Ollama and any OpenAI-compatible API, under a branding-protected license.

Free plan + paid

Open-source CLI and library for evaluating prompts, models and agents and red-teaming LLM apps, running locally.

Free plan + paidOpen source

Type to search. Use ↑ ↓ and Enter.