LocalAI

Run your AI models locally and generate images and audio (alternative to OpenAI and Claude).

GitHub stars
49,498
License
MIT
Latest release
v4.11.0
2 October 2026
Last commit
12 October 2026
Runs on
Docker, Kubernetes

Commits per month, last 12 months

3,558 commits

Replaces

Paid products LocalAI can stand in for.

How to self-host LocalAI

LocalAI runs on Docker and Kubernetes. The project's own install guide is the place to start; most people put it on a small server with Docker and a reverse proxy for HTTPS.

  1. Get a server: a home server, a VPS, or a managed app host.
  2. Install it the way the project's docs describe, usually with Docker Compose.
  3. Put it behind HTTPS and set up backups before you add real data.
  4. Update it regularly. Watch the project's releases.

New to self-hosting? Start with the beginner's guide.

Similar apps

  • Ollama

    Get up and running with Llama 3.3, DeepSeek-R1, Phi-4, Gemma 3, and other large language models.

    183k stars
  • Open-WebUI

    User-friendly AI Interface, supports Ollama, OpenAI API.

    155k stars
  • LobeHub

    Modern design AI chat framework supporting multiple AI providers, one click install MCP Marketplace and Artifacts / Thinking.

    83.2k stars
  • AnythingLLM

    All-in-one desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.

    67k stars
  • LibreChat

    Enhanced ChatGPT-compatible AI chat interface supporting multiple AI providers, with multi-user auth, message search, and plugin support.

    45.6k stars
  • Khoj

    Your AI second brain. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any online or local LLM into your personal, autonomous AI.

    37.7k stars

Guides that cover it

Questions

Is LocalAI free?

Yes. LocalAI is open source under the MIT license, so you can use it without paying for a license. You pay only for the server it runs on.

Can I self-host LocalAI?

Yes. LocalAI runs on Docker and Kubernetes. Follow the install guide in the project's documentation, or use a host that installs it for you.

What does LocalAI replace?

People use LocalAI instead of OpenAI API.

Is LocalAI still maintained?

The last change to LocalAI's code was on 12 October 2026, with 3558 commits in the last 12 months.

Topics

Generative Artificial Intelligence (GenAI)

App data from awesome-selfhosted (CC BY-SA 3.0), stars and activity from GitHub.