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.

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

O OSS Framework medium

vLLM

Community

A high-throughput and memory-efficient inference and serving engine for LLMs

★ 81,619 updated 1mo ago
open-source

Best for: Teams building production LLM APIs and services that need to maximize throughput and minimize latency under concurrent load.

P Apps Productivity low

gpt4all

Various

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

★ 77,348 updated 1y ago
freemium

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

★ 39,132 updated 4mo ago
freemium

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.

★ 15,353 updated 1mo ago
open-source

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

O OSS Framework medium

mistral.rs

Community

Fast, flexible LLM inference

★ 7,205 updated 1mo ago
open-source

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

O OSS Obs medium

CTranslate2

Community

Fast inference engine for Transformer models

★ 4,507 updated 1mo ago
open-source

Best for: Developers deploying Transformer models in production who need maximum inference speed on CPU or limited hardware

O OSS Framework medium

exllama

Community

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

★ 2,922 updated 2y ago
open-source

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

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.

freemium

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