LocalAI
Open-source AI engine — run any model (LLM, vision, voice, image, video) on any hardware, no GPU required
Overview
Requirements
Recommended VPS
Hetzner · CX22
2 vCPU · 4096 MB · 40 GB
Hetzner · CX22
2 vCPU · 4096 MB · 40 GB
Hetzner · CX22
2 vCPU · 4096 MB · 40 GB
Affiliate disclosure
Docker Compose
# Generated by Run This Ai — docker-compose.yml
services:
localai:
image: localai/localai:latest
restart: unless-stopped
ports:
- 8080:8080
volumes:
- ./data/localai:/data
LocalAI — Faq

LocalAI
LocalAI is an open-source AI engine that lets you run any model — LLMs, vision, voice, image, and video — on any hardware without requiring a GPU. It uses a small, composable core where each backend wraps a best-in-class engine in its own OCI image. It provides drop-in API compatibility with OpenAI, Anthropic, and ElevenLabs, supports multi-user auth/quotas, and includes built-in AI agents with tool use, RAG, and MCP.
Is LocalAI free to self-host?
Yes — it is open source and runs on your own hardware.
Does LocalAI need a lot of resources?
A server with 1–2GB RAM is enough for most workloads.
How do I deploy LocalAI?
Easiest via Docker — see the installation guide for commands.
Where does my data go?
Nowhere — everything is processed locally on your server.
LocalAI — Alt

LocalAI
LocalAI is an open-source AI engine that lets you run any model — LLMs, vision, voice, image, and video — on any hardware without requiring a GPU. It uses a small, composable core where each backend wraps a best-in-class engine in its own OCI image. It provides drop-in API compatibility with OpenAI, Anthropic, and ElevenLabs, supports multi-user auth/quotas, and includes built-in AI agents with tool use, RAG, and MCP.
Alternatives to LocalAI
If LocalAI isn't quite right, these are common self-hosted alternatives in the same category:
| Tool | Strengths |
|---|---|
| — | Browse the directory for more options |
LocalAI — Review

LocalAI
LocalAI is an open-source AI engine that lets you run any model — LLMs, vision, voice, image, and video — on any hardware without requiring a GPU. It uses a small, composable core where each backend wraps a best-in-class engine in its own OCI image. It provides drop-in API compatibility with OpenAI, Anthropic, and ElevenLabs, supports multi-user auth/quotas, and includes built-in AI agents with tool use, RAG, and MCP.
Strengths
- Full self-hosted control over your data
- Straightforward Docker-based deployment
- Open-source license
Weaknesses
- Initial setup requires Docker familiarity
- You are responsible for maintenance and updates
- Resource needs can grow under heavy load
Verdict
LocalAI is a solid self-hosted choice — its strengths outweigh the usual maintenance overhead.
LocalAI — Install

LocalAI
LocalAI is an open-source AI engine that lets you run any model — LLMs, vision, voice, image, and video — on any hardware without requiring a GPU. It uses a small, composable core where each backend wraps a best-in-class engine in its own OCI image. It provides drop-in API compatibility with OpenAI, Anthropic, and ElevenLabs, supports multi-user auth/quotas, and includes built-in AI agents with tool use, RAG, and MCP.
Prerequisites
- Docker installed (version 24.0+)
- Docker Compose (version 2.20+)
- At least 1GB RAM (2GB recommended)
Quick start with Docker
# Pull the image
docker pull localai/localai:latest
# Run the container
docker run -d --name localai -p 8080:8080 localai/localai:latest
Key features
- Self-hosted and open source
- Docker-based deployment
- License: MIT
- Repository: https://github.com/mudler/LocalAI
- Docker image:
localai/localai:latest
LocalAI — Overview

LocalAI
LocalAI is an open-source AI engine that lets you run any model — LLMs, vision, voice, image, and video — on any hardware without requiring a GPU. It uses a small, composable core where each backend wraps a best-in-class engine in its own OCI image. It provides drop-in API compatibility with OpenAI, Anthropic, and ElevenLabs, supports multi-user auth/quotas, and includes built-in AI agents with tool use, RAG, and MCP.
Key features
- Self-hosted and open source
- Docker-based deployment
- License: MIT
- Repository: https://github.com/mudler/LocalAI
- Docker image:
localai/localai:latest
What it's good for
LocalAI runs entirely on your own infrastructure — your data never leaves your server.
Related tools
Ollama
Run large language models locally
Lobe Chat
Extensible, open-source ChatGPT alternative with plugins, knowledge base, and multi-LLM support
Open WebUI
User-friendly WebUI for LLMs (Ollama, OpenAI API)
llama.cpp
LLM inference in C/C++
text-generation-webui
Run local LLMs with a powerful web interface — text, vision, tool-calling, and OpenAI-compatible API
SGLang
High-performance serving framework for LLMs with RadixAttention