LocalAI

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

GitHub stars
50,442
License
MIT
Latest release
v5.0.0
18 November 2026
Last commit
18 November 2026
Runs on
Docker, Kubernetes

Commits per month, last 12 months

5,092 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.

    188k stars
  • Open-WebUI

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

    159k stars
  • LobeHub

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

    85.8k stars
  • AnythingLLM

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

    68.4k stars
  • LibreChat

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

    47.3k stars
  • Vane

    AI-powered search engine (alternative to Perplexity AI).

    38.3k 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 18 November 2026, with 5092 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.