From llama.cpp to AirLLM — a deep-dive comparison of every major tool for running large language models on consumer hardware. CPU, edge, low-GPU, Apple Silicon, and beyond.
The landscape of on-device AI has transformed dramatically. In 2024, running a 7B-parameter model on a CPU was a novelty. By 2026, it's a commodity — and breakthroughs like kimi-k3-in-c have demonstrated that even a 2.78 trillion-parameter MoE model can run on a single CPU with just 8.24 GB of RAM. Quantization techniques (GGUF, IQ, bitsandbytes), kernel-level optimizations (AVX-512, ARM NEON), and purpose-built inference engines have made local LLM inference practical, private, and increasingly fast.
This guide compares the 10 most important tools in the CPU/edge inference space as of August 2026. Whether you're running on a MacBook, a Raspberry Pi, a budget gaming PC, or a cloud VM, there's a tool here that fits your hardware.
Key trends in 2026: MoE (Mixture of Experts) models are now the dominant architecture for local inference — they offer dramatically better throughput per parameter. GGUF is the universal format. Apple Silicon's unified memory makes it the best consumer hardware for local LLMs. And the gap between "cloud" and "local" quality has nearly closed for models up to 70B parameters.
All 10 tools ranked by GitHub stars, with key specs at a glance.
| # | Tool | Stars | Category | Best For | Key Feature |
|---|---|---|---|---|---|
| 1 | Ollama ollama/ollama | ~110K ⭐ | Runner | Easiest local LLM experience | One-command model download + run; built-in library; macOS/Linux/Windows |
| 2 | llama.cpp ggml-org/llama.cpp | ~75K ⭐ | Engine | CPU-first inference, any hardware | GGUF format inventor; AVX-512/NEON/Vulkan/ROCm backends; maximal model support |
| 3 | LocalAI mudler/LocalAI | ~30K ⭐ | API Server | OpenAI API-compatible local server | Drop-in OpenAI replacement; multi-model; vision, TTS, embeddings |
| 4 | LM Studio lmstudio-ai | — GH | GUI | Visual model browsing & chat | Beautiful GUI; HuggingFace Browse; in-app server; macOS/Windows |
| 5 | MLX ml-explore/mlx | ~20K ⭐ | Framework | Apple Silicon optimization | Apple's own framework; unified memory aware; Python + C++; LoRA fine-tuning |
| 6 | llamafile mozilla-ai/llamafile | ~20K ⭐ | Single-File | Zero-dependency model execution | Single executable = model + runtime; works on 6 OSes; no install required |
| 7 | AirLLM lyogavin/airllm | ~5K ⭐ | Python | Low-VRAM GPU inference |