Enterprise DNA Enterprise DNA
Directories / Alternatives / llama.cpp

Open Source Alternatives

Open source alternatives to llama.cpp

Open source alternatives to llama.cpp, ranked by GitHub stars and freshness.

11 open-source alternatives in the index, ranked by GitHub stars and freshness.

P Apps Productivity low

gpt4all

Various

GPT4All: Run Local LLMs on Any Device. Open-source and available for commercial use.

Alternative to Llama Cpp, Ollama, Privategpt

★ 77,348 updated 1y ago
freemium MIT C++

Best for: Developers building offline-first applications or deploying LLMs on consumer hardware without cloud infrastructure.

P Apps Productivity low

bitnet.cpp

Various

Official inference framework for 1-bit LLMs

Alternative to Llama Cpp, Gpt4all

★ 39,132 updated 6mo ago
freemium MIT Python

Best for: Developers building inference systems for edge devices, mobile applications, or cost-sensitive deployments where model size and speed outweigh maximum accuracy.

O OSS Framework medium

MNN-LLM

Community

MNN: A blazing-fast, lightweight inference engine battle-tested by Alibaba, powering high-performance on-device LLMs and Edge AI.

Alternative to Llama Cpp, Tensorrt Llm, Lmdeploy

★ 15,353 updated 3mo ago
open-source Apache-2.0 C++

Best for: Developers building production on-device LLM and edge AI applications where latency and resource efficiency are critical.

O OSS Obs medium

text-generation-inference

Community

Large Language Model Text Generation Inference

Alternative to Vllm, Llama Cpp

★ 10,857 updated 5mo ago
open-source Apache-2.0 Python

Best for: Developers needing a production-grade, self-hosted LLM serving solution.

O OSS Framework medium

LMDeploy

Community

LMDeploy is a toolkit for compressing, deploying, and serving LLMs.

Alternative to Vllm, Sglang, Tensorrt Llm +2 more

★ 7,876 updated 3mo ago
open-source Apache-2.0 Python

Best for: Developers who need to compress and serve LLMs efficiently in production

O OSS Framework medium

mistral.rs

Community

Fast, flexible LLM inference

Alternative to Llama Cpp, Vllm, Sglang +2 more

★ 7,205 updated 3mo ago
open-source MIT Rust

Best for: Rust developers seeking a fast, flexible LLM inference framework for performance-critical or resource-constrained environments.

O OSS Obs medium

Shimmy

Community

⚡ Python-free Rust inference server — OpenAI-API compatible. GGUF + SafeTensors, hot model swap, auto-discovery, single binary. FREE now, FREE forever.

Alternative to Vllm, Llama Cpp

★ 5,306 updated 3mo ago
open-source Apache-2.0 Rust

Best for: Developers seeking a free, no-fuss Rust-based inference server with OpenAI API compatibility

O OSS Framework medium

exllama

Community

A more memory-efficient rewrite of the HF transformers implementation of Llama for use with quantized weights.

Alternative to Llama Cpp, Vllm

★ 2,922 updated 2y ago
open-source MIT Python

Best for: Developers running quantized Llama models on resource-constrained hardware

O OSS Obs medium

Rapid-MLX

Community

The fastest local AI engine for Apple Silicon. 4.2x faster than Ollama, 0.08s cached TTFT, 100% tool calling. 17 tool parsers, prompt cache, reasoning separation, cloud routing. Dr

Alternative to Ollama, Llama Cpp, Vllm

★ 2,641 updated 3mo ago
open-source Apache-2.0 Python

Best for: Developers on Apple Silicon who need a fast, local OpenAI-compatible inference engine for tool-calling and reasoning tasks.

O OSS Framework medium

Llama 3-8|70B

Community

[Llama 2-7 13 70B](https://llama.meta.com/llama2/)

Alternative to Vllm, Llama Cpp, Litgpt

open-source

Best for: Developers and researchers seeking a community-driven framework to deploy and customize Llama 3 models without proprietary dependencies.

P Apps Productivity low

OpenAI API

Various

Announcement of the OpenAI API for text-to-text general-purpose AI models based on GPT-3. OpenAI blog, June 11, 2020.

Alternative to Llama Cpp, Gpt4all, Ollama

freemium

Best for: Developers needing quick integration of general text generation into their applications