LocalAI
One OpenAI-compatible server for text, speech, image and video models
LocalAI is a Go server on port 8080 with OpenAI, Anthropic, ElevenLabs and Ollama-compatible APIs for text, vision, speech, image and video. Backends (llama.cpp, vLLM, SGLang, whisper.cpp, diffusers, MLX, 60+ total) ship as separate OCI images pulled on demand; containers exist for CPU, CUDA, ROCm, Intel and Vulkan. It adds API keys, quotas and OIDC, agents with MCP, and a PostgreSQL/NATS distributed mode.
Strengths
- Small core; 60+ backends installed on demand as OCI images
- OpenAI, Anthropic, ElevenLabs and Ollama API compatibility in one server
- Multi-user: API keys, per-user quotas, role-based access, OIDC
- Container images for CPU, CUDA 12/13, ROCm, Intel oneAPI, Vulkan, Jetson
Weaknesses
- First model load pulls backend images; needs network and disk space
- macOS DMG is unsigned and needs quarantine removal
- Distributed mode requires PostgreSQL and NATS
- Very wide scope (agents, biometrics, video) increases configuration surface
- GPU optional
- Docker + Compose
- Needs PostgreSQL and NATS (distributed mode only)
- Models: GGUF via llama.cpp, vLLM, SGLang, transformers, MLX, diffusers, whisper.cpp backends, models from gallery, Hugging Face, Ollama registry, OCI images, YAML
- port 8080