LocalAISelf-hosted OpenAI-compatible server for running open AI models locally
Selfhost AIOne-command Docker AI homelab installer with HTTPS
LocalAI vs Selfhost AI
How LocalAI and Selfhost AI compare on popularity, activity, license and platforms: two open-source Machine Learning Infrastructure projects, both alternatives to ChatGPT.
At a glance
- LocalAI has more GitHub stars (50.6k vs 965, about 52× as many).
- LocalAI was updated more recently (last commit today, Selfhost AI 1 month ago).
- LocalAI uses MIT; Selfhost AI uses Apache-2.0 (both permissive).
- Both can be self-hosted.
- LocalAI is the older project (repository started 2023; Selfhost AI in 2025).
Side by side
| LocalAI | Selfhost AI | |
|---|---|---|
| GitHub stars | ★ 50,586 | ★ 965 |
| Forks | 4,654 | 238 |
| Last commit | today | 1 month ago |
| Latest version | v5.0.1 | v1.18.2 |
| Repository started | March 2023 | May 2025 |
| License | MIT · permissive | Apache-2.0 · permissive |
| Self-hosted | Yes | Yes |
| Platforms | Linux, macOS, Windows, Docker, CLI, Web | Docker, Linux |
| Main language | Go | Shell |
| Alternative to | Anthropic API, ChatGPT, Gemini, OpenAI API | ChatGPT, Make, Zapier |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 27 November 2026.
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
Selfhost AI
Selfhost AI deploys a pick-and-choose stack of open AI and automation tools—n8n, Ollama, Open WebUI, agents, vector DBs, Supabase, ComfyUI, and monitoring—behind Caddy on your VPS.
Key features
- Interactive install wizard
- 30+ optional AI services
- Caddy automatic HTTPS
- Generated secrets and env files
- Grafana and Prometheus monitoring
- Local LLMs via Ollama