Alternatives

Best llama.cpp Alternatives

12 tools match the categories and features of llama.cpp.

StrataAI Developer Tools

Strata: local desktop app for running AI models

Open sourceopen-source#01

Both tools are listed under AI Inference, Large Language Models (LLMs), local-llm, and linux.

TokenSpeedAI Developer Tools

TokenSpeed: inference engine for agent workloads

Open sourceopen-source#02

Both tools are listed under AI Inference and Large Language Models (LLMs).

AirLLMLarge Language Models (LLMs)

Python library that runs 70B-class LLMs on a single 4GB GPU by loading layers one at a time, without quantization.

Open sourcefine-tuning#03

Both tools are listed under AI Inference, Large Language Models (LLMs), local-llm, and llm-inference.

TrnRTAI Developer Tools

Open-source LLM inference engine for AWS Trainium with NKI megakernels, 1M-token context and an OpenAI-compatible API.

Open sourcellm-inference#04

Both tools are listed under AI Inference, Large Language Models (LLMs), and llm-inference.

TensorRT-LLMAI Developer Tools

NVIDIA open-source library to define and optimize LLM and visual generative model inference with TensorRT kernels and a Python API.

Open sourceopen-source#05

Both tools are listed under Large Language Models (LLMs), AI Developer Tools, and llm-inference.

Free open-source book by Bojie Li on AI infrastructure: quantitative analysis of LLM inference and training system design.

Freellm-inference#06

Both tools are listed under AI Inference, Large Language Models (LLMs), and llm-inference.

ggmlAI Developer Tools

Dependency-free C/C++ tensor library behind llama.cpp, with 2 to 8-bit quantization and CPU/GPU/NPU/browser backends.

Open sourcellama-cpp#07

Both tools are listed under AI Inference and Large Language Models (LLMs).

oMLXAI Code Assistant

oMLX: Apple Silicon Mac inference server

Open sourceopen-source#08

Both tools are listed under AI Inference, AI Developer Tools, and macos.

ramgodAI Developer Tools

ramgod: MoE LLM runner for Macs with less RAM than the model

Freelocal-llm#09

Both tools are listed under AI Inference, Large Language Models (LLMs), and local-llm.

MferenceAI Assistant

Mference: personal AI that runs entirely on your Mac

Open sourceopen-source#10

Both tools are listed under Large Language Models (LLMs), Open Source, local-llm, and macos.

colibriLarge Language Models (LLMs)

Pure-C engine that runs huge mixture-of-experts models on an ordinary PC by keeping the active part in RAM and streaming experts from disk.

Open sourceopen-source#11

Both tools are listed under AI Inference, Large Language Models (LLMs), and local-llm.

MagnitudeAI Developer Tools

Open-source local inference engine that auto-tunes kernels for your hardware, claiming over 2x Ollama speed, with one-click agent connections.

Open sourceopen-source#12

Both tools are listed under AI Inference, AI Developer Tools, and local-llm.

FAQ

Frequently asked questions

What are the best alternatives to llama.cpp?
Strata, TokenSpeed, and AirLLM
Is there a free alternative to llama.cpp?
Free, freemium or open-source alternatives include Strata, TokenSpeed, and AirLLM.