An open-source AI engine for running LLMs, vision, voice, image, and video models on local hardware.
LocalAI is an open-source AI engine that allows users to run large language models, vision, voice, image, and video models on local hardware. It functions as a server that provides a unified API for various generative AI modalities, supporting deployments via Docker, Podman, or as a native macOS application. The software is designed to operate on a wide variety of hardware configurations, including CPU-only setups, meaning a dedicated GPU is not required for basic operation.
The software employs a modular architecture where backends are separate and pulled on demand via OCI images. This design ensures that only the necessary engines, such as llama.cpp, vLLM, or whisper.cpp, are installed based on the specific model requirements. Users can load models from various sources, including the LocalAI model gallery, Hugging Face, and the Ollama OCI registry, ensuring a flexible workflow for model deployment.
The system is built for privacy and infrastructure independence, ensuring data remains on the local host. It integrates various specialized engines for tasks such as speaker recognition, face detection, and open-vocabulary object detection. The architecture supports distributed inference and VRAM-aware routing for managing clusters of hardware, while the inclusion of a visual pipeline editor and in-UI fine-tuning tools allows for more advanced model customization.
LocalAI serves as a self-hosted gateway for deploying a wide range of generative AI models across diverse hardware environments, providing a centralized control tower for local AI orchestration.
Route requests to over 1,600 language, vision, audio, and image models through a unified API interface.
A smart model router that connects AI agents to multiple providers through a single OpenAI-compatible endpoint.
Join our newsletter to get shiny new open source software delivered to your inbox. Unsubscribe anytime.