{"adoption": {"forks": 1446, "observed_at": "2026-08-28T04:10:42.480906+00:00", "stars": 10585}, "canonical_url": "https://ross.abutalabs.com/products/llama-cpp-python", "card": {"archived": false, "artifact_type": "library", "description": "Python bindings for llama.cpp", "domain": ["large-language-models", "machine-learning", "artificial-intelligence", "developer-tools"], "enriched": true, "function": ["llm-inference", "http-server", "sdk"], "health_score": 99, "homepage": "https://llama-cpp-python.readthedocs.io", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["abetlen/llama-cpp-python"], "name": "abetlen/llama-cpp-python", "platform": ["python", "windows", "cross-platform"], "pushed_at": "2026-08-17T13:04:43+00:00", "repo": "abetlen/llama-cpp-python", "stars": 10585, "tags": ["llama-cpp", "gguf", "openai-compatible-api", "local-llm", "langchain", "llamaindex", "ctypes-bindings", "text-generation", "linux", "macos", "gpu"], "topics": [], "urls": [], "use_cases": ["run llama.cpp models from python", "serve a local openai-compatible llm api", "run gguf models locally without a gpu cloud", "use a local llm with langchain or llamaindex", "replace github copilot with a local code completion model", "run multimodal vision models locally"], "what_it_is": "Python bindings for llama.cpp providing low-level ctypes access to the C API plus a high-level API for text completion with OpenAI-like interfaces. It also ships an OpenAI-compatible web server supporting function calling, vision models, and multiple models.", "when_to_avoid": ["you need managed multi-node inference at scale", "you prefer a pure-python or cloud-hosted inference stack", "you cannot compile C/C++ and no prebuilt wheel fits your hardware"], "when_to_choose": ["you want to run quantized gguf models locally in python", "you need an openai-compatible endpoint without external services", "you want cpu or custom hardware-accelerated inference via cmake options"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/llama-cpp-python", "repo": "abetlen/llama-cpp-python", "role": "main", "score": 92}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:10:42.480906+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:18:30.216300+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc84edd758fc334dbc8aa9d8861a64ca18055ae2ae23518b5c8c8d079c1811d6", "fetched_at": "2026-08-28T04:10:42.480906+00:00", "kind": "readme", "missing": false, "url": "https://github.com/abetlen/llama-cpp-python"}, {"content_hash": "b5dd3b24fe9f93d2960ec18b66e5f65088cc5ff65c0b076be0c8c1cb89dd03e9", "fetched_at": "2026-08-29T08:17:39.115330+00:00", "kind": "homepage", "missing": false, "url": "https://llama-cpp-python.readthedocs.io"}, {"content_hash": "a223f2a87d620be39d198412b713853c2567219d9a70c65ff6d0f45d7c4cb9af", "fetched_at": "2026-08-29T08:17:39.140674+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/llama-cpp-python/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:10:42.480906+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:18:30.216300+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc84edd758fc334dbc8aa9d8861a64ca18055ae2ae23518b5c8c8d079c1811d6", "fetched_at": "2026-08-28T04:10:42.480906+00:00", "kind": "readme", "missing": false, "url": "https://github.com/abetlen/llama-cpp-python"}, {"content_hash": "b5dd3b24fe9f93d2960ec18b66e5f65088cc5ff65c0b076be0c8c1cb89dd03e9", "fetched_at": "2026-08-29T08:17:39.115330+00:00", "kind": "homepage", "missing": false, "url": "https://llama-cpp-python.readthedocs.io"}, {"content_hash": "a223f2a87d620be39d198412b713853c2567219d9a70c65ff6d0f45d7c4cb9af", "fetched_at": "2026-08-29T08:17:39.140674+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/llama-cpp-python/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:18:30.216300+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc84edd758fc334dbc8aa9d8861a64ca18055ae2ae23518b5c8c8d079c1811d6", "fetched_at": "2026-08-28T04:10:42.480906+00:00", "kind": "readme", "missing": false, "url": "https://github.com/abetlen/llama-cpp-python"}, {"content_hash": "b5dd3b24fe9f93d2960ec18b66e5f65088cc5ff65c0b076be0c8c1cb89dd03e9", "fetched_at": "2026-08-29T08:17:39.115330+00:00", "kind": "homepage", "missing": false, "url": "https://llama-cpp-python.readthedocs.io"}, {"content_hash": "a223f2a87d620be39d198412b713853c2567219d9a70c65ff6d0f45d7c4cb9af", "fetched_at": "2026-08-29T08:17:39.140674+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/llama-cpp-python/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:10:42.480906+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:10:42.480906+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:10:42.480906+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:18:30.216300+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc84edd758fc334dbc8aa9d8861a64ca18055ae2ae23518b5c8c8d079c1811d6", "fetched_at": "2026-08-28T04:10:42.480906+00:00", "kind": "readme", "missing": false, "url": "https://github.com/abetlen/llama-cpp-python"}, {"content_hash": "b5dd3b24fe9f93d2960ec18b66e5f65088cc5ff65c0b076be0c8c1cb89dd03e9", "fetched_at": "2026-08-29T08:17:39.115330+00:00", "kind": "homepage", "missing": false, "url": "https://llama-cpp-python.readthedocs.io"}, {"content_hash": "a223f2a87d620be39d198412b713853c2567219d9a70c65ff6d0f45d7c4cb9af", "fetched_at": "2026-08-29T08:17:39.140674+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/llama-cpp-python/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:10:42.480906+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:10:42.480906+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:18:30.216300+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc84edd758fc334dbc8aa9d8861a64ca18055ae2ae23518b5c8c8d079c1811d6", "fetched_at": "2026-08-28T04:10:42.480906+00:00", "kind": "readme", "missing": false, "url": "https://github.com/abetlen/llama-cpp-python"}, {"content_hash": "b5dd3b24fe9f93d2960ec18b66e5f65088cc5ff65c0b076be0c8c1cb89dd03e9", "fetched_at": "2026-08-29T08:17:39.115330+00:00", "kind": "homepage", "missing": false, "url": "https://llama-cpp-python.readthedocs.io"}, {"content_hash": "a223f2a87d620be39d198412b713853c2567219d9a70c65ff6d0f45d7c4cb9af", "fetched_at": "2026-08-29T08:17:39.140674+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/llama-cpp-python/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:10:42.480906+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:10:42.480906+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:10:42.480906+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:18:30.216300+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc84edd758fc334dbc8aa9d8861a64ca18055ae2ae23518b5c8c8d079c1811d6", "fetched_at": "2026-08-28T04:10:42.480906+00:00", "kind": "readme", "missing": false, "url": "https://github.com/abetlen/llama-cpp-python"}, {"content_hash": "b5dd3b24fe9f93d2960ec18b66e5f65088cc5ff65c0b076be0c8c1cb89dd03e9", "fetched_at": "2026-08-29T08:17:39.115330+00:00", "kind": "homepage", "missing": false, "url": "https://llama-cpp-python.readthedocs.io"}, {"content_hash": "a223f2a87d620be39d198412b713853c2567219d9a70c65ff6d0f45d7c4cb9af", "fetched_at": "2026-08-29T08:17:39.140674+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/llama-cpp-python/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:10:42.480906+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:10:42.480906+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:18:30.216300+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc84edd758fc334dbc8aa9d8861a64ca18055ae2ae23518b5c8c8d079c1811d6", "fetched_at": "2026-08-28T04:10:42.480906+00:00", "kind": "readme", "missing": false, "url": "https://github.com/abetlen/llama-cpp-python"}, {"content_hash": "b5dd3b24fe9f93d2960ec18b66e5f65088cc5ff65c0b076be0c8c1cb89dd03e9", "fetched_at": "2026-08-29T08:17:39.115330+00:00", "kind": "homepage", "missing": false, "url": "https://llama-cpp-python.readthedocs.io"}, {"content_hash": "a223f2a87d620be39d198412b713853c2567219d9a70c65ff6d0f45d7c4cb9af", "fetched_at": "2026-08-29T08:17:39.140674+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/llama-cpp-python/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:18:30.216300+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc84edd758fc334dbc8aa9d8861a64ca18055ae2ae23518b5c8c8d079c1811d6", "fetched_at": "2026-08-28T04:10:42.480906+00:00", "kind": "readme", "missing": false, "url": "https://github.com/abetlen/llama-cpp-python"}, {"content_hash": "b5dd3b24fe9f93d2960ec18b66e5f65088cc5ff65c0b076be0c8c1cb89dd03e9", "fetched_at": "2026-08-29T08:17:39.115330+00:00", "kind": "homepage", "missing": false, "url": "https://llama-cpp-python.readthedocs.io"}, {"content_hash": "a223f2a87d620be39d198412b713853c2567219d9a70c65ff6d0f45d7c4cb9af", "fetched_at": "2026-08-29T08:17:39.140674+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/llama-cpp-python/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:18:30.216300+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc84edd758fc334dbc8aa9d8861a64ca18055ae2ae23518b5c8c8d079c1811d6", "fetched_at": "2026-08-28T04:10:42.480906+00:00", "kind": "readme", "missing": false, "url": "https://github.com/abetlen/llama-cpp-python"}, {"content_hash": "b5dd3b24fe9f93d2960ec18b66e5f65088cc5ff65c0b076be0c8c1cb89dd03e9", "fetched_at": "2026-08-29T08:17:39.115330+00:00", "kind": "homepage", "missing": false, "url": "https://llama-cpp-python.readthedocs.io"}, {"content_hash": "a223f2a87d620be39d198412b713853c2567219d9a70c65ff6d0f45d7c4cb9af", "fetched_at": "2026-08-29T08:17:39.140674+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/llama-cpp-python/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:18:30.216300+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cc84edd758fc334dbc8aa9d8861a64ca18055ae2ae23518b5c8c8d079c1811d6", "fetched_at": "2026-08-28T04:10:42.480906+00:00", "kind": "readme", "missing": false, "url": "https://github.com/abetlen/llama-cpp-python"}, {"content_hash": "b5dd3b24fe9f93d2960ec18b66e5f65088cc5ff65c0b076be0c8c1cb89dd03e9", "fetched_at": "2026-08-29T08:17:39.115330+00:00", "kind": "homepage", "missing": false, "url": "https://llama-cpp-python.readthedocs.io"}, {"content_hash": "a223f2a87d620be39d198412b713853c2567219d9a70c65ff6d0f45d7c4cb9af", "fetched_at": "2026-08-29T08:17:39.140674+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/llama-cpp-python/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 98, "longevity": 89, "rhythm": 86}, "computed_at": "2026-09-03T02:39:23.370411+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1259, "days_push": 16, "days_rel": 16, "gap_med": 0.0, "n_releases_24m": 217}, "score": 92, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}