
LocalAI
FreeOpen-source runtime for running LLM, vision, voice, image, video, and agent workloads locally.

About LocalAI
LocalAI is an open-source, MIT-licensed AI runtime for running language, vision, voice, image, video, 3D, and agent workloads on local hardware. It provides an OpenAI-compatible API and also supports Anthropic, Ollama, and ElevenLabs-compatible APIs, allowing existing clients to connect with a URL change.
LocalAI supports CPU execution, with optional GPU acceleration, interchangeable inference backends, real-time audio, model serving, and distributed deployments across multiple machines. It is available for macOS, Linux, Docker, Podman, and Kubernetes. Models and backends run on the user’s infrastructure, so deployment and data-handling responsibilities remain with the operator.
Key Features
- OpenAI-compatible API for local model serving
- Support for Anthropic, Ollama, and ElevenLabs-compatible APIs
- Text, vision, voice, image, video, 3D, and agent workloads
- CPU-first execution with support for CUDA, ROCm, SYCL, Metal, and Vulkan
- Interchangeable inference backends, including llama.cpp, vLLM, SGLang, and MLX
- Distributed deployment with routing, autoscaling, failover, and VRAM-aware placement
Use Cases
- Running LLMs and multimodal models on local or on-premises hardware
- Replacing cloud API endpoints in existing AI applications
- Building private chat, RAG, and agent applications
- Serving speech recognition, diarization, text-to-speech, and real-time voice workflows
- Deploying AI workloads across mixed CPU and GPU infrastructure
- Testing and operating open-source models through a unified API
Frequently Asked Questions
No. LocalAI provides CPU execution paths, although compatible GPUs can accelerate workloads.
LocalAI provides an OpenAI-compatible API and supports Anthropic, Ollama, and ElevenLabs-compatible APIs.
The official site lists llama.cpp, vLLM, SGLang, and MLX among its interchangeable backends. The available backend depends on the model and deployment.
Yes. The runtime supports text, vision, voice, image, video, 3D, and agent workloads.
Yes. Distributed mode includes routing, VRAM-aware placement, autoscaling, prefix-cache affinity, and failover.
The official site provides installation options for macOS, Linux, Docker, Podman, and Kubernetes.
LocalAI is open source and MIT licensed. Infrastructure, hardware, and any separately licensed models or services remain the operator’s responsibility.
LocalAI is designed to run models on the user’s hardware. Whether data leaves the deployment depends on the operator’s configuration, connected applications, models, and infrastructure.
Discover your next favorite AI tool
Get handpicked AI tools, fresh launches, and practical insights delivered to your inbox.