llamafileSingle-file local LLM and speech executables
LocalAISelf-hosted OpenAI-compatible server for running open AI models locally
llamafile vs LocalAI
How llamafile and LocalAI compare on popularity, activity, license and platforms: two open-source Machine Learning Infrastructure projects, both alternatives to LM Studio.
At a glance
- LocalAI has more GitHub stars (50.7k vs 26.8k).
- Both are actively maintained (last commits 2 days ago and today).
- llamafile uses Apache-2.0; LocalAI uses MIT (both permissive).
- LocalAI can be self-hosted.
Side by side
| llamafile | LocalAI | |
|---|---|---|
| GitHub stars | ★ 26,775 +40 in 7 days | ★ 50,685 +162 in 10 days |
| Forks | 1,686 | 4,670 |
| Last commit | 2 days ago | today |
| Latest version | 0.10.6 | v5.1.1 |
| Repository started | September 2023 | March 2023 |
| License | Apache-2.0 · permissive | MIT · permissive |
| Self-hosted | Desktop/CLI app | Yes |
| Platforms | Linux, macOS, Windows | Web, Linux, macOS, Docker, CLI |
| Main language | C++ | Go |
| Alternative to | LM Studio | Anthropic API, ChatGPT, LM Studio, OpenAI API, OpenRouter |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 4 December 2026.
llamafile
llamafile bundles llama.cpp and Cosmopolitan into one executable to run open LLMs locally without installation; whisperfile adds speech-to-text the same way.
Key features
- Single-file LLM executables
- No install local inference
- Embedded or external GGUF weights
- Cross-OS Cosmopolitan packaging
- AMD64 and ARM64 builds
- whisperfile speech-to-text
LocalAI
LocalAI runs open models for chat, images, speech, video and music on your own hardware, with OpenAI- and Anthropic-compatible APIs. It works on CPU or GPU and adds team chats, files, agents and add-ons.
Key features
- OpenAI, Anthropic and ElevenLabs compatible API
- Text, vision, speech, image, video and music models
- More than 80 backends
- Model and backend gallery
- Agents with tools, MCP and skills
- Projects, files and Knowledge collections