About
Open-source AI engine with OpenAI-compatible APIs. Open-source alternative to OpenAI API.
Catalogue
No. 194
Category
AI
GitHub stars
★ 50.7k+496 this month
Last commit
Page updated
LocalAI website

Overview

LocalAI is an open-source AI engine that runs any model, including LLMs, vision, voice, image and video, on any hardware, with no GPU required. It offers drop-in compatible OpenAI, Anthropic and ElevenLabs APIs, so existing apps can switch to your own infrastructure.

What it does well

LocalAI wraps engines such as llama.cpp, vLLM, whisper.cpp and stable-diffusion as separate backends, pulled only when a model needs them. It runs on NVIDIA, AMD, Intel, Apple Silicon, Vulkan or CPU only, and includes API keys, user quotas, role-based access and built-in agents with tools, RAG and MCP.

Why it’s in the collection

LocalAI is the simplest way to point apps built for the OpenAI API at models you host yourself. It is MIT-licensed.

Is LocalAI open source?

Yes. LocalAI is open source under the MIT license, so you can read, change and host the code yourself. MIT license text.

How to run it

Run it with Docker, then open localhost:8080 and install a model:

docker run -ti --name local-ai -p 8080:8080 localai/localai:latest

From the project’s own README. Official install guide

On GitHub

Stars
50,714
+496 in 30 days
Forks
4,675
Commits
11,690
Latest
Repository
mudler/LocalAI

Languages

  • Go 67.3%
  • JavaScript 14.9%
  • C++ 4.5%
  • Python 4.3%
  • Other 9%

Compared with