Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

llama-cpp-python

Python bindings for llama.cpp enabling efficient LLM inference on CPU.

Model SDKsPYPI

GitHubWebsite

1. License

License from PyPI license field.

github.com/abetlen/llama-cpp-python

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What llama-cpp-python does

Python bindings for llama.cpp enabling efficient LLM inference on CPU.

llama-cpp-python popularity

46 / 100
Gid Score, #2468 overall
140K
downloads a week, pypi
10.7K
GitHub stars
4
agent projects use it
llama-cpp-python: downloads per weekPyPI, llama-cpp-python 142,567
llama-cpp-python: GitHub starsabetlen/llama-cpp-python 10,692

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How llama-cpp-python is used

  • llama-cpp-python is a dependency in 4 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 46 projects, and what it is used with below comes from all of them.
  • The most used alternative in our scan is Ollama (32 projects).
  • Projects that use it most often also use FastAPI (63.0%), Requests (63.0%), NumPy (63.0%).

Often used with

In 63.0% of its projects
In 63.0% of its projects
In 63.0% of its projects
In 58.7% of its projects
In 56.5% of its projects
In 56.5% of its projects
In 56.5% of its projects
In 54.3% of its projects

More about llama-cpp-python

More in Model SDKs

Alternatives

llama-cpp-python This page

MITGid 46140K/wk

Ollama

Official Python client for running and interacting with local language models via Ollama.

MITGid 642.9M/wk

Compare llama-cpp-python with another tool

Get started

Install it.

pip install llama-cpp-python

No step-by-step start for llama-cpp-python yet: we have not written its hand-checked card.