LocalAI (mudler/LocalAI)

Searching Database…

What is this?LocalAI is an open-source, self-hosted AI engine that lets you run LLMs, vision, voice, image and video models on your own hardware, including CPU-only setups, through an OpenAI/Anthropic/ElevenLabs-compatible API.
Is this one big bundled server or something more modular?It has a small core, and each backend (llama.cpp, vLLM, whisper.cpp, stable-diffusion, MLX, etc.) ships as its own OCI image that gets pulled on demand from the Backend Gallery, so you only install what a given model needs.
How do I get it running?On macOS, download the DMG and after installing run 'sudo xattr -d com.apple.quarantine /Applications/LocalAI.app' since it is unsigned; elsewhere, run it as a Docker/podman container (CPU-only, NVIDIA, AMD ROCm, Intel oneAPI, or Vulkan images) and then load models from the gallery.
Any install pitfalls I should know about?The macOS DMG is not signed by Apple, so you have to manually clear the quarantine flag on the app after installing before macOS will let it run.
Can multiple people share one LocalAI instance?Yes, it is built to be multi-user ready with API key authentication, per-user quotas, and role-based access control.
Where does my data go when I use the built-in agents?LocalAI is designed privacy-first: all inference and agent data stays on your own infrastructure and never leaves it.
Is it a drop-in replacement for the OpenAI API?Yes — LocalAI exposes OpenAI, Anthropic, and ElevenLabs-compatible endpoints across every backend, so clients built for those APIs work against it unchanged.
Can LocalAI scale across multiple machines?Yes, it has a Distributed Mode for horizontal scaling (PostgreSQL + NATS, VRAM-aware routing and autoscaling) plus peer-to-peer inferencing for spreading work across machines.
What can the built-in AI agents do?They are autonomous agents with tool use, RAG, MCP integration and skills, with SSE streaming and access to a community Agent Hub.
How many backends does LocalAI support?Over 60 backends, including llama.cpp, vLLM, SGLang, transformers, whisper.cpp, diffusers and MLX, with hardware acceleration for NVIDIA, AMD, Intel, Apple Silicon and Vulkan.
Creator
mudler
Size
267.7 MB
Stars
50.6K
Age
3y
Commits · 90 Days