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.
Overview
LocalAI is an open-source AI engine that runs open models on your own machines. It covers text and vision chat, speech to text, text to speech, image and video generation, music and sound generation, embeddings and reranking. The API follows the OpenAI and Anthropic formats, with ElevenLabs-compatible text to speech and sound generation, so existing clients only need a changed base URL.
Beyond the API, LocalAI includes a web interface with chats, saved agents that use tools, MCP servers, skills and files, and Knowledge collections that search documents by meaning. Projects group chats, files, notes and agents around one piece of work. For teams, it offers users, roles, quotas and shared folders. An admin can install add-ons such as Office (generating Word, Excel, PowerPoint and PDF files), a Sandbox that runs Python with no network by default, Tables, mail and calendar.
It supports more than 80 backends, including llama.cpp, vLLM and transformers, and the team wrote 18 of them as native C, C++ and GGML engines. Each backend is a separate image that downloads only when a model needs it. Models come from a gallery or Hugging Face. Hardware support covers NVIDIA, AMD, Intel, Apple Silicon, Vulkan, NVIDIA Jetson and plain CPU.
You can install it with a script, a Docker container, Kubernetes with a Helm chart, or a desktop app for macOS and Linux. A distributed mode, using PostgreSQL and NATS, spreads models over several machines, and P2P is also supported. Operations features include API key authentication, user quotas and a built-in benchmark command.
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
- Team users, roles and quotas
- Distributed mode and P2P
Use cases
- Replacing a hosted OpenAI-style API with local models
- Running a private team AI workspace
- Local speech transcription and text to speech
- Generating images, video and music on own hardware
- Serving models across several machines
Does the same job as
LocalAI doesn't name these products itself, but its own description shows it does the same job.