Open Source Alternative to:
llama.cpp is a C/C++ inference engine for running large language models locally or in the cloud, with no external dependencies. It targets developers, researchers, and anyone who wants to run open-weight models on their own hardware without relying on cloud APIs.
The project's defining strength is hardware breadth. It runs on Apple Silicon via Metal and ARM NEON, NVIDIA GPUs via custom CUDA kernels, AMD GPUs via HIP, Intel hardware via SYCL, and a long list of other backends including Vulkan, Ascend NPU, and Snapdragon. CPU-only inference works too, and a hybrid CPU+GPU mode lets you run models larger than your available VRAM by splitting the load.
Quantization is a core feature. Models can be stored and run at 1.5-bit through 8-bit integer precision, dramatically reducing memory requirements while keeping inference fast. The GGUF format is the standard file format for these quantized models, and Hugging Face hosts a large library of compatible weights.
Key capabilities include:
llama-server) with multi-user parallel decoding, speculative decoding, embedding endpoints, and reranking supportThe server's OpenAI-compatible API makes it a drop-in backend for tools like AnythingLLM or observability platforms like Langfuse. A precompiled XCFramework is available for iOS, macOS, tvOS, and visionOS Swift projects.
llama.cpp is the reference implementation for GGUF and the ggml tensor library, making it the upstream project that much of the local LLM ecosystem builds on.
Activity score
Stars
Forks
Last commit
Activity score
Stars
Forks
Last commit
Repository age
Every Sunday we deconstruct one proprietary app and pick the best open source alternatives worth switching to.
Stars
Forks
Last commit
Stars
Forks
Last commit
Stars
Forks
Last commit
Repository age
License
Repository
Repository
Stars
Forks
Last commit
Compare with
Stars
Forks
Last commit
Compare with